1package { 2 default_applicable_licenses: ["prebuilts_ndk_license"], 3} 4 5// Added automatically by a large-scale-change that took the approach of 6// 'apply every license found to every target'. While this makes sure we respect 7// every license restriction, it may not be entirely correct. 8// 9// e.g. GPL in an MIT project might only apply to the contrib/ directory. 10// 11// Please consider splitting the single license below into multiple licenses, 12// taking care not to lose any license_kind information, and overriding the 13// default license using the 'licenses: [...]' property on targets as needed. 14// 15// For unused files, consider creating a 'fileGroup' with "//visibility:private" 16// to attach the license to, and including a comment whether the files may be 17// used in the current project. 18// See: http://go/android-license-faq 19license { 20 name: "prebuilts_ndk_license", 21 visibility: [":__subpackages__"], 22 license_kinds: [ 23 "SPDX-license-identifier-Apache-2.0", 24 "SPDX-license-identifier-BSD", 25 "SPDX-license-identifier-ISC", 26 "SPDX-license-identifier-MIT", 27 "SPDX-license-identifier-NCSA", 28 ], 29 license_text: [ 30 "NOTICE", 31 ], 32} 33 34cc_library_static { 35 name: "android_native_app_glue", 36 srcs: ["current/sources/android/native_app_glue/android_native_app_glue.c"], 37 cflags: ["-Wall", "-Werror", "-Wno-unused-parameter"], 38 sdk_version: "minimum", 39 sdk_variant_only: true, 40 export_include_dirs: ["current/sources/android/native_app_glue"], 41} 42 43cc_library_static { 44 name: "cpufeatures", 45 vendor_available: true, 46 native_bridge_supported: true, 47 srcs: ["current/sources/android/cpufeatures/cpu-features.c"], 48 cflags: ["-Wall", "-Werror"], 49 sdk_version: "minimum", 50 export_include_dirs: ["current/sources/android/cpufeatures"], 51} 52 53// A module that encapsulates the header files of NDK System STL 54cc_library_headers { 55 name: "ndk_system", 56 sdk_version: "minimum", 57 sdk_variant_only: true, 58 stl: "none", 59 export_system_include_dirs: ["current/sources/cxx-stl/system/include"], 60 // the headers are available to both the platform and anyapex. 61 // this availability is required to compile jni deps of any android_app in these api domains. 62 apex_available: [ 63 "//apex_available:anyapex", 64 "//apex_available:platform", 65 ], 66} 67