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 /cc/rs.go | |
parent | 3f68a1362b808117a30e8333ce9a96b6252af5da (diff) | |
download | build_soong-ae88703df55dcd721ccd5c3cca4c02c7b541ca9d.tar.gz build_soong-ae88703df55dcd721ccd5c3cca4c02c7b541ca9d.tar.bz2 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 'cc/rs.go')
-rw-r--r-- | cc/rs.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -64,7 +64,7 @@ func rsGenerateCpp(ctx android.ModuleContext, rsFiles android.Paths, rsFlags str cppFiles[i] = rsGeneratedCppFile(ctx, rsFile) } - ctx.ModuleBuild(pctx, android.ModuleBuildParams{ + ctx.Build(pctx, android.BuildParams{ Rule: rsCpp, Description: "llvm-rs-cc", Output: stampFile, |