-
Notifications
You must be signed in to change notification settings - Fork 115
/
Android.mk
48 lines (42 loc) · 2.01 KB
/
Android.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
ifeq ($(call my-dir),$(call project-path-for,qcom-gps))
# TODO: Find a better way to separate build configs for ADP vs non-ADP devices
ifneq ($(TARGET_BOARD_AUTO),true)
ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),)
LOCAL_PATH := $(call my-dir)
ifeq ($(BOARD_VENDOR_QCOM_LOC_PDK_FEATURE_SET),true)
ifneq ($(filter msm8960 apq8064 ,$(TARGET_BOARD_PLATFORM)),)
#For msm8960/apq8064 targets
include $(call all-named-subdir-makefiles,msm8960)
else ifneq ($(filter msm8974 ,$(TARGET_BOARD_PLATFORM)),)
#For msm8974 target
include $(call all-named-subdir-makefiles,msm8974)
else ifneq ($(filter msm8084 ,$(TARGET_BOARD_PLATFORM)),)
#For msm8084 target
include $(call all-named-subdir-makefiles,msm8084)
else ifneq ($(filter msm8992 msm8994 ,$(TARGET_BOARD_PLATFORM)),)
#For msm8992/msm8994 targets
include $(call all-named-subdir-makefiles,msm8994)
else ifneq ($(filter msm8996 ,$(TARGET_BOARD_PLATFORM)),)
#For msm8996 target
include $(call all-named-subdir-makefiles,msm8996)
else ifneq ($(filter msmcobalt ,$(TARGET_BOARD_PLATFORM)),)
#For msmcobalt target
include $(call all-named-subdir-makefiles,msmcobalt)
else ifeq ($(filter msm8916,$(TARGET_BOARD_PLATFORM)),)
#For all other targets
GPS_DIRS=core utils loc_api platform_lib_abstractions etc
include $(call all-named-subdir-makefiles,$(GPS_DIRS))
endif #TARGET_BOARD_PLATFORM
else
ifneq ($(filter msm8909 ,$(TARGET_BOARD_PLATFORM)),)
#For msm8909 target
GPS_DIRS=msm8909/core msm8909/utils msm8909/loc_api msm8909/etc
include $(call all-named-subdir-makefiles,$(GPS_DIRS))
else ifeq ($(filter msm8916 ,$(TARGET_BOARD_PLATFORM)),)
GPS_DIRS=core utils loc_api platform_lib_abstractions etc
include $(call all-named-subdir-makefiles,$(GPS_DIRS))
endif
endif #BOARD_VENDOR_QCOM_LOC_PDK_FEATURE_SET
endif #BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE
endif
endif