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_defaults { 11 name: "libvkprofiles_deps", 12 shared_libs: [ 13 "libvulkan", 14 ], 15} 16 17cc_library_static { 18 name: "libvkprofiles", 19 defaults: [ 20 "libvkprofiles_deps", 21 ], 22 srcs: [ 23 "vkprofiles.cpp", 24 "generated/vulkan_profiles.cpp", 25 ], 26 cflags: [ 27 "-Wall", 28 "-Werror", 29 "-Wimplicit-fallthrough", 30 ], 31 cppflags: [ 32 "-Wno-error=unused-parameter", 33 "-Wno-error=missing-braces", 34 "-Wno-sign-compare", 35 ], 36 export_include_dirs: [ 37 ".", 38 ], 39 export_shared_lib_headers: [ 40 "libvulkan", 41 ], 42} 43 44cc_library_static { 45 name: "libvkprofiles_ndk", 46 srcs: [ 47 "vkprofiles.cpp", 48 "generated/vulkan_profiles.cpp", 49 ], 50 cflags: [ 51 "-Wall", 52 "-Werror", 53 "-Wimplicit-fallthrough", 54 ], 55 cppflags: [ 56 "-Wno-error=unused-parameter", 57 "-Wno-error=missing-braces", 58 "-Wno-sign-compare", 59 ], 60 export_include_dirs: [ 61 ".", 62 ], 63 header_libs: [ 64 "vulkan_headers", 65 ], 66 sdk_version: "24", 67 stl: "libc++_static", 68} 69