blob: b6d3a0b45f7a6bd887d097b4def1a9205871968a [file] [log] [blame]
Bob Badour3c538232021-02-12 21:26:48 -08001package {
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
Yiwei Zhang5de3ce62019-11-26 11:06:18 -080010cc_library_shared {
Yiwei Zhangf9a57e62018-04-05 00:17:22 -070011 name: "libvkjson",
12 srcs: [
13 "vkjson.cc",
14 "vkjson_instance.cc",
15 ],
16 cflags: [
17 "-Wall",
18 "-Werror",
Yiwei Zhang59b492c2018-10-11 16:26:51 -070019 "-Wimplicit-fallthrough",
Yiwei Zhangf9a57e62018-04-05 00:17:22 -070020 ],
21 cppflags: [
Yiwei Zhangf9a57e62018-04-05 00:17:22 -070022 "-Wno-sign-compare",
23 ],
24 export_include_dirs: [
25 ".",
26 ],
Yiwei Zhang5de3ce62019-11-26 11:06:18 -080027 shared_libs: [
28 "libvulkan",
29 ],
Yiwei Zhangf9a57e62018-04-05 00:17:22 -070030 whole_static_libs: [
Yiwei Zhangef64b2a2018-04-05 13:44:03 -070031 "libjsoncpp",
Yiwei Zhangf9a57e62018-04-05 00:17:22 -070032 ],
Yiwei Zhang5de3ce62019-11-26 11:06:18 -080033 export_shared_lib_headers: [
34 "libvulkan",
Yiwei Zhangf9a57e62018-04-05 00:17:22 -070035 ],
36}
37
38cc_library_static {
39 name: "libvkjson_ndk",
Yiwei Zhangf9a57e62018-04-05 00:17:22 -070040 srcs: [
41 "vkjson.cc",
42 "vkjson_instance.cc",
43 ],
44 cflags: [
45 "-Wall",
46 "-Werror",
Yiwei Zhang59b492c2018-10-11 16:26:51 -070047 "-Wimplicit-fallthrough",
Yiwei Zhangf9a57e62018-04-05 00:17:22 -070048 ],
49 cppflags: [
Yiwei Zhangf9a57e62018-04-05 00:17:22 -070050 "-Wno-sign-compare",
51 ],
52 export_include_dirs: [
53 ".",
54 ],
55 whole_static_libs: [
Yiwei Zhangef64b2a2018-04-05 13:44:03 -070056 "libjsoncpp_ndk",
Yiwei Zhangf9a57e62018-04-05 00:17:22 -070057 ],
58 header_libs: [
Jesse Halla33b3a52019-04-12 15:39:16 -070059 "vulkan_headers",
Yiwei Zhangf9a57e62018-04-05 00:17:22 -070060 ],
61 sdk_version: "24",
62 stl: "libc++_static",
63}