forked from openkylin/platform_build
Merge "Prevent findleaves.py from traversing copies of $(OUT_DIR)"
This commit is contained in:
commit
84639d127b
|
@ -113,6 +113,11 @@ ifndef BUILDING_WITH_NINJA
|
|||
$(shell rm -f $(OUT_DIR)/ninja_build)
|
||||
endif
|
||||
|
||||
# With these files findleaves.py won't be unnecessarily slower even if
|
||||
# there is a user creates a copy of $(OUT_DIR).
|
||||
$(shell echo '# This file prevents findleaves.py from traversing this directory further' > $(OUT_DIR)/Android.mk)
|
||||
$(shell echo '# This file prevents findleaves.py from traversing this directory further' > $(OUT_DIR)/CleanSpec.mk)
|
||||
|
||||
# Write the build number to a file so it can be read back in
|
||||
# without changing the command line every time. Avoids rebuilds
|
||||
# when using ninja.
|
||||
|
|
Loading…
Reference in New Issue