android_device_samsung_c1-c.../gpswrapper/Android.mk
Kolja Dummann c169dec615 gpswrapper: add gpswrapper to wrap around the samsung lib.
this catches a call to 'update_network_state' cause this is dead code
in the Samsung lib. Samsung modified the framework to not call the
JNI that will end up calling 'update_network_state'. It just replaces
this call with a empty function.
2011-06-19 09:57:30 +02:00

26 lines
419 B
Makefile
Executable File

ifeq ($(BOARD_USES_GPSWRAPPER),true)
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := gps.$(TARGET_BOOTLOADER_BOARD_NAME)
LOCAL_SHARED_LIBRARIES:= \
liblog \
libdl
LOCAL_SRC_FILES += \
gps.c
LOCAL_CFLAGS += \
-fno-short-enums
LOCAL_PRELINK_MODULE := false
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
include $(BUILD_SHARED_LIBRARY)
endif