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

Commit 60c57dad authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh
Browse files

Add -no-integrated-as at local level.

Later we will enable integrated-as as default at the global level.

BUG: 17820427
Change-Id: I1beed3e75d074d970fa9112ec1c0f0df3d43947a
parent b1dd4af7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -121,6 +121,9 @@ LOCAL_SRC_FILES := $(commonSources) \
LOCAL_SRC_FILES_arm += \
        arch-arm/memset32.S \

# arch-arm/memset32.S does not compile with Clang.
LOCAL_CLANG_ASFLAGS_arm += -no-integrated-as

LOCAL_SRC_FILES_arm64 += \
        arch-arm64/android_memset.S \

+8 −0
Original line number Diff line number Diff line
@@ -69,6 +69,10 @@ ifneq ($(BUILD_TINY_ANDROID),true)
LOCAL_SHARED_LIBRARIES += libhardware_legacy
LOCAL_CFLAGS += -DWITH_LIB_HARDWARE
endif
# t32cb16blend.S does not compile with Clang.
LOCAL_CLANG_ASFLAGS_arm += -no-integrated-as
# arch-arm64/col32cb16blend.S does not compile with Clang.
LOCAL_CLANG_ASFLAGS_arm64 += -no-integrated-as
include $(BUILD_SHARED_LIBRARY)

#
@@ -82,6 +86,10 @@ LOCAL_SRC_FILES_arm := $(PIXELFLINGER_SRC_FILES_arm)
LOCAL_SRC_FILES_arm64 := $(PIXELFLINGER_SRC_FILES_arm64)
LOCAL_SRC_FILES_mips := $(PIXELFLINGER_SRC_FILES_mips)
LOCAL_CFLAGS := $(PIXELFLINGER_CFLAGS)
# t32cb16blend.S does not compile with Clang.
LOCAL_CLANG_ASFLAGS_arm += -no-integrated-as
# arch-arm64/col32cb16blend.S does not compile with Clang.
LOCAL_CLANG_ASFLAGS_arm64 += -no-integrated-as
include $(BUILD_STATIC_LIBRARY)


+3 −0
Original line number Diff line number Diff line
@@ -5,6 +5,9 @@ LOCAL_SRC_FILES:= \
    arm64_assembler_test.cpp\
    asm_test_jacket.S

# asm_test_jacket.S does not compile with Clang.
LOCAL_CLANG_ASFLAGS_arm64 += -no-integrated-as

LOCAL_SHARED_LIBRARIES := \
    libcutils \
    libpixelflinger
+2 −0
Original line number Diff line number Diff line
@@ -5,6 +5,8 @@ LOCAL_SRC_FILES:= \
    col32cb16blend_test.c \
    ../../../arch-arm64/col32cb16blend.S

LOCAL_CLANG_ASFLAGS_arm64 += -no-integrated-as

LOCAL_SHARED_LIBRARIES :=

LOCAL_C_INCLUDES :=
+2 −0
Original line number Diff line number Diff line
@@ -5,6 +5,8 @@ LOCAL_SRC_FILES:= \
    t32cb16blend_test.c \
    ../../../arch-arm64/t32cb16blend.S

LOCAL_CLANG_ASFLAGS_arm64 += -no-integrated-as

LOCAL_SHARED_LIBRARIES :=

LOCAL_C_INCLUDES :=