diff options
author | Dan Willemsen <dwillemsen@google.com> | 2015-11-17 15:27:28 -0800 |
---|---|---|
committer | Dan Willemsen <dwillemsen@google.com> | 2015-11-17 19:05:07 -0800 |
commit | c94a768a2a6998a34f76212912ce4013a7be47f5 (patch) | |
tree | 0420066908ab1d2efaa14953a2a84282c18f4b33 /common/module.go | |
parent | 322a0a6b59dfe5d059b7075cd033dc0bcb49dc13 (diff) | |
download | build_soong-c94a768a2a6998a34f76212912ce4013a7be47f5.tar.gz build_soong-c94a768a2a6998a34f76212912ce4013a7be47f5.tar.bz2 build_soong-c94a768a2a6998a34f76212912ce4013a7be47f5.zip |
Use Rule-local implicit dependencies
Depends on https://github.com/google/blueprint/pull/78
This uses the new CommandDeps field to move implicit dependencies
embedded in the Command string next to the definition, instead of having
to specify them in every BuildParam struct. This should make it easier
to verify dependencies.
Change-Id: I2711b160920e22fa962a436e1f7041272166f50f
Diffstat (limited to 'common/module.go')
-rw-r--r-- | common/module.go | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/common/module.go b/common/module.go index cb38513c..33a801fe 100644 --- a/common/module.go +++ b/common/module.go @@ -570,11 +570,10 @@ func (c *buildTargetSingleton) GenerateBuildActions(ctx blueprint.SingletonConte transMk := filepath.Join("androidmk", "Android_"+strings.Replace(filepath.Dir(origBp), "/", "_", -1)+".mk") ctx.Build(pctx, blueprint.BuildParams{ - Rule: androidbp, - Outputs: []string{transMk}, - Inputs: []string{bpFile}, - Implicits: []string{androidbpCmd}, - Optional: true, + Rule: androidbp, + Outputs: []string{transMk}, + Inputs: []string{bpFile}, + Optional: true, }) androidMks = append(androidMks, transMk) |