Merge "Fix a check for the ninja_log" into main
This commit is contained in:
@@ -108,7 +108,7 @@ func needToWriteNinjaHint(ctx *android.Context) bool {
|
||||
case "always":
|
||||
return true
|
||||
case "depend":
|
||||
if _, err := os.Stat(filepath.Join(ctx.Config().OutDir(), ".ninja_log")); errors.Is(err, os.ErrNotExist) {
|
||||
if _, err := os.Stat(filepath.Join(topDir, ctx.Config().OutDir(), ".ninja_log")); errors.Is(err, os.ErrNotExist) {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user