diff options
author | Dan Willemsen <dwillemsen@google.com> | 2015-11-30 13:59:34 -0800 |
---|---|---|
committer | Dan Willemsen <dwillemsen@google.com> | 2015-12-01 12:55:28 -0800 |
commit | 14e5c2af10c18f3f2961856c537c545bcd823488 (patch) | |
tree | 81a9931eaef22cc8eb42b78b97e88e3ea084314c /common | |
parent | 0effe065974221e3fe7a0a61543cc0b2bd39cf57 (diff) | |
download | build_soong-14e5c2af10c18f3f2961856c537c545bcd823488.tar.gz build_soong-14e5c2af10c18f3f2961856c537c545bcd823488.tar.bz2 build_soong-14e5c2af10c18f3f2961856c537c545bcd823488.zip |
Blueprint API: PackageContext is now an Interface
Change-Id: I656ae3b4657514faa4a1d12d6a33e9cefd8efb84
Diffstat (limited to 'common')
-rw-r--r-- | common/glob.go | 2 | ||||
-rw-r--r-- | common/module.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/common/glob.go b/common/glob.go index 3de18eef..96655cf8 100644 --- a/common/glob.go +++ b/common/glob.go @@ -68,7 +68,7 @@ func hasGlob(in []string) bool { // The subset of ModuleContext and SingletonContext needed by Glob type globContext interface { - Build(pctx *blueprint.PackageContext, params blueprint.BuildParams) + Build(pctx blueprint.PackageContext, params blueprint.BuildParams) AddNinjaFileDeps(deps ...string) } diff --git a/common/module.go b/common/module.go index e11082e8..1683671d 100644 --- a/common/module.go +++ b/common/module.go @@ -372,7 +372,7 @@ type androidModuleContext struct { checkbuildFiles []string } -func (a *androidModuleContext) Build(pctx *blueprint.PackageContext, params blueprint.BuildParams) { +func (a *androidModuleContext) Build(pctx blueprint.PackageContext, params blueprint.BuildParams) { params.Optional = true a.ModuleContext.Build(pctx, params) } |