SDK source pkg: exclude all /tools/ and /tests/ directories.
Change-Id: Ia85105385280e21f073cef22e1130ad369bea121
diff --git a/build/tools/mk_sources_zip.py b/build/tools/mk_sources_zip.py
index 4aaa714..76b5b9e 100755
--- a/build/tools/mk_sources_zip.py
+++ b/build/tools/mk_sources_zip.py
@@ -39,7 +39,7 @@
self.CNT_NOPKG = 0
# DIR is the list of directories to scan in TOPDIR.
self.DIR = "frameworks libcore"
- self.IGNORE_DIR = [ "hosttests" ]
+ self.IGNORE_DIR = [ "hosttests" "tools" "tests" ]
# IGNORE is a list of namespaces to ignore. Must be java
# package definitions (e.g. "com.blah.foo.")
self.IGNORE = [ "sun.", "libcore.", "dalvik.",