aboutsummaryrefslogtreecommitdiff
path: root/gps/loc_api/Android.mk
diff options
context:
space:
mode:
authorBruno Martins <bgcngm@gmail.com>2016-11-16 23:40:24 +0000
committerdavidevinavil <davidevinavil@gmail.com>2017-01-21 18:27:40 +0100
commitdb17d990d994300016c7e88cecad7de81f5e79e5 (patch)
tree8c1ec061f63ef1271b03bccc22fe945e6f6b6000 /gps/loc_api/Android.mk
parentb6b44db0293d2e81356ae8f35c2583f6129ea62c (diff)
z2_plus: Update GPS stack
* Tag LA.UM.5.5.r1-00100-8x96.0 Change-Id: I18cd979799001ccbaae6d08d07f907689ac5a00a
Diffstat (limited to 'gps/loc_api/Android.mk')
-rw-r--r--gps/loc_api/Android.mk28
1 files changed, 11 insertions, 17 deletions
diff --git a/gps/loc_api/Android.mk b/gps/loc_api/Android.mk
index ca5347d..8bfdd1b 100644
--- a/gps/loc_api/Android.mk
+++ b/gps/loc_api/Android.mk
@@ -1,19 +1,13 @@
-#
-# Copyright (C) 2016 The CyanogenMod 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 $(call all-subdir-makefiles,$(LOCAL_PATH))
+# add RPC dirs if RPC is available
+ifneq ($(TARGET_NO_RPC),true)
+
+GPS_DIR_LIST += $(LOCAL_PATH)/libloc_api-rpc-50001/
+
+endif #TARGET_NO_RPC
+
+GPS_DIR_LIST += $(LOCAL_PATH)/libloc_api_50001/
+
+#call the subfolders
+include $(addsuffix Android.mk, $(GPS_DIR_LIST))