| package { |
| // See: http://go/android-license-faq |
| // A large-scale-change added 'default_applicable_licenses' to import |
| // all of the 'license_kinds' from "frameworks_base_license" |
| // to get the below license kinds: |
| // SPDX-license-identifier-Apache-2.0 |
| default_applicable_licenses: ["frameworks_base_license"], |
| } |
| |
| java_library { |
| name: "com.android.test.libs.product", |
| installable: true, |
| product_specific: true, |
| sdk_version: "current", |
| srcs: ["product/java/**/*.java"], |
| required: ["com.android.test.libs.product.xml"], |
| } |
| |
| prebuilt_etc { |
| name: "com.android.test.libs.product.xml", |
| src: "product/com.android.test.libs.product.xml", |
| sub_dir: "permissions", |
| product_specific: true, |
| } |
| |
| java_library { |
| name: "com.android.test.libs.system_ext", |
| installable: true, |
| system_ext_specific: true, |
| srcs: ["system_ext/java/**/*.java"], |
| required: ["com.android.test.libs.system_ext.xml"], |
| } |
| |
| prebuilt_etc { |
| name: "com.android.test.libs.system_ext.xml", |
| src: "system_ext/com.android.test.libs.system_ext.xml", |
| sub_dir: "permissions", |
| system_ext_specific: true, |
| } |