diff options
author | 2017-10-23 17:16:14 -0700 | |
---|---|---|
committer | 2017-10-24 10:59:00 -0700 | |
commit | ae88703df55dcd721ccd5c3cca4c02c7b541ca9d (patch) | |
tree | 709e9300f0a1b39eae10fe40255d569e042066e1 /cc/proto.go | |
parent | 3f68a1362b808117a30e8333ce9a96b6252af5da (diff) |
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/proto.go')
-rw-r--r-- | cc/proto.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/proto.go b/cc/proto.go index 6e3cce742..a2353987f 100644 --- a/cc/proto.go +++ b/cc/proto.go @@ -41,7 +41,7 @@ func genProto(ctx android.ModuleContext, protoFile android.Path, ccFile = android.GenPathWithExt(ctx, "proto", protoFile, "pb.cc") headerFile = android.GenPathWithExt(ctx, "proto", protoFile, "pb.h") - ctx.ModuleBuild(pctx, android.ModuleBuildParams{ + ctx.Build(pctx, android.BuildParams{ Rule: proto, Description: "protoc " + protoFile.Rel(), Outputs: android.WritablePaths{ccFile, headerFile}, |