summaryrefslogtreecommitdiffstats
path: root/location/lib/Android.mk
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2010-09-28 14:24:39 -0700
committerDianne Hackborn <hackbod@google.com>2010-09-28 15:19:29 -0700
commit63c82c027bb3bd2b803e3225c9135c77b1f92b7b (patch)
tree077aee528f27fcb279d2409b46afa882ad3c0325 /location/lib/Android.mk
parent65a5ba45559e88a50c258d794a1728498c248376 (diff)
downloadframeworks_base-63c82c027bb3bd2b803e3225c9135c77b1f92b7b.zip
frameworks_base-63c82c027bb3bd2b803e3225c9135c77b1f92b7b.tar.gz
frameworks_base-63c82c027bb3bd2b803e3225c9135c77b1f92b7b.tar.bz2
Add location shared library for location provider APIs.
First part, adding the existing classes in their new library. The old code will be removed once everything gets switched to using this. Change-Id: I27b6ad8c75c16f35300090e95f12a7db5608e3a3
Diffstat (limited to 'location/lib/Android.mk')
-rw-r--r--location/lib/Android.mk45
1 files changed, 45 insertions, 0 deletions
diff --git a/location/lib/Android.mk b/location/lib/Android.mk
new file mode 100644
index 0000000..a06478a
--- /dev/null
+++ b/location/lib/Android.mk
@@ -0,0 +1,45 @@
+#
+# Copyright (C) 2010 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)
+
+# the library
+# ============================================================
+include $(CLEAR_VARS)
+
+LOCAL_MODULE:= com.android.location.provider
+LOCAL_MODULE_TAGS := optional
+
+LOCAL_SRC_FILES := \
+ $(call all-subdir-java-files)
+
+include $(BUILD_JAVA_LIBRARY)
+
+
+# ==== com.google.location.xml lib def ========================
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := com.android.location.provider.xml
+LOCAL_MODULE_TAGS := optional
+
+LOCAL_MODULE_CLASS := ETC
+
+# This will install the file in /system/etc/permissions
+#
+LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/permissions
+
+LOCAL_SRC_FILES := $(LOCAL_MODULE)
+
+include $(BUILD_PREBUILT)