Skip to content
Snippets Groups Projects
Commit 975b7399 authored by Julien Desprez's avatar Julien Desprez
Browse files

Consolidate loganalysis and tradefed build rules

Save about 4MB of jar size by avoiding statically
shipping some library several times.

Test: make, unit tests
Bug: 77915666
Change-Id: Iec5b24d4f2d85159bf250eded431c8e89f40f7c1
parent c5161757
No related branches found
No related tags found
No related merge requests found
...@@ -18,9 +18,9 @@ java_library_host { ...@@ -18,9 +18,9 @@ java_library_host {
srcs: [ "src/**/*.java" ], srcs: [ "src/**/*.java" ],
static_libs: [ libs: [
"guava-18.0-prebuilt", "guava",
"json-prebuilt",
"junit", "junit",
"json-prebuilt",
], ],
} }
...@@ -24,8 +24,7 @@ LOCAL_JAVACFLAGS += -g -Xlint ...@@ -24,8 +24,7 @@ LOCAL_JAVACFLAGS += -g -Xlint
LOCAL_MODULE := loganalysis-tests LOCAL_MODULE := loganalysis-tests
LOCAL_MODULE_TAGS := optional LOCAL_MODULE_TAGS := optional
LOCAL_STATIC_JAVA_LIBRARIES := easymock junit-host LOCAL_JAVA_LIBRARIES := loganalysis json-prebuilt junit-host easymock
LOCAL_JAVA_LIBRARIES := loganalysis
include $(BUILD_HOST_JAVA_LIBRARY) include $(BUILD_HOST_JAVA_LIBRARY)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment