blob: 6cb0ceed54398853203ff9d41a3f6799476c02b3 [file] [log] [blame]
// Copyright (C) 2015 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Reusable Camera performance test classes and helpers
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_library {
name: "cts-camera-performance-tests",
static_libs: [
"compatibility-device-util-axt",
"ctstestrunner-axt",
"mockito-target-minus-junit4",
"CtsCameraUtils",
"truth-prebuilt",
"androidx.test.rules",
],
manifest: "AndroidManifest-lib.xml",
resource_dirs: ["res"],
srcs: [
"src/android/hardware/camera2/cts/testcases/Camera2AndroidTestRule.java",
"src/android/hardware/camera2/cts/Camera2SurfaceViewCtsActivity.java",
"src/android/hardware/camera2/cts/testcases/Camera2SurfaceViewTestCase.java",
"src/android/hardware/camera2/cts/PerformanceTest.java",
"src/android/hardware/cts/CameraPerformanceTestHelper.java",
"src/android/hardware/cts/LegacyCameraPerformanceTest.java",
"src/android/hardware/camera2/cts/RecordingTest.java",
],
sdk_version: "test_current",
libs: [
"android.test.runner.stubs",
"android.test.base.stubs",
],
}