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# 15# Description: 16# Testing libraries for Hilt. 17 18load("@rules_java//java:defs.bzl", "java_library") 19 20package(default_visibility = ["//:src"]) 21 22java_library( 23 name = "package_info", 24 srcs = ["package-info.java"], 25 deps = [ 26 "//third_party/java/jsr305_annotations", 27 ], 28) 29 30java_library( 31 name = "test_install_in", 32 testonly = 1, 33 srcs = ["TestInstallIn.java"], 34 exported_plugins = [ 35 "//java/dagger/hilt/processor/internal/aggregateddeps:plugin", 36 ], 37 exports = [ 38 "//java/dagger/hilt/processor/internal/aggregateddeps:annotation", 39 ], 40 deps = [ 41 ":package_info", 42 "//java/dagger/hilt:generates_root_input", 43 ], 44) 45 46filegroup( 47 name = "srcs_filegroup", 48 srcs = glob(["*"]), 49) 50