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 "libjsoncpp", 29 "libvulkan", 30 ], 31 export_shared_lib_headers: [ 32 "libvulkan", 33 ], 34} 35 36cc_library_static { 37 name: "libvkjson_ndk", 38 srcs: [ 39 "vkjson.cc", 40 "vkjson_instance.cc", 41 ], 42 cflags: [ 43 "-Wall", 44 "-Werror", 45 "-Wimplicit-fallthrough", 46 ], 47 cppflags: [ 48 "-Wno-sign-compare", 49 ], 50 export_include_dirs: [ 51 ".", 52 ], 53 whole_static_libs: [ 54 "libjsoncpp_ndk", 55 ], 56 header_libs: [ 57 "vulkan_headers", 58 ], 59 sdk_version: "24", 60 stl: "libc++_static", 61} 62