1package { 2 default_applicable_licenses: ["frameworks_native_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// 19// large-scale-change filtered out the below license kinds as false-positives: 20// SPDX-license-identifier-LGPL 21// SPDX-license-identifier-LGPL-2.1 22// SPDX-license-identifier-LGPL-3.0 23// See: http://go/android-license-faq 24license { 25 name: "frameworks_native_license", 26 visibility: [":__subpackages__"], 27 license_kinds: [ 28 "SPDX-license-identifier-Apache-2.0", 29 "SPDX-license-identifier-BSD", 30 "SPDX-license-identifier-MIT", 31 "SPDX-license-identifier-Unicode-DFS", 32 "legacy_notice", 33 ], 34 license_text: [ 35 "NOTICE", 36 ], 37} 38 39ndk_headers { 40 name: "libandroid_headers", 41 from: "include/android", 42 to: "android", 43 srcs: ["include/android/**/*.h"], 44 license: "NOTICE", 45} 46 47subdirs = [ 48 "adbd_auth", 49 "cmds/*", 50 "headers", 51 "libs/*", 52 "opengl", 53 "services/*", 54 "vulkan", 55] 56 57cc_library_headers { 58 name: "libandroid_sensor_headers", 59 vendor: true, 60 export_include_dirs: ["include_sensor"], 61} 62 63filegroup { 64 name: "framework_native_aidl_binder", 65 srcs: ["aidl/binder/**/*.aidl"], 66 path: "aidl/binder", 67 visibility: ["//frameworks/native"], 68} 69 70filegroup { 71 name: "framework_native_aidl_gui", 72 srcs: ["aidl/gui/**/*.aidl"], 73 path: "aidl/gui", 74 visibility: ["//frameworks/native"], 75} 76 77filegroup { 78 name: "framework_native_aidl", 79 srcs: [ 80 ":framework_native_aidl_binder", 81 ":framework_native_aidl_gui", 82 ], 83} 84 85cc_library_headers{ 86 name: "libandroid_headers_private", 87 export_include_dirs: ["include/private"], 88} 89 90filegroup { 91 name: "deviceproductinfoconstants_aidl", 92 srcs: ["aidl/android/hardware/display/IDeviceProductInfoConstants.aidl"], 93 path: "aidl", 94} 95