-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add IdlClass to the embedded default android tools repository and rea…
…rrange BuildJar's JarHelper so that it too can be embedded. -- MOS_MIGRATED_REVID=104539260
- Loading branch information
Showing
11 changed files
with
53 additions
and
23 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
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
31 changes: 31 additions & 0 deletions
31
src/java_tools/buildjar/java/com/google/devtools/build/buildjar/jarhelper/BUILD
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,31 @@ | ||
filegroup( | ||
name = "srcs", | ||
# include this BUILD file for the default android tools repository | ||
srcs = glob(["**"]), | ||
visibility = ["//src:__pkg__"], | ||
) | ||
|
||
JARHELPER_SRCS = [ | ||
"JarHelper.java", | ||
"JarCreator.java", | ||
] | ||
|
||
# for bootstrap_java_binary | ||
exports_files( | ||
JARHELPER_SRCS, | ||
visibility = ["//src/java_tools/buildjar:__pkg__"], | ||
) | ||
|
||
# JarHelper library for GenClass so it can create the gen jar. | ||
java_library( | ||
name = "jarhelper", | ||
srcs = JARHELPER_SRCS, | ||
visibility = [ | ||
"//src/java_tools/buildjar:__pkg__", | ||
"//src/java_tools/buildjar/java/com/google/devtools/build/buildjar/genclass:__pkg__", | ||
"//src/tools/android/java/com/google/devtools/build/android/idlclass:__pkg__", | ||
], | ||
deps = [ | ||
"//third_party:guava", | ||
], | ||
) |
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