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

Commit 722edf1f authored by Ying Wang's avatar Ying Wang Committed by Android Git Automerger
Browse files

am 7a415131: Merge branch \'lmp-dev-plus-aosp\' of...

am 7a415131: Merge branch \'lmp-dev-plus-aosp\' of https://googleplex-android.googlesource.com/_direct/platform/build into lmp-dev-plus-aosp

* commit '7a415131':
  Strip my_clang on assignment.
  Remove HAVE_GETTID.
parents 0ba409bc 7a415131
Loading
Loading
Loading
Loading
+6 −6
Original line number Original line Diff line number Diff line
@@ -133,12 +133,12 @@ my_asflags += $(LOCAL_ASFLAGS_$($(my_prefix)$(LOCAL_2ND_ARCH_VAR_PREFIX)ARCH)) $
my_c_includes += $(LOCAL_C_INCLUDES_$($(my_prefix)$(LOCAL_2ND_ARCH_VAR_PREFIX)ARCH)) $(LOCAL_C_INCLUDES_$(my_32_64_bit_suffix))
my_c_includes += $(LOCAL_C_INCLUDES_$($(my_prefix)$(LOCAL_2ND_ARCH_VAR_PREFIX)ARCH)) $(LOCAL_C_INCLUDES_$(my_32_64_bit_suffix))
my_generated_sources += $(LOCAL_GENERATED_SOURCES_$($(my_prefix)$(LOCAL_2ND_ARCH_VAR_PREFIX)ARCH)) $(LOCAL_GENERATED_SOURCES_$(my_32_64_bit_suffix))
my_generated_sources += $(LOCAL_GENERATED_SOURCES_$($(my_prefix)$(LOCAL_2ND_ARCH_VAR_PREFIX)ARCH)) $(LOCAL_GENERATED_SOURCES_$(my_32_64_bit_suffix))


my_clang := $(LOCAL_CLANG)
my_clang := $(strip $(LOCAL_CLANG))
ifdef LOCAL_CLANG_$(my_32_64_bit_suffix)
ifdef LOCAL_CLANG_$(my_32_64_bit_suffix)
my_clang := $(LOCAL_CLANG_$(my_32_64_bit_suffix))
my_clang := $(strip $(LOCAL_CLANG_$(my_32_64_bit_suffix)))
endif
endif
ifdef LOCAL_CLANG_$($(my_prefix)$(LOCAL_2ND_ARCH_VAR_PREFIX)ARCH)
ifdef LOCAL_CLANG_$($(my_prefix)$(LOCAL_2ND_ARCH_VAR_PREFIX)ARCH)
my_clang := $(LOCAL_CLANG_$($(my_prefix)$(LOCAL_2ND_ARCH_VAR_PREFIX)ARCH))
my_clang := $(strip $(LOCAL_CLANG_$($(my_prefix)$(LOCAL_2ND_ARCH_VAR_PREFIX)ARCH)))
endif
endif


# clang is enabled by default for host builds
# clang is enabled by default for host builds
@@ -314,7 +314,7 @@ else
endif
endif


ifeq ($(strip $(my_cc)),)
ifeq ($(strip $(my_cc)),)
  ifeq ($(strip $(my_clang)),true)
  ifeq ($(my_clang),true)
    my_cc := $(CLANG)
    my_cc := $(CLANG)
  else
  else
    my_cc := $($(LOCAL_2ND_ARCH_VAR_PREFIX)$(my_prefix)CC)
    my_cc := $($(LOCAL_2ND_ARCH_VAR_PREFIX)$(my_prefix)CC)
@@ -330,7 +330,7 @@ endif
$(LOCAL_INTERMEDIATE_TARGETS): PRIVATE_CC := $(my_cc)
$(LOCAL_INTERMEDIATE_TARGETS): PRIVATE_CC := $(my_cc)


ifeq ($(strip $(my_cxx)),)
ifeq ($(strip $(my_cxx)),)
  ifeq ($(strip $(my_clang)),true)
  ifeq ($(my_clang),true)
    my_cxx := $(CLANG_CXX)
    my_cxx := $(CLANG_CXX)
  else
  else
    my_cxx := $($(LOCAL_2ND_ARCH_VAR_PREFIX)$(my_prefix)CXX)
    my_cxx := $($(LOCAL_2ND_ARCH_VAR_PREFIX)$(my_prefix)CXX)
@@ -380,7 +380,7 @@ normal_objects_mode := $(if $(LOCAL_ARM_MODE),$(LOCAL_ARM_MODE),thumb)
# actually used (although they are usually empty).
# actually used (although they are usually empty).
arm_objects_cflags := $($(LOCAL_2ND_ARCH_VAR_PREFIX)$(my_prefix)$(arm_objects_mode)_CFLAGS)
arm_objects_cflags := $($(LOCAL_2ND_ARCH_VAR_PREFIX)$(my_prefix)$(arm_objects_mode)_CFLAGS)
normal_objects_cflags := $($(LOCAL_2ND_ARCH_VAR_PREFIX)$(my_prefix)$(normal_objects_mode)_CFLAGS)
normal_objects_cflags := $($(LOCAL_2ND_ARCH_VAR_PREFIX)$(my_prefix)$(normal_objects_mode)_CFLAGS)
ifeq ($(strip $(my_clang)),true)
ifeq ($(my_clang),true)
arm_objects_cflags := $(call $(LOCAL_2ND_ARCH_VAR_PREFIX)convert-to-$(my_host)clang-flags,$(arm_objects_cflags))
arm_objects_cflags := $(call $(LOCAL_2ND_ARCH_VAR_PREFIX)convert-to-$(my_host)clang-flags,$(arm_objects_cflags))
normal_objects_cflags := $(call $(LOCAL_2ND_ARCH_VAR_PREFIX)convert-to-$(my_host)clang-flags,$(normal_objects_cflags))
normal_objects_cflags := $(call $(LOCAL_2ND_ARCH_VAR_PREFIX)convert-to-$(my_host)clang-flags,$(normal_objects_cflags))
endif
endif
+0 −6
Original line number Original line Diff line number Diff line
@@ -163,12 +163,6 @@
 */
 */
#define HAVE_CXXABI 0
#define HAVE_CXXABI 0


/*
 * Defined if we have the gettid() system call.
 */
/* #define HAVE_GETTID */


/*
/*
 * Add any extra platform-specific defines here.
 * Add any extra platform-specific defines here.
 */
 */
+0 −5
Original line number Original line Diff line number Diff line
@@ -172,11 +172,6 @@
 */
 */
#define HAVE_CXXABI 0
#define HAVE_CXXABI 0


/*
 * Defined if we have the gettid() system call.
 */
#define HAVE_GETTID

/* 
/* 
 * Defined if we have the sched_setscheduler() call
 * Defined if we have the sched_setscheduler() call
 */
 */
+0 −5
Original line number Original line Diff line number Diff line
@@ -174,11 +174,6 @@
 */
 */
#define HAVE_CXXABI 0
#define HAVE_CXXABI 0


/*
 * Defined if we have the gettid() system call.
 */
#define HAVE_GETTID

/*
/*
 * Defined if we have the sched_setscheduler() call
 * Defined if we have the sched_setscheduler() call
 */
 */
+0 −5
Original line number Original line Diff line number Diff line
@@ -177,11 +177,6 @@
 */
 */
#define HAVE_CXXABI 0
#define HAVE_CXXABI 0


/*
 * Defined if we have the gettid() system call.
 */
#define HAVE_GETTID

/*
/*
 * Defined if we have the sched_setscheduler() call
 * Defined if we have the sched_setscheduler() call
 */
 */
Loading