aboutsummaryrefslogtreecommitdiffstats
path: root/lint/cli
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2012-03-19 09:32:15 -0700
committerTor Norbye <tnorbye@google.com>2012-03-19 09:32:15 -0700
commit8ed01fea9feb66e4e223c094c3cf7011afea28cb (patch)
tree8990827aee42a121684a45a4b734e04dd1b8bf3d /lint/cli
parent2cdb343fb2bee6b0f15c5d70cd49412b43fb0026 (diff)
downloadsdk-8ed01fea9feb66e4e223c094c3cf7011afea28cb.zip
sdk-8ed01fea9feb66e4e223c094c3cf7011afea28cb.tar.gz
sdk-8ed01fea9feb66e4e223c094c3cf7011afea28cb.tar.bz2
Dynamically link Guava and ASM in lint jars
The Makefiles for the lint, lint_api and lint_check libraries were *statically* linking in the Guava and ASM libraries. This made them much larger than necessary (~1.6M instead of ~100K), and for no good reason since the classes were already on the classpath, and of course this duplicates them repeatedly. Change-Id: Iec3ed623429ab8b7b8ba78f5d7a069853ae665c3
Diffstat (limited to 'lint/cli')
-rw-r--r--lint/cli/Android.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/lint/cli/Android.mk b/lint/cli/Android.mk
index acf5241..ce6c5ad 100644
--- a/lint/cli/Android.mk
+++ b/lint/cli/Android.mk
@@ -13,8 +13,7 @@ LOCAL_JAVA_LIBRARIES := \
common \
lint_api \
lint_checks \
- lombok-ast-0.2
-LOCAL_STATIC_JAVA_LIBRARIES := \
+ lombok-ast-0.2 \
asm-tools \
asm-tree-tools \
guava-tools