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
17java_library {
18    name: "app-compat-annotations",
19    host_supported: true,
20    srcs: [
21        "ChangeId.java",
22        "Disabled.java",
23        "EnabledAfter.java",
24        "LoggingOnly.java",
25    ],
26    sdk_version: "core_current",
27    exported_plugins: ["compat-changeid-annotation-processor"],
28}
29
30// Don't forget to depend on exported_plugins, if using sources directly
31filegroup {
32    name: "app-compat-annotations-source",
33    srcs: [
34        "ChangeId.java",
35        "Disabled.java",
36        "EnabledAfter.java",
37        "LoggingOnly.java",
38        "UnsupportedAppUsage.java",
39    ],
40    visibility: ["//libcore:__pkg__"],
41}
42
43java_library {
44    name: "unsupportedappusage",
45    host_supported: true,
46    srcs: [
47        "UnsupportedAppUsage.java",
48    ],
49    sdk_version: "core_current",
50    exported_plugins: ["unsupportedappusage-annotation-processor"],
51}
52