blob: acd55f8efeef05177aa239fb9bba2689d84be806 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001ifdef HIDL_V1_1
2
3LOCAL_PATH := $(call my-dir)
4
5include $(CLEAR_VARS)
6LOCAL_MODULE := android.hardware.gnss@1.1-impl-mediatek
7LOCAL_PROPRIETARY_MODULE := true
8LOCAL_MODULE_OWNER := mtk
9LOCAL_MODULE_RELATIVE_PATH := hw
10LOCAL_SRC_FILES := \
11 ThreadCreationWrapper.cpp \
12 AGnss.cpp \
13 AGnssRil.cpp \
14 Gnss.cpp \
15 GnssBatching.cpp \
16 GnssDebug.cpp \
17 GnssGeofencing.cpp \
18 GnssMeasurement.cpp \
19 GnssNavigationMessage.cpp \
20 GnssNi.cpp \
21 GnssXtra.cpp \
22 GnssConfiguration.cpp \
23 GnssUtils.cpp \
24
25LOCAL_SHARED_LIBRARIES := \
26 liblog \
27 libhidlbase \
28 libhidltransport \
29 libutils \
30 android.hardware.gnss@1.0 \
31 android.hardware.gnss@1.1 \
32 libhardware \
33
34LOCAL_CFLAGS += -Werror
35
36include $(BUILD_SHARED_LIBRARY)
37
38include $(CLEAR_VARS)
39LOCAL_MODULE_RELATIVE_PATH := hw
40LOCAL_PROPRIETARY_MODULE := true
41LOCAL_MODULE_OWNER := mtk
42LOCAL_MODULE := android.hardware.gnss@1.1-service-mediatek
43LOCAL_INIT_RC := android.hardware.gnss@1.1-service-mediatek.rc
44LOCAL_SRC_FILES := \
45 service.cpp \
46
47LOCAL_SHARED_LIBRARIES := \
48 liblog \
49 libcutils \
50 libdl \
51 libbase \
52 libutils \
53 libhardware \
54 libbinder \
55 libhidlbase \
56 libhidltransport \
57 android.hardware.gnss@1.1 \
58
59LOCAL_REQUIRED_MODULES := \
60 android.hardware.gnss@1.1-impl-mediatek
61
62include $(BUILD_EXECUTABLE)
63
64endif