• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1GNSS_CFLAGS := \
2    -Werror \
3    -Wno-error=unused-parameter \
4    -Wno-error=macro-redefined \
5    -Wno-error=reorder \
6    -Wno-error=missing-braces \
7    -Wno-error=self-assign \
8    -Wno-error=enum-conversion \
9    -Wno-error=logical-op-parentheses \
10    -Wno-error=null-arithmetic \
11    -Wno-error=null-conversion \
12    -Wno-error=parentheses-equality \
13    -Wno-error=undefined-bool-conversion \
14    -Wno-error=tautological-compare \
15    -Wno-error=switch \
16    -Wno-error=date-time
17
18LOCAL_SANITIZE := signed-integer-overflow, unsigned-integer-overflow
19
20# GPS-HIDL
21GNSS_HIDL_1_0_TARGET_LIST := msm8960
22GNSS_HIDL_1_0_TARGET_LIST += msm8974
23GNSS_HIDL_1_0_TARGET_LIST += msm8226
24GNSS_HIDL_1_0_TARGET_LIST += msm8610
25GNSS_HIDL_1_0_TARGET_LIST += apq8084
26GNSS_HIDL_1_0_TARGET_LIST += msm8916
27GNSS_HIDL_1_0_TARGET_LIST += msm8994
28GNSS_HIDL_1_0_TARGET_LIST += msm8909
29GNSS_HIDL_1_0_TARGET_LIST += msm8952
30GNSS_HIDL_1_0_TARGET_LIST += msm8992
31GNSS_HIDL_1_0_TARGET_LIST += msm8996
32GNSS_HIDL_2_0_TARGET_LIST := msm8937
33GNSS_HIDL_2_0_TARGET_LIST += msm8953
34GNSS_HIDL_2_0_TARGET_LIST += msm8998
35GNSS_HIDL_2_0_TARGET_LIST += apq8098_latv
36GNSS_HIDL_2_0_TARGET_LIST += sdm710
37GNSS_HIDL_2_0_TARGET_LIST += qcs605
38GNSS_HIDL_2_0_TARGET_LIST += sdm845
39GNSS_HIDL_2_0_TARGET_LIST += sdm660
40GNSS_HIDL_2_0_TARGET_LIST += msmnile
41GNSS_HIDL_2_0_TARGET_LIST += $(MSMSTEPPE)
42GNSS_HIDL_2_0_TARGET_LIST += $(TRINKET)
43GNSS_HIDL_2_0_TARGET_LIST += kona
44GNSS_HIDL_2_0_TARGET_LIST += atoll
45GNSS_HIDL_2_0_TARGET_LIST += lito
46GNSS_HIDL_2_0_TARGET_LIST += bengal
47
48ifneq (,$(filter $(GNSS_HIDL_2_0_TARGET_LIST),$(TARGET_BOARD_PLATFORM)))
49GNSS_HIDL_VERSION = 2.0
50endif
51ifneq (,$(filter $(GNSS_HIDL_1_0_TARGET_LIST),$(TARGET_BOARD_PLATFORM)))
52GNSS_HIDL_VERSION = 1.0
53endif
54ifneq (,$(filter $(GNSS_HIDL_1_1_TARGET_LIST),$(TARGET_BOARD_PLATFORM)))
55GNSS_HIDL_VERSION = 1.1
56endif
57
58GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST := msm8937
59GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += msm8953
60GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += msm8998
61GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += apq8098_latv
62GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += sdm710
63GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += qcs605
64GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += sdm845
65GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += sdm660
66
67ifneq (,$(filter $(GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST),$(TARGET_BOARD_PLATFORM)))
68GNSS_HIDL_LEGACY_MEASURMENTS = true
69endif
70