diff options
author | Nan Zhang <nanzhang@google.com> | 2017-11-09 22:42:32 -0800 |
---|---|---|
committer | Nan Zhang <nanzhang@google.com> | 2017-11-09 22:42:32 -0800 |
commit | a5e7cb4eabbbc508e7fa7e1b8f0f428284d61131 (patch) | |
tree | 8531583337336c5eec1fb363a9f3a182d2fa8ca3 /genrule | |
parent | ea568a4a241dc3ab2e415143a698413106cb4c52 (diff) | |
download | build_soong-a5e7cb4eabbbc508e7fa7e1b8f0f428284d61131.tar.gz build_soong-a5e7cb4eabbbc508e7fa7e1b8f0f428284d61131.tar.bz2 build_soong-a5e7cb4eabbbc508e7fa7e1b8f0f428284d61131.zip |
Change remaining properties to *string, *bool in Soong.
Test: m -j checkbuild
Bug: b/68853585
Change-Id: I0fd10ff31e90c1941e80cfbf25e40e9988f1e202
Diffstat (limited to 'genrule')
-rw-r--r-- | genrule/genrule.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/genrule/genrule.go b/genrule/genrule.go index 7602ee72..c5b7e1d3 100644 --- a/genrule/genrule.go +++ b/genrule/genrule.go @@ -343,7 +343,7 @@ func NewGenSrcs() *Module { outFiles := android.WritablePaths{} genPath := android.PathForModuleGen(ctx).String() for _, in := range srcFiles { - outFile := android.GenPathWithExt(ctx, "", in, properties.Output_extension) + outFile := android.GenPathWithExt(ctx, "", in, String(properties.Output_extension)) outFiles = append(outFiles, outFile) // replace "out" with "__SBOX_OUT_DIR__/<the value of ${out}>" @@ -390,7 +390,7 @@ func GenSrcsFactory() android.Module { type genSrcsProperties struct { // extension that will be substituted for each output file - Output_extension string + Output_extension *string } func NewGenRule() *Module { |