Remove unnecessary snake case variables.
Test: m nothing + TreeHugger Change-Id: I99f7162944daa6c57c6ae4763261e108bb5cb6b1
This commit is contained in:
@@ -305,17 +305,17 @@ func apiCheckEnabled(ctx android.ModuleContext, apiToCheck ApiToCheck, apiVersio
|
||||
}
|
||||
|
||||
func ignoreMissingModules(ctx android.BottomUpMutatorContext, apiToCheck *ApiToCheck) {
|
||||
api_file := String(apiToCheck.Api_file)
|
||||
removed_api_file := String(apiToCheck.Removed_api_file)
|
||||
apiFile := String(apiToCheck.Api_file)
|
||||
removedApiFile := String(apiToCheck.Removed_api_file)
|
||||
|
||||
api_module := android.SrcIsModule(api_file)
|
||||
removed_api_module := android.SrcIsModule(removed_api_file)
|
||||
apiModule := android.SrcIsModule(apiFile)
|
||||
removedApiModule := android.SrcIsModule(removedApiFile)
|
||||
|
||||
if api_module == "" || removed_api_module == "" {
|
||||
if apiModule == "" || removedApiModule == "" {
|
||||
return
|
||||
}
|
||||
|
||||
if ctx.OtherModuleExists(api_module) || ctx.OtherModuleExists(removed_api_module) {
|
||||
if ctx.OtherModuleExists(apiModule) || ctx.OtherModuleExists(removedApiModule) {
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user