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 15 16 java_library_host { 17 name: "api-coverage", 18 19 srcs: [ 20 "**/*.java", 21 "proto/**/*.proto", 22 ], 23 24 proto: { 25 type: "full", 26 local_include_dirs: ["proto"], 27 }, 28 29 java_resource_dirs: ["res"], 30 manifest: "MANIFEST.mf", 31 32 static_libs: [ 33 "compatibility-host-util", 34 "dexlib2", 35 // This tool is not checking any dependencies or metadata, so all of the 36 // dependencies of all of the tests must be on its classpath. This is 37 // super fragile. 38 "tradefed", 39 "hosttestlib", 40 "platformprotos", 41 ], 42 } 43 44 java_binary_host { 45 name: "cts-api-coverage", 46 wrapper: "etc/cts-api-coverage", 47 static_libs: ["api-coverage"], 48 } 49 50 java_binary_host { 51 name: "ndk-api-report", 52 wrapper: "etc/ndk-api-report", 53 static_libs: ["api-coverage"], 54 } 55