Store missing profile files into a Make variable
Bug: http://b/72642679 Store missing profile files and the modules that refer to them in the SOONG_MODULES_MISSING_PGO_PROFILE_FILE variable passed to Make. The contents of this variable will be written to $DIST_DIR/pgo_profile_file_missing.txt as part of the 'dist' target. Test: 'm dist' and verify creation of pgo_profile_file_missing.txt. Change-Id: I237cd0398be418be2b7db6fa65ece5ef347ecbc1
This commit is contained in:
@@ -226,7 +226,7 @@ func warningsAreAllowed(subdir string) bool {
|
||||
}
|
||||
|
||||
func addToModuleList(ctx ModuleContext, list string, module string) {
|
||||
getWallWerrorMap(ctx.Config(), list).Store(module, true)
|
||||
getNamedMapForConfig(ctx.Config(), list).Store(module, true)
|
||||
}
|
||||
|
||||
// Create a Flags struct that collects the compile flags from global values,
|
||||
|
Reference in New Issue
Block a user