From 92d5fd672373b22e4a1d920d681c611545d9f68f Mon Sep 17 00:00:00 2001 From: Zhao Wei Liew Date: Tue, 8 Nov 2016 21:40:24 +0800 Subject: [PATCH] land: gps: Modify for CM build system Change-Id: I48097d23bc302ff5df5d90cfaf2c4a5a5d295a3f --- gps/Android.mk | 17 +++++++++++++++++ gps/loc_api/libloc_api_50001/Android.mk | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 gps/Android.mk diff --git a/gps/Android.mk b/gps/Android.mk new file mode 100644 index 0000000..ea48496 --- /dev/null +++ b/gps/Android.mk @@ -0,0 +1,17 @@ +# +# 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. +# + +include $(call all-subdir-makefiles,$(LOCAL_PATH)) diff --git a/gps/loc_api/libloc_api_50001/Android.mk b/gps/loc_api/libloc_api_50001/Android.mk index 62905e8..58c0e59 100644 --- a/gps/loc_api/libloc_api_50001/Android.mk +++ b/gps/loc_api/libloc_api_50001/Android.mk @@ -41,7 +41,7 @@ LOCAL_CFLAGS += \ LOCAL_C_INCLUDES:= \ $(TARGET_OUT_HEADERS)/gps.utils \ $(TARGET_OUT_HEADERS)/libloc_core \ - hardware/qcom/gps/loc_api/libloc_api_50001 \ + $(call project-path-for,qcom-gps)/loc_api/libloc_api_50001 \ $(TARGET_OUT_HEADERS)/libflp LOCAL_COPY_HEADERS_TO:= libloc_eng/