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