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/ndk_headers.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/ndk_headers.go')
-rw-r--r-- | cc/ndk_headers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/ndk_headers.go b/cc/ndk_headers.go index 140cc2f6..1f8c3de1 100644 --- a/cc/ndk_headers.go +++ b/cc/ndk_headers.go @@ -237,7 +237,7 @@ func processHeadersWithVersioner(ctx android.ModuleContext, srcDir, outDir andro } timestampFile := android.PathForModuleOut(ctx, "versioner.timestamp") - ctx.ModuleBuild(pctx, android.ModuleBuildParams{ + ctx.Build(pctx, android.BuildParams{ Rule: preprocessBionicHeaders, Description: "versioner preprocess " + srcDir.Rel(), Output: timestampFile, |