blob: 81d0615e64b55912522e7cebdaba8a61e559df44 [file] [log] [blame]
Bob Badour3306e492021-02-25 15:35:37 -08001package {
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
Dan Albert494ed552016-09-23 15:57:45 -070039ndk_headers {
40 name: "libandroid_headers",
41 from: "include/android",
42 to: "android",
43 srcs: ["include/android/**/*.h"],
Dan Albert96b55092016-10-20 10:14:30 -070044 license: "NOTICE",
Dan Albert494ed552016-09-23 15:57:45 -070045}
46
Dan Willemsen59e086f2016-07-25 17:13:45 -070047subdirs = [
Josh Gaob789fb12019-10-24 19:02:14 -070048 "adbd_auth",
Dan Willemsen59e086f2016-07-25 17:13:45 -070049 "cmds/*",
Jiyong Park55e9bd72017-06-29 14:21:37 +090050 "headers",
Dan Willemsen59e086f2016-07-25 17:13:45 -070051 "libs/*",
Dan Albert49fbff42016-10-03 12:36:00 -070052 "opengl",
Dan Willemsen59e086f2016-07-25 17:13:45 -070053 "services/*",
Dan Albert0fbb5322016-10-04 17:49:33 -070054 "vulkan",
Dan Willemsen59e086f2016-07-25 17:13:45 -070055]
Yifan Hong108287d2017-06-30 17:19:27 -070056
57cc_library_headers {
58 name: "libandroid_sensor_headers",
Devin Moorea529a5a2022-12-01 23:17:17 +000059 vendor_available: true,
60 host_supported: true,
Yifan Hong108287d2017-06-30 17:19:27 -070061 export_include_dirs: ["include_sensor"],
62}
Jiyong Parkd1b83e62019-08-19 14:42:56 +090063
64filegroup {
65 name: "framework_native_aidl_binder",
66 srcs: ["aidl/binder/**/*.aidl"],
67 path: "aidl/binder",
Vinh Tran9ccb8dd2022-08-09 15:38:48 -040068 visibility: [
69 "//frameworks/native",
70 "//frameworks/native/libs/gui",
71 ],
Jiyong Parkd1b83e62019-08-19 14:42:56 +090072}
73
74filegroup {
75 name: "framework_native_aidl_gui",
76 srcs: ["aidl/gui/**/*.aidl"],
77 path: "aidl/gui",
Vinh Tran9ccb8dd2022-08-09 15:38:48 -040078 visibility: [
79 "//frameworks/native",
80 "//frameworks/native/libs/gui",
81 ],
Jiyong Parkd1b83e62019-08-19 14:42:56 +090082}
83
84filegroup {
85 name: "framework_native_aidl",
86 srcs: [
87 ":framework_native_aidl_binder",
88 ":framework_native_aidl_gui",
89 ],
90}
Jorim Jaggif51775d2021-01-14 23:44:15 +010091
Devin Moore33ce3302023-10-20 16:53:08 +000092aidl_library {
93 name: "PersistableBundle_aidl",
94 hdrs: ["aidl/binder/android/os/PersistableBundle.aidl"],
95 strip_import_prefix: "aidl/binder",
96}
97
Vinh Tran9ccb8dd2022-08-09 15:38:48 -040098cc_library_headers {
Jorim Jaggif51775d2021-01-14 23:44:15 +010099 name: "libandroid_headers_private",
100 export_include_dirs: ["include/private"],
Bob Badour3306e492021-02-25 15:35:37 -0800101}
Kriti Danga6daf9f2021-02-25 18:10:46 +0100102
103filegroup {
104 name: "deviceproductinfoconstants_aidl",
105 srcs: ["aidl/android/hardware/display/IDeviceProductInfoConstants.aidl"],
106 path: "aidl",
107}