diff options
author | Dan Willemsen <dwillemsen@google.com> | 2016-11-02 20:43:13 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@google.com> | 2016-11-02 21:19:11 -0700 |
commit | 21ec49068f7be873e963dd8dc5cff610539540c5 (patch) | |
tree | c99797f9e04319a88c26d8bf189d740f63744dcd /genrule | |
parent | eb716e25590a50541c5c2b3be81ae0468ac35690 (diff) | |
download | build_soong-21ec49068f7be873e963dd8dc5cff610539540c5.tar.gz build_soong-21ec49068f7be873e963dd8dc5cff610539540c5.tar.bz2 build_soong-21ec49068f7be873e963dd8dc5cff610539540c5.zip |
Add subdir to GenPath
We were emulating this for proto files, standardize it and make the
other generators use it as well.
Test: Compare out/soong/build.ninja before/after change
Test: mmma -j system/tools/hidl
Change-Id: I1888c7b981749060a398387bbb9b481270bf6d75
Diffstat (limited to 'genrule')
-rw-r--r-- | genrule/genrule.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/genrule/genrule.go b/genrule/genrule.go index f70c5fc3..5ee8b0bc 100644 --- a/genrule/genrule.go +++ b/genrule/genrule.go @@ -196,7 +196,7 @@ func GenSrcsFactory() (blueprint.Module, []interface{}) { for _, in := range srcFiles { tasks = append(tasks, generateTask{ in: android.Paths{in}, - out: android.WritablePaths{android.GenPathWithExt(ctx, in, properties.Output_extension)}, + out: android.WritablePaths{android.GenPathWithExt(ctx, "", in, properties.Output_extension)}, }) } return tasks |