Bob Badour | 92ecf7c | 2021-02-12 18:05:29 -0800 | [diff] [blame] | 1 | package { |
Etienne Ruffieux | 917abc3 | 2022-02-28 14:07:17 +0000 | [diff] [blame] | 2 | default_visibility: [":__subpackages__"], |
Bob Badour | 92ecf7c | 2021-02-12 18:05:29 -0800 | [diff] [blame] | 3 | default_applicable_licenses: ["system_bt_license"], |
| 4 | } |
| 5 | |
| 6 | // Added automatically by a large-scale-change that took the approach of |
| 7 | // 'apply every license found to every target'. While this makes sure we respect |
| 8 | // every license restriction, it may not be entirely correct. |
| 9 | // |
| 10 | // e.g. GPL in an MIT project might only apply to the contrib/ directory. |
| 11 | // |
| 12 | // Please consider splitting the single license below into multiple licenses, |
| 13 | // taking care not to lose any license_kind information, and overriding the |
| 14 | // default license using the 'licenses: [...]' property on targets as needed. |
| 15 | // |
| 16 | // For unused files, consider creating a 'fileGroup' with "//visibility:private" |
| 17 | // to attach the license to, and including a comment whether the files may be |
| 18 | // used in the current project. |
| 19 | // See: http://go/android-license-faq |
| 20 | license { |
| 21 | name: "system_bt_license", |
| 22 | visibility: [":__subpackages__"], |
| 23 | license_kinds: [ |
| 24 | "SPDX-license-identifier-Apache-2.0", |
| 25 | "SPDX-license-identifier-BSD", |
| 26 | "SPDX-license-identifier-MIT", |
| 27 | "legacy_unencumbered", |
| 28 | ], |
| 29 | license_text: [ |
| 30 | "NOTICE", |
| 31 | ], |
| 32 | } |
| 33 | |
Jack He | 65b2a57 | 2016-12-07 18:25:17 -0800 | [diff] [blame] | 34 | subdirs = [ |
Zach Johnson | 7f1c87e | 2019-11-09 18:24:47 -0800 | [diff] [blame] | 35 | "apex", |
Jakub Pawlowski | 3b10c39 | 2017-08-08 04:00:13 -0700 | [diff] [blame] | 36 | "binder", |
Jack He | 65b2a57 | 2016-12-07 18:25:17 -0800 | [diff] [blame] | 37 | "build", |
| 38 | "btif", |
| 39 | "btcore", |
Jack He | 0ac5b1b | 2018-07-25 12:02:22 -0700 | [diff] [blame] | 40 | "common", |
Jack He | 65b2a57 | 2016-12-07 18:25:17 -0800 | [diff] [blame] | 41 | "audio_a2dp_hw", |
Cheney Ni | b9a84c2 | 2018-11-07 08:41:55 +0800 | [diff] [blame] | 42 | "audio_bluetooth_hw", |
Cheney Ni | 68ce281 | 2018-11-08 16:41:02 +0800 | [diff] [blame] | 43 | "audio_hal_interface", |
Jakub Pawlowski | e45f3c1 | 2018-03-06 16:31:41 -0800 | [diff] [blame] | 44 | "audio_hearing_aid_hw", |
Hansong Zhang | a89530f | 2019-03-19 16:17:42 -0700 | [diff] [blame] | 45 | "gd", |
Jack He | 65b2a57 | 2016-12-07 18:25:17 -0800 | [diff] [blame] | 46 | "hci", |
| 47 | "utils", |
| 48 | "device", |
| 49 | "stack", |
| 50 | "osi", |
| 51 | "embdrv", |
| 52 | "service", |
Jakub Pawlowski | 776fb3d | 2017-09-23 14:47:20 -0700 | [diff] [blame] | 53 | "include", |
Jack He | 65b2a57 | 2016-12-07 18:25:17 -0800 | [diff] [blame] | 54 | "main", |
| 55 | "bta", |
| 56 | "vendor_libs", |
| 57 | "test", |
Jakub Pawlowski | f9f4585 | 2017-07-03 15:39:36 -0700 | [diff] [blame] | 58 | "types", |
Jack He | 65b2a57 | 2016-12-07 18:25:17 -0800 | [diff] [blame] | 59 | "udrv", |
Jack He | 4e452ba | 2017-05-17 22:26:05 -0700 | [diff] [blame] | 60 | "tools", |
Jack He | 9a30a9f | 2018-03-03 00:03:25 -0800 | [diff] [blame] | 61 | "proto", |
Jack He | 65b2a57 | 2016-12-07 18:25:17 -0800 | [diff] [blame] | 62 | ] |
Jack He | cac30a2 | 2018-08-28 18:28:55 -0700 | [diff] [blame] | 63 | |
| 64 | filegroup { |
Colin Cross | 03e29e5 | 2019-05-23 14:12:59 -0700 | [diff] [blame] | 65 | name: "BluetoothTestConfigTemplate", |
| 66 | srcs: [ |
| 67 | "AndroidTestTemplate.xml", |
| 68 | ], |
Jack He | cac30a2 | 2018-08-28 18:28:55 -0700 | [diff] [blame] | 69 | } |