diff options
author | Ying Wang <wangying@google.com> | 2013-08-08 16:34:29 -0700 |
---|---|---|
committer | Ying Wang <wangying@google.com> | 2013-08-09 10:08:30 -0700 |
commit | ad7fd29b312bf588b2be3f799715f34ff8a6d46b (patch) | |
tree | f4a2baa04ef59804af24f9697c6c30a8ef37a7d9 /core/cleanbuild.mk | |
parent | d0ec3286e7d2d2d0fa6643d8d59c956cd46decb1 (diff) | |
download | build-ad7fd29b312bf588b2be3f799715f34ff8a6d46b.zip build-ad7fd29b312bf588b2be3f799715f34ff8a6d46b.tar.gz build-ad7fd29b312bf588b2be3f799715f34ff8a6d46b.tar.bz2 |
Don't bother going through the source tree
Don't bother going through the source tree in more circumstances:
all cleaning goals, helping goals, no-deps goals.
Bug: 10244578
Change-Id: Id53a249085c62838e4193962a85e0ac34f46954f
Diffstat (limited to 'core/cleanbuild.mk')
-rw-r--r-- | core/cleanbuild.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/cleanbuild.mk b/core/cleanbuild.mk index f32d0d1..fa67332 100644 --- a/core/cleanbuild.mk +++ b/core/cleanbuild.mk @@ -14,7 +14,7 @@ # # Don't bother with the cleanspecs if you are running mm/mmm -ifndef ONE_SHOT_MAKEFILE +ifeq ($(ONE_SHOT_MAKEFILE)$(dont_bother),) INTERNAL_CLEAN_STEPS := @@ -100,7 +100,7 @@ clean_steps_file := INTERNAL_CLEAN_STEPS := INTERNAL_CLEAN_BUILD_VERSION := -endif # ifndef ONE_SHOT_MAKEFILE +endif # if not ONE_SHOT_MAKEFILE dont_bother # Since products and build variants (unfortunately) share the same # PRODUCT_OUT staging directory, things can get out of sync if different |