andrew@webrtc.org | a7b57da | 2012-10-22 18:19:23 +0000 | [diff] [blame] | 1 | # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
| 2 | # |
| 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. |
| 8 | |
| 9 | LOCAL_PATH := $(call my-dir) |
| 10 | |
| 11 | include $(CLEAR_VARS) |
| 12 | |
| 13 | include $(LOCAL_PATH)/../../../../android-webrtc.mk |
| 14 | |
| 15 | LOCAL_ARM_MODE := arm |
| 16 | LOCAL_MODULE := libwebrtc_voe_core |
| 17 | LOCAL_MODULE_TAGS := optional |
| 18 | LOCAL_CPP_EXTENSION := .cc |
| 19 | LOCAL_SRC_FILES := \ |
| 20 | audio_frame_operations.cc \ |
| 21 | channel.cc \ |
| 22 | channel_manager.cc \ |
| 23 | channel_manager_base.cc \ |
| 24 | dtmf_inband.cc \ |
| 25 | dtmf_inband_queue.cc \ |
| 26 | level_indicator.cc \ |
| 27 | monitor_module.cc \ |
| 28 | output_mixer.cc \ |
| 29 | ref_count.cc \ |
| 30 | shared_data.cc \ |
| 31 | statistics.cc \ |
| 32 | transmit_mixer.cc \ |
| 33 | utility.cc \ |
| 34 | voe_audio_processing_impl.cc \ |
| 35 | voe_base_impl.cc \ |
| 36 | voe_call_report_impl.cc \ |
| 37 | voe_codec_impl.cc \ |
| 38 | voe_dtmf_impl.cc \ |
| 39 | voe_encryption_impl.cc \ |
| 40 | voe_external_media_impl.cc \ |
| 41 | voe_file_impl.cc \ |
| 42 | voe_hardware_impl.cc \ |
| 43 | voe_neteq_stats_impl.cc \ |
| 44 | voe_network_impl.cc \ |
| 45 | voe_rtp_rtcp_impl.cc \ |
| 46 | voe_video_sync_impl.cc \ |
| 47 | voe_volume_control_impl.cc \ |
| 48 | voice_engine_impl.cc |
| 49 | |
| 50 | # Flags passed to both C and C++ files. |
| 51 | LOCAL_CFLAGS := \ |
| 52 | $(MY_WEBRTC_COMMON_DEFS) \ |
| 53 | '-DWEBRTC_ANDROID_OPENSLES' |
| 54 | |
| 55 | LOCAL_C_INCLUDES := \ |
| 56 | $(LOCAL_PATH)/../interface \ |
| 57 | $(LOCAL_PATH)/../../.. \ |
| 58 | $(LOCAL_PATH)/../../../common_audio/resampler/include \ |
| 59 | $(LOCAL_PATH)/../../../common_audio/signal_processing/include \ |
| 60 | $(LOCAL_PATH)/../../../modules/interface \ |
| 61 | $(LOCAL_PATH)/../../../modules/audio_coding/main/interface \ |
| 62 | $(LOCAL_PATH)/../../../modules/audio_conference_mixer/interface \ |
| 63 | $(LOCAL_PATH)/../../../modules/audio_device/main/interface \ |
| 64 | $(LOCAL_PATH)/../../../modules/audio_device/main/source \ |
| 65 | $(LOCAL_PATH)/../../../modules/audio_processing/include \ |
| 66 | $(LOCAL_PATH)/../../../modules/media_file/interface \ |
| 67 | $(LOCAL_PATH)/../../../modules/rtp_rtcp/interface \ |
| 68 | $(LOCAL_PATH)/../../../modules/udp_transport/interface \ |
| 69 | $(LOCAL_PATH)/../../../modules/utility/interface \ |
| 70 | $(LOCAL_PATH)/../../../system_wrappers/interface |
| 71 | |
| 72 | LOCAL_SHARED_LIBRARIES := \ |
| 73 | libcutils \ |
| 74 | libdl \ |
| 75 | libstlport |
| 76 | |
| 77 | ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true) |
| 78 | LOCAL_LDLIBS += -ldl -lpthread |
| 79 | endif |
| 80 | |
| 81 | ifneq ($(TARGET_SIMULATOR),true) |
| 82 | LOCAL_SHARED_LIBRARIES += libdl |
| 83 | endif |
| 84 | |
| 85 | ifndef NDK_ROOT |
| 86 | include external/stlport/libstlport.mk |
| 87 | endif |
| 88 | include $(BUILD_STATIC_LIBRARY) |