summaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
authorShaopeng Jia <shaopengjia@google.com>2010-02-16 10:20:07 -0800
committerShaopeng Jia <shaopengjia@google.com>2010-02-16 15:37:21 -0800
commit1524ca8c53cd2c3adee0bb2e2b95a93fee976862 (patch)
tree382ebad511396c0cfb6b6a561e1e7138858df68c /Android.mk
parent04b9138e8e28afb66b62d383c78a806eb2abb085 (diff)
downloadlibphonenumber-1524ca8c53cd2c3adee0bb2e2b95a93fee976862.tar.gz
Initial checkin of third party libphonenumber lib.
Change-Id: I73f58bb0e28eed413db0cb23257e534bfbd9db59
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk38
1 files changed, 38 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
new file mode 100644
index 00000000..3df1f923
--- /dev/null
+++ b/Android.mk
@@ -0,0 +1,38 @@
+# Copyright (C) 2009 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_STATIC_JAVA_LIBRARIES := protobuf
+
+LOCAL_SRC_FILES := java/src/com/google/i18n/phonenumbers/AsYouTypeFormatter.java \
+ java/src/com/google/i18n/phonenumbers/NumberParseException.java \
+ java/src/com/google/i18n/phonenumbers/Phonemetadata.java \
+ java/src/com/google/i18n/phonenumbers/Phonenumber.java \
+ java/src/com/google/i18n/phonenumbers/PhoneNumberUtil.java
+
+LOCAL_JAVA_RESOURCE_DIRS := java/resources/com/google/i18n/phonenumbers/src/generated_files
+
+LOCAL_MODULE := libphonenumber
+
+LOCAL_JAVA_LIBRARIES := guava
+include $(BUILD_JAVA_LIBRARY)
+#################################
+include $(CLEAR_VARS)
+
+LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := protobuf:java/lib/protobuf-lite.jar
+include $(BUILD_MULTI_PREBUILT)