aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSasha Smundak <asmundak@google.com>2019-01-04 16:47:21 -0800
committerSasha Smundak <asmundak@google.com>2019-01-14 13:40:48 -0800
commit356bcc337d8b543da5b1b580a65f97a1969c114c (patch)
tree3af91be66784dd97e55f8c1762a460e7f39068fd
parent6da8030a375d28aec98fd749b815337da78fc057 (diff)
downloadvolley-356bcc337d8b543da5b1b580a65f97a1969c114c.tar.gz
See build/soong/README.md for more information Change-Id: I4b0ffea7a93f44280235c531ff8b66af1731dba4 Fixes: 122333028 Test: treehugger
-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))
-