Merge "Add android.SdkModule to Sdk Versions that have AIDL traces generated"
This commit is contained in:
commit
d96735d5cc
1 changed files with 1 additions and 1 deletions
|
@ -868,7 +868,7 @@ func (j *Module) aidlFlags(ctx android.ModuleContext, aidlPreprocess android.Opt
|
|||
flags = append(flags, genAidlIncludeFlags(ctx, aidlSrcs, includeDirs))
|
||||
|
||||
sdkVersion := (j.SdkVersion(ctx)).Kind
|
||||
defaultTrace := ((sdkVersion == android.SdkSystemServer) || (sdkVersion == android.SdkCore) || (sdkVersion == android.SdkCorePlatform))
|
||||
defaultTrace := ((sdkVersion == android.SdkSystemServer) || (sdkVersion == android.SdkCore) || (sdkVersion == android.SdkCorePlatform) || (sdkVersion == android.SdkModule))
|
||||
if proptools.BoolDefault(j.deviceProperties.Aidl.Generate_traces, defaultTrace) {
|
||||
flags = append(flags, "-t")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue