Skip to content

Commit

Permalink
Load the builtin Bazel java rules from @rules_java
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 677786475
  • Loading branch information
Googler authored and copybara-github committed Sep 23, 2024
1 parent 6aacae3 commit b9845c7
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions java/jsinterop/generator/closure/BUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Description:
# Generates JsTypes classes from closure extern files

load("@rules_java//java:defs.bzl", "java_binary", "java_library")

package(
default_applicable_licenses = ["//:license"],
default_visibility = [
Expand Down
2 changes: 2 additions & 0 deletions java/jsinterop/generator/closure/helper/BUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Description:
# Helper classes

load("@rules_java//java:defs.bzl", "java_library")

package(
default_applicable_licenses = ["//:license"],
default_visibility = [
Expand Down
2 changes: 2 additions & 0 deletions java/jsinterop/generator/closure/visitor/BUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Description:
# Closure visitor.

load("@rules_java//java:defs.bzl", "java_library")

package(
default_applicable_licenses = ["//:license"],
default_visibility = [
Expand Down
2 changes: 2 additions & 0 deletions java/jsinterop/generator/helper/BUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Description:
# Generator helper

load("@rules_java//java:defs.bzl", "java_library")

package(
default_applicable_licenses = ["//:license"],
licenses = ["notice"],
Expand Down
2 changes: 2 additions & 0 deletions java/jsinterop/generator/model/BUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Description:
# JsInterop version of the typescript compiler api

load("@rules_java//java:defs.bzl", "java_library")

package(
default_applicable_licenses = ["//:license"],
licenses = ["notice"],
Expand Down
2 changes: 2 additions & 0 deletions java/jsinterop/generator/visitor/BUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Description:
# JsInterop version of the typescript compiler api

load("@rules_java//java:defs.bzl", "java_library")

package(
default_applicable_licenses = ["//:license"],
default_visibility = [
Expand Down
2 changes: 2 additions & 0 deletions java/jsinterop/generator/writer/BUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Description:
# JsInterop version of the typescript compiler api

load("@rules_java//java:defs.bzl", "java_library")

package(
default_applicable_licenses = ["//:license"],
default_visibility = [
Expand Down
2 changes: 2 additions & 0 deletions javatests/jsinterop/generator/closure/BUILD
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
load("@rules_java//java:defs.bzl", "java_library")

# Helper classes for test.
package(
default_applicable_licenses = ["//:license"],
Expand Down
2 changes: 2 additions & 0 deletions javatests/jsinterop/generator/unit/undefinedtypes/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# Test behavior of the jsinterop generator with type that are not defined
#

load("@rules_java//java:defs.bzl", "java_test")

package(
default_applicable_licenses = ["//:license"],
licenses = ["notice"],
Expand Down

0 comments on commit b9845c7

Please sign in to comment.