diff options
author | Narayan Kamath <narayan@google.com> | 2015-01-20 12:55:52 +0000 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2015-01-20 13:28:48 +0000 |
commit | df5e4d48a514b5703d4d75d814cf5fe39497f865 (patch) | |
tree | a53102a2ca59d895daf6331cf5adbe08db246999 | |
parent | 49fa2d06482b1af59dadf2a19388154b617d126f (diff) | |
download | android_external_apache-http-df5e4d48a514b5703d4d75d814cf5fe39497f865.tar.gz android_external_apache-http-df5e4d48a514b5703d4d75d814cf5fe39497f865.tar.bz2 android_external_apache-http-df5e4d48a514b5703d4d75d814cf5fe39497f865.zip |
Add placeholder library for org.apache.http.legacy.
This lets us move forward with the apache removal without
being blocked on the finalization of the API for the previous
release. We can drop the real library into place when we're
free to make API removal changes again on master.
bug: 18027885
Change-Id: I4aa62176e334939095f7a2c210c9180c8feb4019
-rw-r--r-- | Android.mk | 24 | ||||
-rw-r--r-- | placeholder/org/apache/http/PlaceHolder.java | 20 |
2 files changed, 44 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk new file mode 100644 index 0000000..463fb6b --- /dev/null +++ b/Android.mk @@ -0,0 +1,24 @@ +# Copyright (C) 2014 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +LOCAL_PATH:= $(call my-dir) + +include $(CLEAR_VARS) +LOCAL_MODULE := org.apache.http.legacy +LOCAL_MODULE_TAGS := optional +LOCAL_SRC_FILES := \ + $(call all-java-files-under,placeholder) + +LOCAL_MODULE_TAGS := optional +include $(BUILD_JAVA_LIBRARY) diff --git a/placeholder/org/apache/http/PlaceHolder.java b/placeholder/org/apache/http/PlaceHolder.java new file mode 100644 index 0000000..20ebfc0 --- /dev/null +++ b/placeholder/org/apache/http/PlaceHolder.java @@ -0,0 +1,20 @@ +/* + * Copyright (C) 2014 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.http; + +public class PlaceHolder { +} |