summaryrefslogtreecommitdiff
path: root/core/tests/bandwidthtests
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2014-11-27 18:17:35 +0000
committerNarayan Kamath <narayan@google.com>2015-02-12 11:15:49 +0000
commit3bdd327f8532a79b83f575cc62e8eb09a1f93f3d (patch)
tree92480de80f3818f6f1746df0ea719cf547324b22 /core/tests/bandwidthtests
parent8b0c8ffb2d921ce5c90bcaaa3f1182d531d90d2c (diff)
Move apache specific portions of android.net.http to external/apache-http.
We continue to compile external/apache-http into ext.jar. This contains a few changes apart fom the classes moving around : - Makefile changes to build docs and api-stubs for now. A future change will revert these changes and remove these classes from stubs and docs. - Hardcode event IDs in legacyerrorstrings to avoid a dependency between the frameworks and apache. These strings are on their way out and will never change anyway. - Remove imports due to {@link} tags and use {@code} instead. - Remove an accidental(?) dependency on apache commons code that's a part of apache-http. bug: 18027885 Change-Id: I51cd038d846ec7d02c283a4541b10a6a9cf62ecf
Diffstat (limited to 'core/tests/bandwidthtests')
-rw-r--r--core/tests/bandwidthtests/Android.mk4
-rw-r--r--core/tests/bandwidthtests/AndroidManifest.xml1
2 files changed, 3 insertions, 2 deletions
diff --git a/core/tests/bandwidthtests/Android.mk b/core/tests/bandwidthtests/Android.mk
index 6871efd7dc01..cb44721b7cec 100644
--- a/core/tests/bandwidthtests/Android.mk
+++ b/core/tests/bandwidthtests/Android.mk
@@ -22,9 +22,9 @@ LOCAL_MODULE_TAGS := tests
LOCAL_SRC_FILES := \
$(call all-java-files-under, src)
-LOCAL_JAVA_LIBRARIES := android.test.runner
+LOCAL_JAVA_LIBRARIES := android.test.runner org.apache.http.legacy
LOCAL_PACKAGE_NAME := BandwidthTests
include $(BUILD_PACKAGE)
-include $(call all-makefiles-under,$(LOCAL_PATH)) \ No newline at end of file
+include $(call all-makefiles-under,$(LOCAL_PATH))
diff --git a/core/tests/bandwidthtests/AndroidManifest.xml b/core/tests/bandwidthtests/AndroidManifest.xml
index 24221bcbe040..d0a61987d488 100644
--- a/core/tests/bandwidthtests/AndroidManifest.xml
+++ b/core/tests/bandwidthtests/AndroidManifest.xml
@@ -19,6 +19,7 @@
<application >
<uses-library android:name="android.test.runner" />
+ <uses-library android:name="org.apache.http.legacy" android:required="false" />
</application>
<instrumentation