blob: 8b6b539ccecb399324abc64df0f62f201d1b3191 [file] [log] [blame]
// Copyright (C) 2008 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.
package {
default_team: "trendy_team_android_core_graphics_stack",
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_test {
name: "CtsGraphicsTestCases",
defaults: ["cts_defaults"],
compile_multilib: "both",
libs: [
"android.test.runner",
"android.test.base",
],
static_libs: [
"androidx.test.rules",
"mockito-target-minus-junit4",
"compatibility-device-util-axt",
"ctsdeviceutillegacy-axt",
"ctstestrunner-axt",
"androidx.annotation_annotation",
"hamcrest-library",
"junit",
"flag-junit",
"junit-params",
"SurfaceFlingerProperties",
"testng",
"androidx.core_core",
"framework_graphics_flags_java_lib",
"com.android.text.flags-aconfig-java",
],
jni_libs: ["libctsgraphics_jni"],
srcs: [
"src/**/*.kt",
"src/**/*.java",
],
// Tag this module as a cts test artifact
test_suites: [
"cts",
"general-tests",
],
// Enforce public / test api only
sdk_version: "test_current",
}
android_ravenwood_test {
name: "CtsGraphicsTestCasesRavenwood",
defaults: ["cts_defaults"],
static_libs: [
"androidx.annotation_annotation",
"androidx.test.rules",
],
srcs: [
"src/android/graphics/cts/InsetsTest.java",
"src/android/graphics/cts/PointTest.java",
"src/android/graphics/cts/PointFTest.java",
"src/android/graphics/cts/RectTest.java",
"src/android/graphics/cts/RectFTest.java",
],
auto_gen_config: true,
}