aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSasha Smundak <asmundak@google.com>2019-01-15 02:32:07 -0800
committerandroid-build-merger <android-build-merger@google.com>2019-01-15 02:32:07 -0800
commita9fd4600f289a6e71cfc239520d1ec14befd6861 (patch)
tree5b9ab3f02d73297c500224125f9cc44ffa60eec3
parentc63c23a42e3965d31e9542d4d72060461cffd61e (diff)
parente3a5477217b1b7c174fc7f8258db96702a5b84f6 (diff)
downloadrappor-a9fd4600f289a6e71cfc239520d1ec14befd6861.tar.gz
Convert Android.mk file to Android.bp am: 44e54c2848
am: e3a5477217 Change-Id: I285eb097810118b16e3487773477a9b5c87d0f56
-rw-r--r--Android.bp14
-rw-r--r--Android.mk25
2 files changed, 14 insertions, 25 deletions
diff --git a/Android.bp b/Android.bp
index e98e467..fcae131 100644
--- a/Android.bp
+++ b/Android.bp
@@ -23,3 +23,17 @@ java_library {
],
srcs: ["client/java/**/*.java"],
}
+
+java_library {
+ name: "rappor-tests",
+ java_version: "1.7",
+ static_libs: [
+ "hamcrest-library",
+ "rappor",
+ "guava",
+ "junit",
+ ],
+ libs: ["jsr305"],
+ sdk_version: "core_current",
+ srcs: ["client/javatest/**/*.java"],
+}
diff --git a/Android.mk b/Android.mk
deleted file mode 100644
index 1fb2caf..0000000
--- a/Android.mk
+++ /dev/null
@@ -1,25 +0,0 @@
-#
-# Copyright (C) 2017 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 := rappor-tests
-LOCAL_JAVA_LANGUAGE_VERSION := 1.7
-LOCAL_STATIC_JAVA_LIBRARIES := hamcrest-library rappor guava junit
-LOCAL_JAVA_LIBRARIES := jsr305
-LOCAL_SDK_VERISON := core_current
-LOCAL_SRC_FILES := $(call all-java-files-under, client/javatest)
-include $(BUILD_STATIC_JAVA_LIBRARY)