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", 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 data: [ 41 ":CtsBlobStoreTestHelper", 42 ":CtsBlobStoreTestHelperDiffSig", 43 ":CtsBlobStoreTestHelperDiffSig2", 44 ], 45 per_testcase_directory: true, 46} 47 48android_test_helper_app { 49 name: "CtsBlobStoreTestHelper", 50 defaults: ["cts_defaults"], 51 static_libs: [ 52 "androidx.test.ext.junit", 53 "truth", 54 "BlobStoreTestUtils", 55 ], 56 srcs: [ 57 "helper-app/src/**/*.java", 58 ":CtsBlobStoreTestsAidl", 59 ], 60 test_suites: [ 61 "general-tests", 62 ], 63 manifest: "helper-app/AndroidManifest.xml", 64 sdk_version: "test_current", 65} 66 67android_test_helper_app { 68 name: "CtsBlobStoreTestHelperDiffSig", 69 defaults: ["cts_defaults"], 70 static_libs: [ 71 "androidx.test.ext.junit", 72 "truth", 73 "BlobStoreTestUtils", 74 ], 75 srcs: [ 76 "helper-app/src/**/*.java", 77 ":CtsBlobStoreTestsAidl", 78 ], 79 test_suites: [ 80 "general-tests", 81 ], 82 manifest: "helper-app/AndroidManifest.xml", 83 aaptflags: [ 84 "--rename-manifest-package com.android.cts.blob.helper2", 85 ], 86 certificate: ":cts-blob-helper-cert", 87 sdk_version: "test_current", 88} 89 90android_test_helper_app { 91 name: "CtsBlobStoreTestHelperDiffSig2", 92 defaults: ["cts_defaults"], 93 static_libs: [ 94 "androidx.test.ext.junit", 95 "truth", 96 "BlobStoreTestUtils", 97 ], 98 srcs: [ 99 "helper-app/src/**/*.java", 100 ":CtsBlobStoreTestsAidl", 101 ], 102 test_suites: [ 103 "general-tests", 104 ], 105 manifest: "helper-app/AndroidManifest.xml", 106 aaptflags: [ 107 "--rename-manifest-package com.android.cts.blob.helper3", 108 ], 109 certificate: ":cts-blob-helper-cert2", 110 sdk_version: "test_current", 111} 112 113filegroup { 114 name: "CtsBlobStoreTestsAidl", 115 srcs: [ 116 "aidl/**/*.aidl", 117 ], 118} 119