forked from openkylin/platform_build
core: don't hardcode "out" during findleaves.py invocations.
"out" can be $OUT_DIR Bug: 7183057 Change-Id: I7b52d40de4398f481e47f6d6d719fb550d874f73
This commit is contained in:
parent
3307664326
commit
1390cac3ce
|
@ -64,6 +64,6 @@ INTERNAL_CLEAN_BUILD_VERSION := 6
|
|||
# ************************************************
|
||||
|
||||
subdir_cleanspecs := \
|
||||
$(shell build/tools/findleaves.py --prune=out --prune=.repo --prune=.git . CleanSpec.mk)
|
||||
$(shell build/tools/findleaves.py --prune=$(OUT_DIR) --prune=.repo --prune=.git . CleanSpec.mk)
|
||||
include $(subdir_cleanspecs)
|
||||
subdir_cleanspecs :=
|
||||
|
|
|
@ -147,7 +147,7 @@ endef
|
|||
# $(1): directory to search under
|
||||
# Ignores $(1)/Android.mk
|
||||
define first-makefiles-under
|
||||
$(shell build/tools/findleaves.py --prune=out --prune=.repo --prune=.git \
|
||||
$(shell build/tools/findleaves.py --prune=$(OUT_DIR) --prune=.repo --prune=.git \
|
||||
--mindepth=2 $(1) Android.mk)
|
||||
endef
|
||||
|
||||
|
|
|
@ -479,7 +479,7 @@ else # ONE_SHOT_MAKEFILE
|
|||
# Can't use first-makefiles-under here because
|
||||
# --mindepth=2 makes the prunes not work.
|
||||
subdir_makefiles := \
|
||||
$(shell build/tools/findleaves.py --prune=out --prune=.repo --prune=.git $(subdirs) Android.mk)
|
||||
$(shell build/tools/findleaves.py --prune=$(OUT_DIR) --prune=.repo --prune=.git $(subdirs) Android.mk)
|
||||
|
||||
include $(subdir_makefiles)
|
||||
|
||||
|
|
Loading…
Reference in New Issue