-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'LA.UM.9.12.r1-08600-SMxx50.0' of gps into lineage-18.1
"LA.UM.9.12.r1-08600-SMxx50.0" Change-Id: I0ab813fe8ed2c840474ec45f4445e1a9454d41f7
- Loading branch information
Showing
173 changed files
with
12,028 additions
and
2,152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
GNSS_CFLAGS = [ | ||
"-Werror", | ||
"-Wno-error=unused-parameter", | ||
"-Wno-error=macro-redefined", | ||
"-Wno-error=reorder", | ||
"-Wno-error=missing-braces", | ||
"-Wno-error=self-assign", | ||
"-Wno-error=enum-conversion", | ||
"-Wno-error=logical-op-parentheses", | ||
"-Wno-error=null-arithmetic", | ||
"-Wno-error=null-conversion", | ||
"-Wno-error=parentheses-equality", | ||
"-Wno-error=undefined-bool-conversion", | ||
"-Wno-error=tautological-compare", | ||
"-Wno-error=switch", | ||
"-Wno-error=date-time", | ||
] | ||
|
||
/* Activate the following for regression testing */ | ||
GNSS_SANITIZE = { | ||
/* address: true,*/ | ||
cfi: true, | ||
misc_undefined: [ | ||
"bounds", | ||
"null", | ||
"unreachable", | ||
"integer", | ||
], | ||
} | ||
|
||
/* Activate the following for debug purposes only, | ||
comment out for production */ | ||
GNSS_SANITIZE_DIAG = { | ||
/* | ||
diag: { | ||
cfi: true, | ||
misc_undefined: [ | ||
"bounds", | ||
"null", | ||
"unreachable", | ||
"integer", | ||
], | ||
}, | ||
*/ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,44 @@ | ||
ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),) | ||
|
||
# Set required flags | ||
GNSS_CFLAGS := \ | ||
-Werror \ | ||
-Wno-error=unused-parameter \ | ||
-Wno-error=macro-redefined \ | ||
-Wno-error=reorder \ | ||
-Wno-error=missing-braces \ | ||
-Wno-error=self-assign \ | ||
-Wno-error=enum-conversion \ | ||
-Wno-error=logical-op-parentheses \ | ||
-Wno-error=null-arithmetic \ | ||
-Wno-error=null-conversion \ | ||
-Wno-error=parentheses-equality \ | ||
-Wno-error=undefined-bool-conversion \ | ||
-Wno-error=tautological-compare \ | ||
-Wno-error=switch \ | ||
-Wno-error=date-time | ||
|
||
GNSS_HIDL_VERSION = 2.1 | ||
|
||
GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += msm8937 | ||
GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += msm8953 | ||
GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += msm8998 | ||
GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += apq8098_latv | ||
GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += sdm710 | ||
GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += qcs605 | ||
GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += sdm845 | ||
GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += sdm660 | ||
|
||
ifneq (,$(filter $(GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST),$(TARGET_BOARD_PLATFORM))) | ||
GNSS_HIDL_LEGACY_MEASURMENTS = true | ||
endif | ||
|
||
LOCAL_PATH := $(call my-dir) | ||
include $(LOCAL_PATH)/build/target_specific_features.mk | ||
include $(call all-makefiles-under,$(LOCAL_PATH)) | ||
endif | ||
|
||
GNSS_SANITIZE := cfi bounds null unreachable integer | ||
# Activate the following two lines for regression testing | ||
#GNSS_SANITIZE += address | ||
#GNSS_SANITIZE_DIAG := $(GNSS_SANITIZE) | ||
|
||
endif # ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,8 +37,6 @@ LOCAL_HEADER_LIBRARIES := \ | |
LOCAL_SHARED_LIBRARIES := \ | ||
liblog \ | ||
libhidlbase \ | ||
libhidltransport \ | ||
libhwbinder \ | ||
libcutils \ | ||
libutils \ | ||
[email protected] \ | ||
|
@@ -89,9 +87,7 @@ LOCAL_SHARED_LIBRARIES := \ | |
libqti_vndfwk_detect \ | ||
|
||
LOCAL_SHARED_LIBRARIES += \ | ||
libhwbinder \ | ||
libhidlbase \ | ||
libhidltransport \ | ||
[email protected] \ | ||
|
||
LOCAL_CFLAGS += $(GNSS_CFLAGS) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.