Change remaining properties to *string, *bool in Soong.

Test: m -j checkbuild
Bug: b/68853585
Change-Id: I0fd10ff31e90c1941e80cfbf25e40e9988f1e202
This commit is contained in:
Nan Zhang
2017-11-09 22:42:32 -08:00
parent ea568a4a24
commit a5e7cb4eab
2 changed files with 11 additions and 11 deletions

View File

@@ -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 {