forked from PolymerLabs/arcs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added native.oss.bzl file (PolymerLabs#4170)
* Added native.oss.bzl file This file just re-exports "native" build rules, e.g. java_library. Instead of loading these from @java_rules, we now load them from this native.oss.bzl file. This will help with importing into google, where referencing those external repos (@java_rules) is not needed. * Fix paths
- Loading branch information
1 parent
bf715a5
commit 1948f82
Showing
5 changed files
with
25 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
"""Re-exports some "native" build rules. | ||
Use these in Arcs instead of loading them from the external repos directly. | ||
""" | ||
|
||
load( | ||
"@rules_java//java:defs.bzl", | ||
_java_library = "java_library", | ||
_java_plugin = "java_plugin", | ||
_java_test = "java_test", | ||
) | ||
|
||
java_library = _java_library | ||
|
||
java_plugin = _java_plugin | ||
|
||
java_test = _java_test |