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 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-prebuilt", 54 "BlobStoreTestUtils", 55 ], 56 srcs: [ 57 "helper-app/src/**/*.java", 58 ":CtsBlobStoreTestsAidl" 59 ], 60 test_suites: [ 61 "cts", 62 "general-tests" 63 ], 64 manifest: "helper-app/AndroidManifest.xml", 65 sdk_version: "test_current" 66} 67 68android_test_helper_app { 69 name: "CtsBlobStoreTestHelperDiffSig", 70 defaults: ["cts_defaults"], 71 static_libs: [ 72 "androidx.test.ext.junit", 73 "truth-prebuilt", 74 "BlobStoreTestUtils", 75 ], 76 srcs: [ 77 "helper-app/src/**/*.java", 78 ":CtsBlobStoreTestsAidl" 79 ], 80 test_suites: [ 81 "cts", 82 "general-tests", 83 ], 84 manifest: "helper-app/AndroidManifest.xml", 85 aaptflags: [ 86 "--rename-manifest-package com.android.cts.blob.helper2", 87 ], 88 certificate: ":cts-blob-helper-cert", 89 sdk_version: "test_current" 90} 91 92android_test_helper_app { 93 name: "CtsBlobStoreTestHelperDiffSig2", 94 defaults: ["cts_defaults"], 95 static_libs: [ 96 "androidx.test.ext.junit", 97 "truth-prebuilt", 98 "BlobStoreTestUtils", 99 ], 100 srcs: [ 101 "helper-app/src/**/*.java", 102 ":CtsBlobStoreTestsAidl" 103 ], 104 test_suites: [ 105 "cts", 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