• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2019 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    default_team: "trendy_team_framework_backstage_power",
18}
19
20android_test {
21    name: "CtsBlobStoreTestCases",
22    defaults: ["cts_defaults"],
23    static_libs: [
24        "androidx.test.ext.junit",
25        "androidx.test.rules",
26        "compatibility-device-util-axt",
27        "guava",
28        "truth",
29        "testng",
30        "sts-device-util",
31        "BlobStoreTestUtils",
32    ],
33    srcs: [
34        "src/**/*.java",
35        ":CtsBlobStoreTestsAidl",
36    ],
37    test_suites: [
38        "cts",
39        "sts",
40        "general-tests",
41    ],
42    sdk_version: "test_current",
43    data: [
44        ":CtsBlobStoreTestHelper",
45        ":CtsBlobStoreTestHelperDiffSig",
46        ":CtsBlobStoreTestHelperDiffSig2",
47    ],
48    per_testcase_directory: true,
49}
50
51android_test_helper_app {
52    name: "CtsBlobStoreTestHelper",
53    defaults: ["cts_defaults"],
54    static_libs: [
55        "androidx.test.ext.junit",
56        "truth",
57        "BlobStoreTestUtils",
58    ],
59    srcs: [
60        "helper-app/src/**/*.java",
61        ":CtsBlobStoreTestsAidl",
62    ],
63    test_suites: [
64        "general-tests",
65    ],
66    manifest: "helper-app/AndroidManifest.xml",
67    sdk_version: "test_current",
68}
69
70android_test_helper_app {
71    name: "CtsBlobStoreTestHelperDiffSig",
72    defaults: ["cts_defaults"],
73    static_libs: [
74        "androidx.test.ext.junit",
75        "truth",
76        "BlobStoreTestUtils",
77    ],
78    srcs: [
79        "helper-app/src/**/*.java",
80        ":CtsBlobStoreTestsAidl",
81    ],
82    test_suites: [
83        "general-tests",
84    ],
85    manifest: "helper-app/AndroidManifest.xml",
86    aaptflags: [
87        "--rename-manifest-package com.android.cts.blob.helper2",
88    ],
89    certificate: ":cts-blob-helper-cert",
90    sdk_version: "test_current",
91}
92
93android_test_helper_app {
94    name: "CtsBlobStoreTestHelperDiffSig2",
95    defaults: ["cts_defaults"],
96    static_libs: [
97        "androidx.test.ext.junit",
98        "truth",
99        "BlobStoreTestUtils",
100    ],
101    srcs: [
102        "helper-app/src/**/*.java",
103        ":CtsBlobStoreTestsAidl",
104    ],
105    test_suites: [
106        "general-tests",
107    ],
108    manifest: "helper-app/AndroidManifest.xml",
109    aaptflags: [
110        "--rename-manifest-package com.android.cts.blob.helper3",
111    ],
112    certificate: ":cts-blob-helper-cert2",
113    sdk_version: "test_current",
114}
115
116filegroup {
117    name: "CtsBlobStoreTestsAidl",
118    srcs: [
119        "aidl/**/*.aidl",
120    ],
121}
122