1// Copyright (C) 2020 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_host { 20 name: "CtsBlobStoreHostTestCases", 21 defaults: ["cts_defaults"], 22 srcs: ["src/**/*.java"], 23 libs: [ 24 "tools-common-prebuilt", 25 "cts-tradefed", 26 "tradefed", 27 "truth-prebuilt" 28 ], 29 static_libs: [ 30 "cts-statsd-atom-host-test-utils", 31 ], 32 // Tag this module as a cts test artifact 33 test_suites: [ 34 "cts", 35 "general-tests" 36 ] 37} 38 39android_test_helper_app { 40 name: "CtsBlobStoreHostTestHelper", 41 srcs: ["test-apps/BlobStoreHostTestHelper/src/**/*.java"], 42 static_libs: [ 43 "compatibility-device-util-axt", 44 "androidx.test.ext.junit", 45 "androidx.test.rules", 46 "BlobStoreTestUtils", 47 "truth-prebuilt", 48 "testng", 49 ], 50 manifest : "test-apps/BlobStoreHostTestHelper/AndroidManifest.xml", 51 sdk_version: "test_current", 52 // Tag this module as a cts test artifact 53 test_suites: [ 54 "cts", 55 "general-tests" 56 ] 57} 58 59android_test_helper_app { 60 name: "CtsBlobStoreHostTestHelperDev", 61 srcs: ["test-apps/BlobStoreHostTestHelper/src/**/*.java"], 62 static_libs: [ 63 "compatibility-device-util-axt", 64 "androidx.test.ext.junit", 65 "androidx.test.rules", 66 "BlobStoreTestUtils", 67 "truth-prebuilt", 68 "testng", 69 ], 70 manifest : "test-apps/BlobStoreHostTestHelper/AndroidManifest_withPrivPerm.xml", 71 aaptflags: [ 72 "--rename-manifest-package com.android.cts.device.blob.dev", 73 "--rename-instrumentation-target-package com.android.cts.device.blob.dev" 74 ], 75 sdk_version: "test_current", 76 // Tag this module as a cts test artifact 77 test_suites: [ 78 "cts", 79 "general-tests" 80 ] 81} 82 83android_test_helper_app { 84 name: "CtsBlobStoreHostTestHelperAssist", 85 srcs: ["test-apps/BlobStoreHostTestHelper/src/**/*.java"], 86 static_libs: [ 87 "compatibility-device-util-axt", 88 "androidx.test.ext.junit", 89 "androidx.test.rules", 90 "BlobStoreTestUtils", 91 "truth-prebuilt", 92 "testng" 93 ], 94 manifest : "test-apps/BlobStoreHostTestHelper/AndroidManifest_withAssistRole.xml", 95 aaptflags: [ 96 "--rename-manifest-package com.android.cts.device.blob.assist", 97 "--rename-instrumentation-target-package com.android.cts.device.blob.assist" 98 ], 99 sdk_version: "test_current", 100 // Tag this module as a cts test artifact 101 test_suites: [ 102 "cts", 103 "general-tests" 104 ] 105} 106