diff options
author | Colin Cross | 2018-12-14 00:44:25 -0600 |
---|---|---|
committer | Colin Cross | 2018-12-14 01:32:06 -0600 |
commit | 2bb1f518fdf8b1483ecb876e9acb9431f93eb8e6 (patch) | |
tree | 82ae4962603ad63231d249166448badce30fca44 /CleanSpec.mk | |
parent | 9eaeb56c246ac8b0ba0c305ba2e88d98d09b9225 (diff) | |
download | platform-build-2bb1f518fdf8b1483ecb876e9acb9431f93eb8e6.tar.gz platform-build-2bb1f518fdf8b1483ecb876e9acb9431f93eb8e6.tar.xz platform-build-2bb1f518fdf8b1483ecb876e9acb9431f93eb8e6.zip |
Correctly create directories before unzipping dexpreopt zip
Ie7daa94e107d53eff075ca58dbe721bd9d7fc8c2 attempted to pre-create
the directories that unzip would unzip into, but incorrectly
created them in the top of the source tree instead of in
$(PRODUCT_OUT). Fix the directory location and add a cleanspec
to clean up the incorrect directories in the source tree.
Bug: 119412419
Test: m correctly cleans up incorrect directories in source tree
Test: extract unzip command from out/verbose.log.gz and add bash -x
Change-Id: Ica006a007d112c232311435aaac0c0e476232b67
Diffstat (limited to 'CleanSpec.mk')
-rw-r--r-- | CleanSpec.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CleanSpec.mk b/CleanSpec.mk index 91e6e6605..45ca7c18f 100644 --- a/CleanSpec.mk +++ b/CleanSpec.mk | |||
@@ -525,6 +525,9 @@ $(call add-clean-step, rm -f $(HOST_OUT)/bin/aidegen) | |||
525 | # Remove perfprofd | 525 | # Remove perfprofd |
526 | $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/bin/perfprofd) | 526 | $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/bin/perfprofd) |
527 | 527 | ||
528 | # Remove incorrectly created directories in the source tree | ||
529 | $(call add-clean-step, find system/app system/priv-app system/framework system_other -depth -type d -print0 | xargs -0 rmdir) | ||
530 | |||
528 | # ************************************************ | 531 | # ************************************************ |
529 | # NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST | 532 | # NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST |
530 | # ************************************************ | 533 | # ************************************************ |