1ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),)
2ifneq ($(BUILD_TINY_ANDROID),true)
3#Compile this library only for builds with the latest modem image
4
5LOCAL_PATH := $(call my-dir)
6
7include $(CLEAR_VARS)
8
9## Libs
10LOCAL_SHARED_LIBRARIES := \
11    libutils \
12    libcutils
13
14LOCAL_SRC_FILES += \
15    loc_log.cpp \
16    loc_cfg.cpp \
17    msg_q.c \
18    linked_list.c
19
20LOCAL_CFLAGS += \
21     -fno-short-enums \
22     -D_ANDROID_
23
24## Includes
25LOCAL_C_INCLUDES:=
26
27LOCAL_COPY_HEADERS_TO:= gps.utils/
28LOCAL_COPY_HEADERS:= \
29   loc_log.h \
30   loc_cfg.h \
31   log_util.h \
32   linked_list.h \
33   msg_q.h
34
35LOCAL_MODULE := libgps.utils
36
37LOCAL_MODULE_TAGS := optional
38
39LOCAL_PRELINK_MODULE := false
40
41LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)
42include $(BUILD_SHARED_LIBRARY)
43endif # not BUILD_TINY_ANDROID
44endif # BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE
45
46