summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
author Mark White <anothermark@google.com> 2023-08-23 15:03:21 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2023-08-23 15:03:21 +0000
commit03fe33ad1c0253bcf39463860cb746d115ead67d (patch)
tree05458616827eeea5df13e64079ccb35ef37b36fd /java/java.go
parent14d9face533f05266944683ebb192de0b9ecc2f7 (diff)
parenta15790ac1e0703cd910c21cfd2322b8a61a3b559 (diff)
Merge "java_library support for building headers-only" into main
Diffstat (limited to 'java/java.go')
-rw-r--r--java/java.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/java/java.go b/java/java.go
index 5f59fe401..fe7f88f47 100644
--- a/java/java.go
+++ b/java/java.go
@@ -698,6 +698,7 @@ func (j *Library) GenerateAndroidBuildActions(ctx android.ModuleContext) {
}
j.checkSdkVersions(ctx)
+ j.checkHeadersOnly(ctx)
if ctx.Device() {
j.dexpreopter.installPath = j.dexpreopter.getInstallPath(
ctx, android.PathForModuleInstall(ctx, "framework", j.Stem()+".jar"))