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:
@@ -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")
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user