aboutsummaryrefslogtreecommitdiffstats
path: root/java/system_modules.go
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2017-11-29 00:27:14 -0800
committerColin Cross <ccross@android.com>2017-11-30 00:44:18 +0000
commit6510f91a1c8a40b6b06d382792d4da1a72eb1118 (patch)
tree4511e4f6ee6f7d43d03b7489ede41b6f22b2a559 /java/system_modules.go
parentaabf67968c4abc98d94bd8ccd6d612246b2fbbdc (diff)
downloadbuild_soong-6510f91a1c8a40b6b06d382792d4da1a72eb1118.tar.gz
build_soong-6510f91a1c8a40b6b06d382792d4da1a72eb1118.tar.bz2
build_soong-6510f91a1c8a40b6b06d382792d4da1a72eb1118.zip
Replace ModuleContext.AConfig() with Config()
AConfig() now duplicates Config(). Replace the uses of AConfig() with Config(). Leave AConfig() for now until code in other projects is cleaned up. Test: m checkbuild Change-Id: Ic88be643049d21dba45dbd1a65588ed94bf43bdc
Diffstat (limited to 'java/system_modules.go')
-rw-r--r--java/system_modules.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/system_modules.go b/java/system_modules.go
index c3e40cac..5234d174 100644
--- a/java/system_modules.go
+++ b/java/system_modules.go
@@ -121,7 +121,7 @@ func (system *SystemModules) GenerateAndroidBuildActions(ctx android.ModuleConte
jars = append(jars, android.PathsForModuleSrc(ctx, system.properties.Jars)...)
- if ctx.AConfig().TargetOpenJDK9() {
+ if ctx.Config().TargetOpenJDK9() {
system.outputFile = TransformJarsToSystemModules(ctx, "java.base", jars)
}
}