1// Copyright (C) 2010 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_library_host { 20 name: "api-coverage", 21 22 srcs: [ 23 "src/com/android/cts/apicommon/**/*.java", 24 "src/com/android/cts/apicoverage/**/*.java", 25 "proto/**/*.proto", 26 ], 27 28 proto: { 29 type: "full", 30 local_include_dirs: ["proto"], 31 }, 32 33 java_resource_dirs: ["res"], 34 35 static_libs: [ 36 "compatibility-host-util", 37 "smali-dexlib2", 38 // This tool is not checking any dependencies or metadata, so all of the 39 // dependencies of all of the tests must be on its classpath. This is 40 // super fragile. 41 "tradefed", 42 "platformprotos", 43 ], 44} 45 46java_binary_host { 47 name: "cts-api-coverage", 48 wrapper: "etc/cts-api-coverage", 49 static_libs: ["api-coverage"], 50 manifest: "MANIFEST.mf", 51} 52 53java_binary_host { 54 name: "ndk-api-report", 55 wrapper: "etc/ndk-api-report", 56 static_libs: ["api-coverage"], 57 manifest: "MANIFEST.mf", 58} 59 60java_library_host { 61 name: "api-map", 62 srcs: [ 63 "src/com/android/cts/apicommon/**/*.java", 64 "src/com/android/cts/apimap/**/*.java", 65 "src/com/android/cts/ctsprofiles/**/*.java", 66 ], 67 java_resource_dirs: ["res"], 68 static_libs: [ 69 "apache-commons-math3", 70 "jsr305", 71 "ow2-asm", 72 "ow2-asm-analysis", 73 "ow2-asm-commons", 74 "ow2-asm-tree", 75 ], 76} 77 78java_binary_host { 79 name: "cts-api-map", 80 static_libs: ["api-map"], 81 manifest: "api_map_manifest.txt", 82} 83