Robin Peng | c2b5ca9 | 2021-02-23 20:00:28 +0800 | [diff] [blame] | 1 | soong_namespace { |
| 2 | imports: [ |
| 3 | "hardware/google/interfaces", |
| 4 | "hardware/google/pixel", |
| 5 | ], |
| 6 | } |
| 7 | |
| 8 | package { |
| 9 | default_applicable_licenses: ["device_google_gs101_license"], |
| 10 | } |
| 11 | |
| 12 | // Added automatically by a large-scale-change that took the approach of |
| 13 | // 'apply every license found to every target'. While this makes sure we respect |
| 14 | // every license restriction, it may not be entirely correct. |
| 15 | // |
| 16 | // e.g. GPL in an MIT project might only apply to the contrib/ directory. |
| 17 | // |
| 18 | // Please consider splitting the single license below into multiple licenses, |
| 19 | // taking care not to lose any license_kind information, and overriding the |
| 20 | // default license using the 'licenses: [...]' property on targets as needed. |
| 21 | // |
| 22 | // For unused files, consider creating a 'fileGroup' with "//visibility:private" |
| 23 | // to attach the license to, and including a comment whether the files may be |
| 24 | // used in the current project. |
| 25 | // See: http://go/android-license-faq |
| 26 | license { |
| 27 | name: "device_google_gs101_license", |
| 28 | visibility: [":__subpackages__"], |
| 29 | license_kinds: [ |
| 30 | "SPDX-license-identifier-Apache-2.0", |
| 31 | "SPDX-license-identifier-BSD", |
| 32 | ], |
| 33 | license_text: [ |
| 34 | "NOTICE", |
| 35 | ], |
| 36 | } |
Cynthia Wasonga | decaece | 2022-12-19 14:43:56 +0000 | [diff] [blame^] | 37 | |
| 38 | prebuilt_etc { |
| 39 | name: "preinstalled-packages-product-gs101-device-debug.xml", |
| 40 | src: "preinstalled-packages-product-gs101-device-debug.xml", |
| 41 | product_specific: true, |
| 42 | sub_dir: "sysconfig", |
| 43 | filename_from_src: true, |
| 44 | } |