forked from bazelbuild/rules_java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBUILD
More file actions
59 lines (52 loc) · 1.17 KB
/
Copy pathBUILD
File metadata and controls
59 lines (52 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
package(
default_applicable_licenses = ["@rules_java//:license"],
default_visibility = ["//visibility:public"],
)
licenses(["notice"])
filegroup(
name = "srcs",
srcs = glob(["**"]) + [
"//java/common/rules:srcs",
],
visibility = ["//java:__pkg__"],
)
bzl_library(
name = "common",
srcs = glob(
["*.bzl"],
exclude = [
"java_semantics.bzl",
"proguard_spec_info.bzl",
],
),
visibility = ["//visibility:public"],
deps = [
":proguard_spec_info_bzl",
":semantics_bzl",
"@compatibility_proxy//:proxy_bzl",
],
)
bzl_library(
name = "semantics_bzl",
srcs = ["java_semantics.bzl"],
visibility = ["//visibility:public"],
deps = [
"@rules_cc//cc/common",
],
)
bzl_library(
name = "proguard_spec_info_bzl",
srcs = ["proguard_spec_info.bzl"],
visibility = ["//visibility:public"],
)
filegroup(
name = "for_bazel_tests",
testonly = 1,
srcs = [
"BUILD",
":common",
"//java/common/rules:for_bazel_tests",
],
visibility = ["//java:__pkg__"],
)