Static Libs for Popular CTS Stub Components
com.android.cts.stub is growing very large. Split apart some of the popular components into separate static libraries. This should allow packages to depend on the components they need rather than all of cts.stub. Current code at the moment doesn't have to be changed, because I have CtsTestStubs depending on these new shared libraries. However, change the net package to depend on the ctstestserver static library as a proof of concept rather than including its source directly. Change-Id: I32c54eab3ddfb1d4391d6ffc347fbc9cb2fe97f9
This commit is contained in:
@@ -24,11 +24,12 @@ LOCAL_MODULE_PATH := $(TARGET_OUT_DATA_APPS)
|
||||
LOCAL_JAVA_LIBRARIES := android.test.runner
|
||||
|
||||
# include CtsTestServer as a temporary hack to free net.cts from cts.stub.
|
||||
LOCAL_SRC_FILES := $(call all-java-files-under, src) \
|
||||
../../src/android/webkit/cts/CtsTestServer.java
|
||||
LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
||||
|
||||
LOCAL_PACKAGE_NAME := CtsNetTestCases
|
||||
|
||||
LOCAL_STATIC_JAVA_LIBRARIES := ctstestserver
|
||||
|
||||
# uncomment when dalvik.annotation.Test* are removed or part of SDK
|
||||
#LOCAL_SDK_VERSION := current
|
||||
|
||||
|
||||
Reference in New Issue
Block a user