summaryrefslogtreecommitdiff
path: root/java/system_modules.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2017-10-24 16:00:19 -0700
committer Colin Cross <ccross@android.com> 2017-10-24 16:02:53 -0700
commit88c37d3c5f1bffc459000c760d87a67297a7e001 (patch)
tree0977c50d770a29d2ee7be402400020645e0a6789 /java/system_modules.go
parent5c6ecc179f0dfc1026a65531bcf923bbfe4ac1e9 (diff)
Add convenience phony targets for system modules
OpenJDK9 system modules are not build modules, which means they can't be built with m core-system-modules. Add a phony target. Test: m core-system-modules Change-Id: If6d512ff7a009b49743fb25cbb566935ec1c0153
Diffstat (limited to 'java/system_modules.go')
-rw-r--r--java/system_modules.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/java/system_modules.go b/java/system_modules.go
index a459b7a0f..c3e40caca 100644
--- a/java/system_modules.go
+++ b/java/system_modules.go
@@ -138,6 +138,7 @@ func (system *SystemModules) AndroidMk() android.AndroidMkData {
fmt.Fprintln(w)
fmt.Fprintln(w, makevar, ":=", system.outputFile.String())
fmt.Fprintln(w, ".KATI_READONLY", ":=", makevar)
+ fmt.Fprintln(w, name+":", "$("+makevar+")")
}
},
}