xref: /aosp_15_r20/cts/tests/tests/virtualdevice/camera/Android.bp (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1// Copyright 2023 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package {
16    default_team: "trendy_team_xr_framework",
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20android_test {
21    name: "CtsVirtualDevicesCameraTestCases",
22    sdk_version: "test_current",
23    defaults: ["cts_defaults"],
24
25    libs: [
26        "android.test.runner.stubs.system",
27        "android.test.base.stubs.system",
28    ],
29
30    static_libs: [
31        "CtsVirtualDeviceCommonLib",
32        "junit-params",
33        "androidx.camera_camera-core",
34        "androidx.camera_camera-viewfinder",
35        "androidx.camera_camera-video",
36        "androidx.camera_camera-camera2",
37        "androidx.camera_camera-lifecycle",
38        "kotlinx-coroutines-android",
39        "androidx.lifecycle_lifecycle-runtime-testing",
40    ],
41
42    jni_libs: ["libvirtualcameratest-jni"],
43
44    // include both the 32 and 64 bit versions
45    compile_multilib: "both",
46
47    srcs: [
48        "src/**/*.java",
49        "src/**/*.kt",
50        ":CameraCtsBitmapUtils",
51    ],
52
53    // Tag this module as a cts test artifact
54    test_suites: [
55        "cts",
56        "general-tests",
57    ],
58
59    per_testcase_directory: true,
60}
61