-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathBUILD
43 lines (36 loc) · 1.12 KB
/
BUILD
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
# Description:
# Jsinterop Annotations for J2CL/GWT
#
load("@bazel_skylib//rules:build_test.bzl", "build_test")
load("@rules_license//rules:license.bzl", "license")
load("@com_google_j2cl//build_defs:rules.bzl", "j2cl_alias")
package(
default_applicable_licenses = ["//:license"],
default_visibility = [
"//third_party/java/jsinterop_annotations:__subpackages__",
"@com_google_j2cl//:__subpackages__",
],
licenses = ["notice"],
)
license(
name = "license",
package_name = "jsinterop_annotations",
)
exports_files(["LICENSE"])
build_test(
name = "rule_test",
targets = [
":jsinterop-annotations",
":jsinterop-annotations-j2cl",
],
)
alias(
name = "jsinterop-annotations",
actual = "//java/jsinterop/annotations:annotations",
tags = ["avoid_dep"], # Use //third_party/java/jsinterop_annotations:jsinterop-annotations instead.
)
j2cl_alias(
name = "jsinterop-annotations-j2cl",
actual = "//java/jsinterop/annotations:annotations-j2cl",
tags = ["avoid_dep"], # Use //third_party/java/jsinterop_annotations:jsinterop-annotations-j2cl instead.
)