aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSasha Smundak <asmundak@google.com>2019-01-15 11:00:37 -0800
committerandroid-build-merger <android-build-merger@google.com>2019-01-15 11:00:37 -0800
commit01151f5a226b17402030883319bbd343b701c776 (patch)
tree3af91be66784dd97e55f8c1762a460e7f39068fd
parenta5f0f7b2d5616b12c90edbc8d19f2aa76ecc3913 (diff)
parentf2502f7bd43f80fbd90087da95007353b7cfa0d1 (diff)
downloadvolley-01151f5a226b17402030883319bbd343b701c776.tar.gz
Convert Android.mk to Android.bp. am: 356bcc337d
am: f2502f7bd4 Change-Id: I97044b17f5fd40d732203cc84a75e871dcbc9005
-rw-r--r--Android.bp25
-rw-r--r--Android.mk32
2 files changed, 25 insertions, 32 deletions
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..8113313
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,25 @@
+//
+// Copyright (C) 2011 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.
+//
+
+java_library {
+
+ name: "volley",
+ sdk_version: "17",
+ srcs: ["src/main/java/**/*.java"],
+
+ // Only needed at compile-time.
+ libs: ["android-support-annotations"],
+}
diff --git a/Android.mk b/Android.mk
deleted file mode 100644
index 5425c8b..0000000
--- a/Android.mk
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# Copyright (C) 2011 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 := volley
-LOCAL_SDK_VERSION := 17
-LOCAL_SRC_FILES := $(call all-java-files-under, src/main/java)
-
-# Only needed at compile-time.
-LOCAL_JAVA_LIBRARIES := android-support-annotations
-
-include $(BUILD_STATIC_JAVA_LIBRARY)
-
-# Include build files in subdirectories
-include $(call all-makefiles-under,$(LOCAL_PATH))
-