blob: db53afff867653629ef5db9cd2f76dc6fe40a6ac [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001#ifdef HIDL_V1_0
2
3LOCAL_PATH := $(call my-dir)
4
5include $(CLEAR_VARS)
6LOCAL_MODULE := android.hardware.gnss@1.0-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 libhardware \
32
33LOCAL_CFLAGS += -Werror
34
35include $(BUILD_SHARED_LIBRARY)
36
37include $(CLEAR_VARS)
38LOCAL_MODULE_RELATIVE_PATH := hw
39LOCAL_PROPRIETARY_MODULE := true
40LOCAL_MODULE_OWNER := mtk
41LOCAL_MODULE := android.hardware.gnss@1.0-service-mediatek
42LOCAL_INIT_RC := android.hardware.gnss@1.0-service-mediatek.rc
43LOCAL_SRC_FILES := \
44 service.cpp \
45
46LOCAL_SHARED_LIBRARIES := \
47 liblog \
48 libcutils \
49 libdl \
50 libbase \
51 libutils \
52 libhardware \
53 libbinder \
54 libhidlbase \
55 libhidltransport \
56 android.hardware.gnss@1.0 \
57
58LOCAL_REQUIRED_MODULES := \
59 android.hardware.gnss@1.0-impl-mediatek
60
61include $(BUILD_EXECUTABLE)
62
63#endif