summaryrefslogtreecommitdiffstats
path: root/core/config.mk
diff options
context:
space:
mode:
authorC. Sean Young <csyoung@google.com>2015-06-12 17:43:46 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-06-12 17:43:46 +0000
commit6f44670ada093f4a11a343dddf0f8d0a0a8280d6 (patch)
tree9b6da3734dead485e8bc686f80c9d55e9a2bbaa1 /core/config.mk
parentabfe10440836f4bbd513b83cf731788099dd81b4 (diff)
parentcbaead4cfe737c96c649672b6c1396c35597b5b7 (diff)
downloadbuild-6f44670ada093f4a11a343dddf0f8d0a0a8280d6.zip
build-6f44670ada093f4a11a343dddf0f8d0a0a8280d6.tar.gz
build-6f44670ada093f4a11a343dddf0f8d0a0a8280d6.tar.bz2
am cbaead4c: am 540772fa: am cf469989: Add new variable SCAN_EXCLUDE_DIRS; specifies directories to exclude when searching source tree.
* commit 'cbaead4cfe737c96c649672b6c1396c35597b5b7': Add new variable SCAN_EXCLUDE_DIRS; specifies directories to exclude when searching source tree.
Diffstat (limited to 'core/config.mk')
-rw-r--r--core/config.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/config.mk b/core/config.mk
index c3ed00f..87cd1cf 100644
--- a/core/config.mk
+++ b/core/config.mk
@@ -157,6 +157,10 @@ endif
# are specific to the user's build configuration.
include $(BUILD_SYSTEM)/envsetup.mk
+# Pruned directory options used when using findleaves.py
+# See envsetup.mk for a description of SCAN_EXCLUDE_DIRS
+FIND_LEAVES_EXCLUDES := $(addprefix --prune=, $(OUT_DIR) $(SCAN_EXCLUDE_DIRS) .repo .git)
+
# The build system exposes several variables for where to find the kernel
# headers:
# TARGET_DEVICE_KERNEL_HEADERS is automatically created for the current