rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | ifdef HIDL_V1_1 |
| 2 | |
| 3 | LOCAL_PATH := $(call my-dir) |
| 4 | |
| 5 | include $(CLEAR_VARS) |
| 6 | LOCAL_MODULE := android.hardware.gnss@1.1-impl-mediatek |
| 7 | LOCAL_PROPRIETARY_MODULE := true |
| 8 | LOCAL_MODULE_OWNER := mtk |
| 9 | LOCAL_MODULE_RELATIVE_PATH := hw |
| 10 | LOCAL_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 | |
| 25 | LOCAL_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 | |
| 34 | LOCAL_CFLAGS += -Werror |
| 35 | |
| 36 | include $(BUILD_SHARED_LIBRARY) |
| 37 | |
| 38 | include $(CLEAR_VARS) |
| 39 | LOCAL_MODULE_RELATIVE_PATH := hw |
| 40 | LOCAL_PROPRIETARY_MODULE := true |
| 41 | LOCAL_MODULE_OWNER := mtk |
| 42 | LOCAL_MODULE := android.hardware.gnss@1.1-service-mediatek |
| 43 | LOCAL_INIT_RC := android.hardware.gnss@1.1-service-mediatek.rc |
| 44 | LOCAL_SRC_FILES := \ |
| 45 | service.cpp \ |
| 46 | |
| 47 | LOCAL_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 | |
| 59 | LOCAL_REQUIRED_MODULES := \ |
| 60 | android.hardware.gnss@1.1-impl-mediatek |
| 61 | |
| 62 | include $(BUILD_EXECUTABLE) |
| 63 | |
| 64 | endif |