webrtc/system_wrappers/source/Android.mk

68 lines
1.5 KiB
Makefile

# This file is generated by gyp; do not edit. This means you!
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_ARM_MODE := arm
LOCAL_MODULE := libwebrtc_system_wrappers
LOCAL_MODULE_TAGS := optional
LOCAL_CPP_EXTENSION := .cc
LOCAL_GENERATED_SOURCES :=
LOCAL_SRC_FILES := \
map.cc \
rw_lock_generic.cc \
sort.cc \
aligned_malloc.cc \
atomic32.cc \
condition_variable.cc \
cpu.cc \
cpu_features.cc \
critical_section.cc \
event.cc \
file_impl.cc \
list_no_stl.cc \
rw_lock.cc \
thread.cc \
trace_impl.cc \
condition_variable_linux.cc \
cpu_linux.cc \
critical_section_linux.cc \
event_linux.cc \
thread_linux.cc \
trace_linux.cc \
rw_lock_linux.cc
# Flags passed to both C and C++ files.
MY_CFLAGS :=
MY_CFLAGS_C :=
MY_DEFS := '-DNO_TCMALLOC' \
'-DNO_HEAPCHECKER' \
'-DWEBRTC_TARGET_PC' \
'-DWEBRTC_LINUX' \
'-DWEBRTC_CLOCK_TYPE_REALTIME' \
'-DWEBRTC_THREAD_RR' \
'-DWEBRTC_ANDROID' \
'-DANDROID'
LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
# Include paths placed before CFLAGS/CPPFLAGS
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../.. \
$(LOCAL_PATH)/spreadsortlib \
$(LOCAL_PATH)/../interface
# Flags passed to only C++ (and not C) files.
LOCAL_CPPFLAGS :=
LOCAL_LDFLAGS :=
LOCAL_STATIC_LIBRARIES :=
LOCAL_SHARED_LIBRARIES := libcutils \
libdl \
libstlport
LOCAL_ADDITIONAL_DEPENDENCIES :=
include external/stlport/libstlport.mk
include $(BUILD_STATIC_LIBRARY)