1*dd0948b3SAndroid Build Coastguard Worker// 2*dd0948b3SAndroid Build Coastguard Worker// Copyright (C) 2016 The Android Open Source Project 3*dd0948b3SAndroid Build Coastguard Worker// 4*dd0948b3SAndroid Build Coastguard Worker// Licensed under the Apache License, Version 2.0 (the "License"); 5*dd0948b3SAndroid Build Coastguard Worker// you may not use this file except in compliance with the License. 6*dd0948b3SAndroid Build Coastguard Worker// You may obtain a copy of the License at 7*dd0948b3SAndroid Build Coastguard Worker// 8*dd0948b3SAndroid Build Coastguard Worker// http://www.apache.org/licenses/LICENSE-2.0 9*dd0948b3SAndroid Build Coastguard Worker// 10*dd0948b3SAndroid Build Coastguard Worker// Unless required by applicable law or agreed to in writing, software 11*dd0948b3SAndroid Build Coastguard Worker// distributed under the License is distributed on an "AS IS" BASIS, 12*dd0948b3SAndroid Build Coastguard Worker// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13*dd0948b3SAndroid Build Coastguard Worker// See the License for the specific language governing permissions and 14*dd0948b3SAndroid Build Coastguard Worker// limitations under the License. 15*dd0948b3SAndroid Build Coastguard Worker// 16*dd0948b3SAndroid Build Coastguard Worker 17*dd0948b3SAndroid Build Coastguard Workerpackage { 18*dd0948b3SAndroid Build Coastguard Worker default_applicable_licenses: ["Android-Apache-2.0"], 19*dd0948b3SAndroid Build Coastguard Worker} 20*dd0948b3SAndroid Build Coastguard Worker 21*dd0948b3SAndroid Build Coastguard Workerjava_library_static { 22*dd0948b3SAndroid Build Coastguard Worker name: "platform-test-annotations", 23*dd0948b3SAndroid Build Coastguard Worker host_supported: true, 24*dd0948b3SAndroid Build Coastguard Worker srcs: ["src/**/*.java"], 25*dd0948b3SAndroid Build Coastguard Worker sdk_version: "current", // To allow use from CTS 26*dd0948b3SAndroid Build Coastguard Worker // b/267831518: Pin tradefed and dependencies to Java 11. 27*dd0948b3SAndroid Build Coastguard Worker java_version: "11", 28*dd0948b3SAndroid Build Coastguard Worker} 29*dd0948b3SAndroid Build Coastguard Worker 30*dd0948b3SAndroid Build Coastguard Worker// For compatibility with old -host suffix naming 31*dd0948b3SAndroid Build Coastguard Workerjava_library_host { 32*dd0948b3SAndroid Build Coastguard Worker name: "platform-test-annotations-host", 33*dd0948b3SAndroid Build Coastguard Worker static_libs: ["platform-test-annotations"], 34*dd0948b3SAndroid Build Coastguard Worker} 35*dd0948b3SAndroid Build Coastguard Worker 36*dd0948b3SAndroid Build Coastguard Workerpython_library { 37*dd0948b3SAndroid Build Coastguard Worker name: "platform-test-py-annotations", 38*dd0948b3SAndroid Build Coastguard Worker host_supported: true, 39*dd0948b3SAndroid Build Coastguard Worker srcs: [ 40*dd0948b3SAndroid Build Coastguard Worker "__init__.py", 41*dd0948b3SAndroid Build Coastguard Worker "src/**/*.py", 42*dd0948b3SAndroid Build Coastguard Worker ], 43*dd0948b3SAndroid Build Coastguard Worker pkg_path: "android/platform/test/annotations", 44*dd0948b3SAndroid Build Coastguard Worker} 45