diff options
author | 2018-04-10 16:15:18 -0700 | |
---|---|---|
committer | 2018-04-10 22:50:34 -0700 | |
commit | ff3ae9da749583929bdb2501a1389ea14ff0ffca (patch) | |
tree | afc63b1afea44e6495ab85e4d4336f22859d123f /cc/proto.go | |
parent | ed1268268de5de482941ae7ef6e5ea0901d5f390 (diff) |
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
Diffstat (limited to 'cc/proto.go')
-rw-r--r-- | cc/proto.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cc/proto.go b/cc/proto.go index 42bb53695..22e50ab48 100644 --- a/cc/proto.go +++ b/cc/proto.go @@ -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") } |