1// Copyright (C) 2021 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: "CtsAppSearchHostTestCases", 21 defaults: ["cts_defaults"], 22 static_libs: [ 23 "cts-statsd-atom-host-test-utils", 24 ], 25 srcs: [ 26 "src/**/*.java", 27 ], 28 libs: [ 29 "tools-common-prebuilt", 30 "cts-tradefed", 31 "tradefed", 32 "truth-prebuilt" 33 ], 34 test_suites: [ 35 "cts", 36 "general-tests", 37 ], 38} 39 40android_test_helper_app { 41 name: "CtsAppSearchHostTestHelperA", 42 defaults: ["cts_defaults"], 43 static_libs: [ 44 "AppSearchTestUtils", 45 "androidx.test.ext.junit", 46 "androidx.test.rules", 47 "compatibility-device-util-axt", 48 "testng", 49 ], 50 srcs: [ 51 "test-apps/AppSearchHostTestHelperA/src/**/*.java", 52 ], 53 test_suites: [ 54 "cts", 55 "general-tests", 56 ], 57 manifest: "test-apps/AppSearchHostTestHelperA/AndroidManifest.xml", 58 certificate: ":cts-appsearch-hosttest-helper-cert-a", 59 sdk_version: "test_current", 60} 61 62android_test_helper_app { 63 name: "CtsAppSearchHostTestHelperB", 64 defaults: ["cts_defaults"], 65 static_libs: [ 66 "AppSearchTestUtils", 67 "androidx.test.ext.junit", 68 "androidx.test.rules", 69 "compatibility-device-util-axt", 70 "testng", 71 ], 72 srcs: [ 73 "test-apps/AppSearchHostTestHelperB/src/**/*.java", 74 ], 75 test_suites: [ 76 "cts", 77 "general-tests", 78 ], 79 manifest: "test-apps/AppSearchHostTestHelperB/AndroidManifest.xml", 80 certificate: ":cts-appsearch-hosttest-helper-cert-b", 81 sdk_version: "test_current", 82} 83