summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
author Dan Willemsen <dwillemsen@google.com> 2021-07-13 21:52:04 -0700
committer Dan Willemsen <dwillemsen@google.com> 2021-10-13 01:25:02 -0700
commit9fe1410213250961b8e8427cef03a7e37cb7ec5d (patch)
tree4045c07848e967434d52ce809ba91ee258040ab4 /java/java.go
parent3e4d25552b620c20c29749677280b0dcf2bc6926 (diff)
Add android_sdk_repo_host to build platform-tools&build-tools
The Android SDK has been built with Make up until now, monolithically, then split up into several sdk-repo zip files for different purposes. The Mac and Windows SDKs really only need to contain the platform-tools and build-tools pieces, but due to this monolithic sdk zip, we had to build the whole SDK first. This adds an `android_sdk_repo_host` module that can build these platform-tools and build-tools zips. Bug: 187222815 Change-Id: I55809e1d7447dd65e22461f921b2b8abb6d5f822
Diffstat (limited to 'java/java.go')
-rw-r--r--java/java.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/java/java.go b/java/java.go
index 287bcfaeb..7f7d88f7c 100644
--- a/java/java.go
+++ b/java/java.go
@@ -565,10 +565,6 @@ func (j *Library) GenerateAndroidBuildActions(ctx android.ModuleContext) {
j.installFile = ctx.InstallFile(android.PathForModuleInstall(ctx, "framework"),
j.Stem()+".jar", j.outputFile, extraInstallDeps...)
}
-
- if ctx.Windows() {
- j.HideFromMake()
- }
}
func (j *Library) DepsMutator(ctx android.BottomUpMutatorContext) {
@@ -1135,10 +1131,6 @@ func (j *Binary) GenerateAndroidBuildActions(ctx android.ModuleContext) {
j.binaryFile = ctx.InstallExecutable(android.PathForModuleInstall(ctx, "bin"),
ctx.ModuleName()+ext, j.wrapperFile)
}
-
- if ctx.Windows() {
- j.HideFromMake()
- }
}
func (j *Binary) DepsMutator(ctx android.BottomUpMutatorContext) {