You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
993 B
45 lines
993 B
package {
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
}
|
|
|
|
android_app {
|
|
name: "DeviceAsWebcam",
|
|
|
|
static_libs: [
|
|
"androidx-constraintlayout_constraintlayout",
|
|
"androidx.appcompat_appcompat",
|
|
"androidx.cardview_cardview",
|
|
"androidx.recyclerview_recyclerview",
|
|
],
|
|
|
|
srcs: ["src/**/*.java"],
|
|
platform_apis: true,
|
|
certificate: "platform",
|
|
privileged: true,
|
|
optimize: {
|
|
proguard_flags_files: ["proguard.flags"],
|
|
},
|
|
jni_libs: [
|
|
"libjni_deviceAsWebcam",
|
|
],
|
|
resource_dirs: [
|
|
"res",
|
|
],
|
|
}
|
|
|
|
genrule {
|
|
name: "camera-webcam-test",
|
|
srcs: [
|
|
"tests/*",
|
|
],
|
|
exclude_srcs: [
|
|
".gitignore",
|
|
"Android.bp",
|
|
"OWNERS",
|
|
],
|
|
tools: ["soong_zip"],
|
|
out: ["camera-webcam-test.zip"],
|
|
cmd: "echo $(locations tests/*) >$(genDir)/list && " +
|
|
"$(location soong_zip) -o $(out) -P android-cts-verifier/CameraWebcamTest -l $(genDir)/list",
|
|
}
|