1/* 2 * Copyright (C) 2020 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17// This file contains all the build target that we expect tests writers 18// to need to build tests. 19 20package { 21 default_applicable_licenses: ["Android-Apache-2.0"], 22} 23 24java_import_host { 25 name: "tradefed", 26 jars: [ 27 ":platformprotos", // Should be first to force using protos from the branch 28 ":tradefed-prebuilt", 29 ":tradefed-test-framework-prebuilt", 30 ], 31 installable: true, 32} 33 34// Target used for backward compatibility with suites 35java_import_host { 36 name: "tradefed-no-fwk", 37 jars: [":tradefed-prebuilt"], 38 installable: true, 39} 40 41java_import_host { 42 name: "tradefed-test-framework", 43 jars: [ 44 ":platformprotos", // Should be first to force using protos from the branch 45 ":tradefed-test-framework-prebuilt" 46 ], 47 installable: true, 48} 49 50java_import_host { 51 name: "loganalysis", 52 jars: [":loganalysis-prebuilt"], 53 installable: true, 54} 55 56// Targets for test suites 57java_import_host { 58 name: "compatibility-tradefed", 59 jars: [":compatibility-tradefed-prebuilt"], 60 installable: true, 61} 62 63java_import_host { 64 name: "compatibility-host-util", 65 jars: [":compatibility-host-util-prebuilt"], 66 installable: true, 67} 68