Change android makefile to build webrtc for android/x86
Review URL: http://webrtc-codereview.appspot.com/70001 git-svn-id: http://webrtc.googlecode.com/svn/trunk@192 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
8babfdbb03
commit
2a9f51853d
@ -22,9 +22,12 @@ LOCAL_SRC_FILES := jpeg.cc \
|
||||
MY_CFLAGS :=
|
||||
MY_CFLAGS_C :=
|
||||
MY_DEFS := '-DNO_TCMALLOC' \
|
||||
'-DNO_HEAPCHECKER' \
|
||||
'-DNO_HEAPCHECKER'
|
||||
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
|
||||
@ -32,6 +35,7 @@ LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../.. \
|
||||
$(LOCAL_PATH)/../interface \
|
||||
$(LOCAL_PATH)/../../../../../../ \
|
||||
$(LOCAL_PATH)/../../../vplib/main/interface \
|
||||
$(LOCAL_PATH)/../../../interface \
|
||||
external/jpeg
|
||||
|
||||
# Flags passed to only C++ (and not C) files.
|
||||
|
Loading…
x
Reference in New Issue
Block a user