• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1LOCAL_PATH := $(call my-dir)
2
3qcom_qti_common_cflags := \
4    -Wall \
5    -Werror \
6    -Wno-format \
7    -Wno-unused-parameter \
8    -Wno-unused-private-field \
9
10include $(CLEAR_VARS)
11LOCAL_MODULE := android.hardware.gnss@1.0-impl-qti
12LOCAL_VENDOR_MODULE := true
13LOCAL_MODULE_OWNER := qti
14LOCAL_MODULE_RELATIVE_PATH := hw
15LOCAL_CFLAGS := $(qcom_qti_common_cflags)
16LOCAL_SRC_FILES := \
17    AGnss.cpp \
18    Gnss.cpp \
19    GnssBatching.cpp \
20    GnssGeofencing.cpp \
21    GnssMeasurement.cpp \
22    GnssNi.cpp \
23    GnssConfiguration.cpp \
24    GnssDebug.cpp \
25    AGnssRil.cpp
26
27LOCAL_SRC_FILES += \
28    location_api/LocationUtil.cpp \
29    location_api/GnssAPIClient.cpp \
30    location_api/GeofenceAPIClient.cpp \
31    location_api/FlpAPIClient.cpp \
32    location_api/GnssMeasurementAPIClient.cpp \
33
34LOCAL_C_INCLUDES:= \
35    $(LOCAL_PATH)/location_api \
36    $(TARGET_OUT_HEADERS)/gps.utils \
37    $(TARGET_OUT_HEADERS)/libloc_core \
38    $(TARGET_OUT_HEADERS)/libloc_pla \
39    $(TARGET_OUT_HEADERS)/liblocation_api \
40
41LOCAL_SHARED_LIBRARIES := \
42    liblog \
43    libhidlbase \
44    libhidltransport \
45    libhwbinder \
46    libutils \
47    android.hardware.gnss@1.0 \
48
49LOCAL_SHARED_LIBRARIES += \
50    libloc_core \
51    libgps.utils \
52    libdl \
53    libloc_pla \
54    liblocation_api \
55
56include $(BUILD_SHARED_LIBRARY)
57
58include $(CLEAR_VARS)
59LOCAL_MODULE := android.hardware.gnss@1.0-service-qti
60LOCAL_MODULE_OWNER := qti
61LOCAL_MODULE_RELATIVE_PATH := hw
62LOCAL_INIT_RC := android.hardware.gnss@1.0-service-qti.rc
63LOCAL_VENDOR_MODULE := true
64LOCAL_CFLAGS := $(qcom_qti_common_cflags)
65LOCAL_SRC_FILES := \
66    service.cpp \
67
68LOCAL_C_INCLUDES:= \
69    $(LOCAL_PATH)/location_api \
70    $(TARGET_OUT_HEADERS)/gps.utils \
71    $(TARGET_OUT_HEADERS)/libloc_core \
72    $(TARGET_OUT_HEADERS)/libloc_pla \
73    $(TARGET_OUT_HEADERS)/liblocation_api \
74
75
76LOCAL_SHARED_LIBRARIES := \
77    liblog \
78    libcutils \
79    libdl \
80    libbase \
81    libutils \
82
83LOCAL_SHARED_LIBRARIES += \
84    libhwbinder \
85    libhidlbase \
86    libhidltransport \
87    android.hardware.gnss@1.0 \
88
89include $(BUILD_EXECUTABLE)
90