• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
16java_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
31    static_libs: [
32        "compatibility-host-util",
33        "dexlib2",
34        // This tool is not checking any dependencies or metadata, so all of the
35        // dependencies of all of the tests must be on its classpath. This is
36        // super fragile.
37        "tradefed",
38        "hosttestlib",
39        "platformprotos",
40    ],
41}
42
43java_binary_host {
44    name: "cts-api-coverage",
45    wrapper: "etc/cts-api-coverage",
46    static_libs: ["api-coverage"],
47    manifest: "MANIFEST.mf",
48}
49
50
51java_binary_host {
52    name: "ndk-api-report",
53    wrapper: "etc/ndk-api-report",
54    static_libs: ["api-coverage"],
55    manifest: "MANIFEST.mf",
56}
57