summaryrefslogtreecommitdiff
path: root/tests/libs-permissions/Android.bp
blob: a8ce8a4cd956350d1901a25def8a40e1f97f40cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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,
}