1// Copyright (C) 2015 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 15// Reusable Camera performance test classes and helpers 16package { 17 default_applicable_licenses: ["Android-Apache-2.0"], 18} 19 20android_library { 21 name: "cts-camera-performance-tests", 22 23 static_libs: [ 24 "compatibility-device-util-axt", 25 "ctstestrunner-axt", 26 "mockito-target-minus-junit4", 27 "CtsCameraUtils", 28 "truth-prebuilt", 29 "androidx.test.rules", 30 ], 31 32 manifest: "AndroidManifest-lib.xml", 33 resource_dirs: ["res"], 34 srcs: [ 35 "src/android/hardware/camera2/cts/testcases/Camera2AndroidTestRule.java", 36 "src/android/hardware/camera2/cts/Camera2SurfaceViewCtsActivity.java", 37 "src/android/hardware/camera2/cts/testcases/Camera2SurfaceViewTestCase.java", 38 "src/android/hardware/camera2/cts/PerformanceTest.java", 39 "src/android/hardware/cts/CameraPerformanceTestHelper.java", 40 "src/android/hardware/cts/LegacyCameraPerformanceTest.java", 41 "src/android/hardware/camera2/cts/RecordingTest.java", 42 ], 43 44 sdk_version: "test_current", 45 46 libs: [ 47 "android.test.runner.stubs", 48 "android.test.base.stubs", 49 ], 50} 51