From 27ec925d470939d69f4f14fcaf2db5a9b1a0e181 Mon Sep 17 00:00:00 2001 From: Jerome Gaillard Date: Thu, 21 Oct 2021 18:10:54 +0100 Subject: [PATCH] Do not include layoutlib in the SDK sources The project inside frameworks/layoutlib is only used by Android Studio for rendering Android resources. It is not part of the Android OS, and it doesn't make sense that it is included in the SDK sources. Bug: N/A Test: build SDK sources and check no file from frameworks/layoutlib present Change-Id: Ie88108776cc73c398e1b4a023d9889f36394b127 --- build/tools/mk_sources_zip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/tools/mk_sources_zip.py b/build/tools/mk_sources_zip.py index 632bbfbb5..9cee140d8 100755 --- a/build/tools/mk_sources_zip.py +++ b/build/tools/mk_sources_zip.py @@ -39,7 +39,7 @@ class Params(object): self.CNT_NOPKG = 0 # DIR is the list of directories to scan in TOPDIR. self.DIR = "frameworks libcore" - self.IGNORE_DIR = [ "hosttests", "tools", "tests", "samples" ] + self.IGNORE_DIR = [ "hosttests", "tools", "tests", "samples", "layoutlib" ] # IGNORE is a list of namespaces to ignore. Must be java # package definitions (e.g. "com.blah.foo.") self.IGNORE = [ "sun.", "libcore.", "dalvik.",