• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "device_generic_vulkan-cereal_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    //   SPDX-license-identifier-MIT
8    default_applicable_licenses: ["device_generic_vulkan-cereal_license"],
9}
10
11cc_library_static {
12    name: "gfxstream_vulkan_server",
13    defaults: [ "gfxstream_defaults" ],
14    static_libs: [
15        "gfxstream_base",
16        "gfxstream_compressedTextures",
17        "gfxstream_apigen_codec_common",
18        "gfxstream_vulkan_cereal_host",
19    ],
20    cflags: [
21        "-fvisibility=hidden",
22        "-Wno-inconsistent-missing-override",
23        "-Wno-unused-value",
24        "-Wno-return-type",
25        "-Wno-return-type-c-linkage",
26        "-Wno-unused-parameter",
27        "-Wno-unused-variable",
28        "-Wno-unused-function",
29        "-Wno-uninitialized",
30        "-Wno-unreachable-code-loop-increment",
31    ],
32    srcs: [
33        "VkAndroidNativeBuffer.cpp",
34        "VkCommonOperations.cpp",
35        "VkDecoder.cpp",
36        "VkDecoderGlobalState.cpp",
37        "VkDecoderSnapshot.cpp",
38        "VkReconstruction.cpp",
39        "VulkanDispatch.cpp",
40        "VulkanHandleMapping.cpp",
41        "VulkanStream.cpp",
42    ],
43    // http://b/178667698 - clang-tidy crashes with
44    // https://android-review.googlesource.com/c/device/generic/vulkan-cereal/+/1560695/
45    tidy: false,
46}
47