Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d1d5d5b6 authored by Jiyong Park's avatar Jiyong Park
Browse files

Remove TARGET_USES_QCOM_BSP from vr/sensord

Removing TARGET_USES_QCOM_BSP because 1) it is broken:
QCOM_B_FAMILY, QCOM_BSP macros are defined but never used. 2)
conditional compilation must be eliminated from the framework-side code
so that we can build a generic system.img.

Bug: 34115514
Test: build & run
Change-Id: Ic96c8d77bed9ce399fe6ffac2e57453861aa35a1
parent fe37b77e
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -46,21 +46,10 @@ sharedLibraries := \
cFlags := -DLOG_TAG=\"sensord\" \
          -DTRACE=0

ifeq ($(TARGET_USES_QCOM_BSP), true)
ifneq ($(TARGET_QCOM_DISPLAY_VARIANT),)
    platform := .
else
    platform := $(TARGET_BOARD_PLATFORM)
endif
    cFlags += -DQCOM_B_FAMILY \
              -DQCOM_BSP
endif

include $(CLEAR_VARS)
# Don't strip symbols so we see stack traces in logcat.
LOCAL_STRIP_MODULE := false
LOCAL_SRC_FILES := $(sourceFiles)
PLATFORM := $(platform)
LOCAL_CFLAGS := $(cFlags)
LOCAL_STATIC_LIBRARIES := $(staticLibraries)
LOCAL_SHARED_LIBRARIES := $(sharedLibraries)