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
diff --git a/Android.mk b/Android.mk
index a20798d..44fdb77 100644
--- a/Android.mk
+++ b/Android.mk
@@ -614,7 +614,10 @@
# TODO: deal with com/google/android/googleapps
packages_to_document := \
android \
- javax/microedition/khronos
+ javax/microedition/khronos \
+ org/apache/http/conn \
+ org/apache/http/params
+
# Search through the base framework dirs for these packages.
# The result will be relative to frameworks/base.
@@ -635,7 +638,6 @@
include external/junit/Common.mk
non_base_dirs := \
- ../../external/apache-http/src/org/apache/http \
../opt/telephony/src/java/android/provider \
../opt/telephony/src/java/android/telephony \
../opt/telephony/src/java/android/telephony/gsm \
@@ -1024,13 +1026,8 @@
# Build ext.jar
# ============================================================
-# NOTICE notes for non-obvious sections
-# apache-http - covered by the Apache Commons section.
-
-
ext_dirs := \
../../external/nist-sip/java \
- ../../external/apache-http/src \
../../external/tagsoup/src \
ext_src_files := $(call all-java-files-under,$(ext_dirs))