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 "frameworks_native_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["frameworks_native_license"],
8}
9
10cc_library_shared {
11    name: "libvkjson",
12    srcs: [
13        "vkjson.cc",
14        "vkjson_instance.cc",
15    ],
16    cflags: [
17        "-Wall",
18        "-Werror",
19        "-Wimplicit-fallthrough",
20    ],
21    cppflags: [
22        "-Wno-sign-compare",
23    ],
24    export_include_dirs: [
25        ".",
26    ],
27    shared_libs: [
28        "libvulkan",
29    ],
30    whole_static_libs: [
31        "libjsoncpp",
32    ],
33    export_shared_lib_headers: [
34        "libvulkan",
35    ],
36}
37
38cc_library_static {
39    name: "libvkjson_ndk",
40    clang: true,
41    srcs: [
42        "vkjson.cc",
43        "vkjson_instance.cc",
44    ],
45    cflags: [
46        "-Wall",
47        "-Werror",
48        "-Wimplicit-fallthrough",
49    ],
50    cppflags: [
51        "-Wno-sign-compare",
52    ],
53    export_include_dirs: [
54        ".",
55    ],
56    whole_static_libs: [
57        "libjsoncpp_ndk",
58    ],
59    header_libs: [
60        "vulkan_headers",
61    ],
62    sdk_version: "24",
63    stl: "libc++_static",
64}
65