Consistently use Bool instead of proptools.Bool

Use Bool instead of proptools.Bool and String instead of proptools.String.

Test: m checkbuild
Change-Id: I32d84add9f27128c7a65413e9612fd920613584f
This commit is contained in:
Colin Cross
2018-04-10 16:15:18 -07:00
parent ed1268268d
commit ff3ae9da74
6 changed files with 17 additions and 21 deletions

View File

@@ -19,7 +19,6 @@ import (
"github.com/google/blueprint"
"github.com/google/blueprint/pathtools"
"github.com/google/blueprint/proptools"
"android/soong/android"
)
@@ -114,7 +113,7 @@ func protoFlags(ctx ModuleContext, flags Flags, p *android.ProtoProperties) Flag
flags.protoFlags = android.ProtoFlags(ctx, p)
if proptools.String(p.Proto.Type) == "lite" {
if String(p.Proto.Type) == "lite" {
flags.protoOutParams = append(flags.protoOutParams, "lite")
}