diff options
author | Colin Cross <ccross@android.com> | 2017-10-23 17:16:14 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2017-10-24 10:59:00 -0700 |
commit | ae88703df55dcd721ccd5c3cca4c02c7b541ca9d (patch) | |
tree | 709e9300f0a1b39eae10fe40255d569e042066e1 /java/system_modules.go | |
parent | 3f68a1362b808117a30e8333ce9a96b6252af5da (diff) | |
download | android_build_soong-ae88703df55dcd721ccd5c3cca4c02c7b541ca9d.tar.gz android_build_soong-ae88703df55dcd721ccd5c3cca4c02c7b541ca9d.tar.bz2 android_build_soong-ae88703df55dcd721ccd5c3cca4c02c7b541ca9d.zip |
Move ModuleContext.ModuleBuild to ModuleContext.Build
Now that android.ModuleContext does not include blueprint.ModuleContext
we can rename android.ModuleContext.ModuleBuild to
android.ModuleContext.Build without colliding with
blueprint.ModuleContext.Build. Leave ModuleBuild as a wrapper around
Build for now to avoid having to update all the users outside
build/soong simultaneously.
Test: m checkbuild
Change-Id: I18eb8cc04faf002049a11d9aac97e9732ff5d638
Diffstat (limited to 'java/system_modules.go')
-rw-r--r-- | java/system_modules.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/system_modules.go b/java/system_modules.go index ce66a7c1..f6f572b6 100644 --- a/java/system_modules.go +++ b/java/system_modules.go @@ -67,7 +67,7 @@ func TransformJarsToSystemModules(ctx android.ModuleContext, moduleName string, android.PathForModuleOut(ctx, "system/release"), } - ctx.ModuleBuild(pctx, android.ModuleBuildParams{ + ctx.Build(pctx, android.BuildParams{ Rule: jarsTosystemModules, Description: "system modules", Outputs: outputs, |