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: [
13        "gfxstream_defaults",
14        "gfxstream_host_cc_defaults",
15    ],
16    static_libs: [
17        "gfxstream_base",
18        "libgfxstream_host_features",
19    ],
20    srcs: [
21        "common/goldfish_vk_extension_structs.cpp",
22        "common/goldfish_vk_marshaling.cpp",
23        "common/goldfish_vk_reserved_marshaling.cpp",
24        "common/goldfish_vk_deepcopy.cpp",
25        "common/goldfish_vk_dispatch.cpp",
26        "common/goldfish_vk_transform.cpp",
27    ],
28    header_libs: [
29        "libgfxstream_vulkan_headers",
30        "libgfxstream_host_vulkan_cereal_common",
31    ],
32    export_header_lib_headers: [
33        "libgfxstream_vulkan_headers",
34    ],
35    cflags: [
36        "-DVK_ANDROID_native_buffer",
37        "-DVK_GOOGLE_address_space",
38    ],
39    export_include_dirs: ["."],
40}
41