Change android makefile to be able to build for x86
Review URL: http://webrtc-codereview.appspot.com/68001 git-svn-id: http://webrtc.googlecode.com/svn/trunk@207 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
fe176fa45a
commit
3c0a86f83d
@ -24,9 +24,12 @@ MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_LINUX'
|
||||
ifeq ($(TARGET_ARCH),arm)
|
||||
MY_DEFS += \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
endif
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
|
@ -67,9 +67,12 @@ MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_LINUX'
|
||||
ifeq ($(TARGET_ARCH),arm)
|
||||
MY_DEFS += \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
endif
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
|
@ -28,9 +28,12 @@ MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DWEBRTC_TARGET_PC' \
|
||||
'-DWEBRTC_LINUX' \
|
||||
'-DWEBRTC_LINUX'
|
||||
ifeq ($(TARGET_ARCH),arm)
|
||||
MY_DEFS += \
|
||||
'-DWEBRTC_ANDROID' \
|
||||
'-DANDROID'
|
||||
endif
|
||||
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
|
||||
|
||||
# Include paths placed before CFLAGS/CPPFLAGS
|
||||
|
Loading…
Reference in New Issue
Block a user