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