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 "hardware_google_gfxstream_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["hardware_google_gfxstream_license"],
8}
9
10cc_library_static {
11    name: "libgfxstream_host_vulkan_cereal",
12    defaults: ["gfxstream_defaults"],
13    static_libs: [
14        "gfxstream_base",
15        "libgfxstream_host_features",
16    ],
17    srcs: [
18        "common/goldfish_vk_extension_structs.cpp",
19        "common/goldfish_vk_marshaling.cpp",
20        "common/goldfish_vk_reserved_marshaling.cpp",
21        "common/goldfish_vk_deepcopy.cpp",
22        "common/goldfish_vk_dispatch.cpp",
23        "common/goldfish_vk_transform.cpp",
24    ],
25    header_libs: [
26        "libgfxstream_vulkan_headers",
27        "libgfxstream_host_vulkan_cereal_common",
28    ],
29    export_header_lib_headers: [
30        "libgfxstream_vulkan_headers",
31    ],
32    cflags: [
33        "-DVK_ANDROID_native_buffer",
34        "-DVK_GOOGLE_address_space",
35    ],
36    export_include_dirs: ["."],
37}
38