1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree.
9 LOCAL_PATH := $(call my-dir)
13 include $(LOCAL_PATH)/../../../../android-webrtc.mk
16 LOCAL_MODULE := libwebrtc_voe_core
17 LOCAL_MODULE_TAGS := optional
18 LOCAL_CPP_EXTENSION := .cc
20 audio_frame_operations.cc \
24 dtmf_inband_queue.cc \
33 voe_audio_processing_impl.cc \
35 voe_call_report_impl.cc \
38 voe_external_media_impl.cc \
40 voe_hardware_impl.cc \
41 voe_neteq_stats_impl.cc \
43 voe_rtp_rtcp_impl.cc \
44 voe_video_sync_impl.cc \
45 voe_volume_control_impl.cc \
48 # Flags passed to both C and C++ files.
50 $(MY_WEBRTC_COMMON_DEFS) \
51 '-DWEBRTC_ANDROID_OPENSLES'
54 $(LOCAL_PATH)/../interface \
55 $(LOCAL_PATH)/../../.. \
56 $(LOCAL_PATH)/../../../common_audio/resampler/include \
57 $(LOCAL_PATH)/../../../common_audio/signal_processing/include \
58 $(LOCAL_PATH)/../../../modules/interface \
59 $(LOCAL_PATH)/../../../modules/audio_coding/main/interface \
60 $(LOCAL_PATH)/../../../modules/audio_conference_mixer/interface \
61 $(LOCAL_PATH)/../../../modules/audio_device/main/interface \
62 $(LOCAL_PATH)/../../../modules/audio_device/main/source \
63 $(LOCAL_PATH)/../../../modules/audio_processing/include \
64 $(LOCAL_PATH)/../../../modules/media_file/interface \
65 $(LOCAL_PATH)/../../../modules/rtp_rtcp/interface \
66 $(LOCAL_PATH)/../../../modules/udp_transport/interface \
67 $(LOCAL_PATH)/../../../modules/utility/interface \
68 $(LOCAL_PATH)/../../../system_wrappers/interface
70 LOCAL_SHARED_LIBRARIES := \
75 ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true)
76 LOCAL_LDLIBS += -ldl -lpthread
79 ifneq ($(TARGET_SIMULATOR),true)
80 LOCAL_SHARED_LIBRARIES += libdl
84 include external/stlport/libstlport.mk
86 include $(BUILD_STATIC_LIBRARY)