xref: /aosp_15_r20/external/dagger2/java/dagger/hilt/migration/BUILD (revision f585d8a307d0621d6060bd7e80091fdcbf94fe27)
1# Copyright (C) 2020 The Dagger Authors.
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# Description:
15#   Libraries for migration.
16
17package(default_visibility = ["//:src"])
18
19java_library(
20    name = "alias_of",
21    srcs = ["AliasOf.java"],
22    exported_plugins = [
23        "//java/dagger/hilt/processor/internal/aliasof:processor",
24    ],
25    exports = [
26        "//java/dagger/hilt/internal/aliasof",
27    ],
28    deps = [
29        ":package_info",
30        "//java/dagger/hilt:generates_root_input",
31    ],
32)
33
34java_library(
35    name = "disable_install_in_check",
36    srcs = ["DisableInstallInCheck.java"],
37    exported_plugins = [
38        "//java/dagger/hilt/processor/internal/disableinstallincheck:processor",
39    ],
40    exports = [
41    ],
42    deps = [
43        ":package_info",
44    ],
45)
46
47java_library(
48    name = "package_info",
49    srcs = ["package-info.java"],
50)
51
52filegroup(
53    name = "srcs_filegroup",
54    srcs = glob(["*"]),
55)
56