Allow disabling of CleanSpec functionality
This is only intended for testing purposes -- so that we can run build system tests and verify that kati only gets run once for each configuration. CleanSpecs necessarily write state that require us to re-run kati twice. Test: export NO_ANDROID_CLEANSPEC=true; rm -rf out; m -j; m -j Change-Id: I635a8d8b6754dff82fbc7f20c500d06d7cf6c4f2
This commit is contained in:
parent
294d5c5f07
commit
3715001fe5
|
@ -14,7 +14,7 @@
|
|||
#
|
||||
|
||||
# Don't bother with the cleanspecs if you are running mm/mmm
|
||||
ifeq ($(ONE_SHOT_MAKEFILE)$(dont_bother),)
|
||||
ifeq ($(ONE_SHOT_MAKEFILE)$(dont_bother)$(NO_ANDROID_CLEANSPEC),)
|
||||
|
||||
INTERNAL_CLEAN_STEPS :=
|
||||
|
||||
|
@ -142,7 +142,7 @@ rewrite_clean_steps_file :=
|
|||
INTERNAL_CLEAN_STEPS :=
|
||||
INTERNAL_CLEAN_BUILD_VERSION :=
|
||||
|
||||
endif # if not ONE_SHOT_MAKEFILE dont_bother
|
||||
endif # if not ONE_SHOT_MAKEFILE dont_bother NO_ANDROID_CLEANSPEC
|
||||
|
||||
# Since products and build variants (unfortunately) share the same
|
||||
# PRODUCT_OUT staging directory, things can get out of sync if different
|
||||
|
|
Loading…
Reference in New Issue