summaryrefslogtreecommitdiffstats
path: root/core/config.mk
diff options
context:
space:
mode:
authorC. Sean Young <csyoung@google.com>2015-06-12 16:29:25 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-06-12 16:29:25 +0000
commitcbaead4cfe737c96c649672b6c1396c35597b5b7 (patch)
tree41f992f2e2c0ca2dda4f6244f8d41b18fa2e17fd /core/config.mk
parent30b16ac6a4d4658d927d48476081de7542b5989f (diff)
parent540772fa2287e63a0c745229fb72b78903c9cd70 (diff)
downloadbuild-cbaead4cfe737c96c649672b6c1396c35597b5b7.zip
build-cbaead4cfe737c96c649672b6c1396c35597b5b7.tar.gz
build-cbaead4cfe737c96c649672b6c1396c35597b5b7.tar.bz2
am 540772fa: am cf469989: Add new variable SCAN_EXCLUDE_DIRS; specifies directories to exclude when searching source tree.
* commit '540772fa2287e63a0c745229fb72b78903c9cd70': 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 83295d9..e32f901 100644
--- a/core/config.mk
+++ b/core/config.mk
@@ -150,6 +150,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