1// Copyright (C) 2012 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_applicable_licenses: ["Android-Apache-2.0"],
17}
18
19java_test_helper_library {
20    name: "cts-opengl-util",
21
22    srcs: [
23        ":cts-opengl-app-util",
24    ],
25
26    sdk_version: "test_current",
27}
28
29filegroup {
30    name: "cts-opengl-app-util",
31    srcs: [
32        "src/android/opengl/cts/Egl14Utils.java",
33    ],
34}
35
36android_test {
37    name: "CtsOpenGLTestCases",
38    team: "trendy_team_android_gpu",
39    defaults: ["cts_defaults"],
40    compile_multilib: "both",
41    jni_libs: ["libopengltest_jni"],
42    static_libs: [
43        "ctstestrunner-axt",
44        "compatibility-device-util-axt",
45    ],
46    libs: [
47        "android.test.runner",
48        "android.test.base",
49    ],
50    srcs: ["src/**/*.java"],
51    // Using EGL_RECORDABLE_ANDROID requires latest
52    sdk_version: "test_current",
53    // Tag this module as a cts test artifact
54    test_suites: [
55        "cts",
56        "general-tests",
57    ],
58}