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_vie_core 17 LOCAL_MODULE_TAGS := optional 18 LOCAL_CPP_EXTENSION := .cc 19 LOCAL_SRC_FILES := \ 20 vie_base_impl.cc \ 21 vie_capture_impl.cc \ 22 vie_codec_impl.cc \ 23 vie_external_codec_impl.cc \ 24 vie_file_impl.cc \ 25 vie_image_process_impl.cc \ 26 vie_impl.cc \ 27 vie_network_impl.cc \ 28 vie_ref_count.cc \ 29 vie_render_impl.cc \ 30 vie_rtp_rtcp_impl.cc \ 31 vie_shared_data.cc \ 32 vie_capturer.cc \ 33 vie_channel.cc \ 34 vie_channel_group.cc \ 35 vie_channel_manager.cc \ 36 vie_encoder.cc \ 37 vie_file_image.cc \ 38 vie_file_player.cc \ 39 vie_file_recorder.cc \ 40 vie_frame_provider_base.cc \ 41 vie_input_manager.cc \ 42 vie_manager_base.cc \ 43 vie_performance_monitor.cc \ 44 vie_receiver.cc \ 45 vie_remb.cc \ 46 vie_renderer.cc \ 47 vie_render_manager.cc \ 48 vie_sender.cc \ 49 vie_sync_module.cc 50 51 # Flags passed to both C and C++ files. 52 LOCAL_CFLAGS := \ 53 $(MY_WEBRTC_COMMON_DEFS) 54 55 LOCAL_C_INCLUDES := \ 56 $(LOCAL_PATH)/include\ 57 $(LOCAL_PATH)/.. \ 58 $(LOCAL_PATH)/../common_video/interface \ 59 $(LOCAL_PATH)/../common_video/jpeg/main/interface \ 60 $(LOCAL_PATH)/../common_video/vplib/main/interface \ 61 $(LOCAL_PATH)/../modules/interface \ 62 $(LOCAL_PATH)/../modules/audio_coding/main/interface \ 63 $(LOCAL_PATH)/../modules/rtp_rtcp/interface \ 64 $(LOCAL_PATH)/../modules/udp_transport/interface \ 65 $(LOCAL_PATH)/../modules/utility/interface \ 66 $(LOCAL_PATH)/../modules/video_capture/main/interface \ 67 $(LOCAL_PATH)/../modules/video_capture/main/source \ 68 $(LOCAL_PATH)/../modules/video_capture/main/source/Android \ 69 $(LOCAL_PATH)/../modules/video_coding/codecs/interface \ 70 $(LOCAL_PATH)/../modules/video_coding/main/interface \ 71 $(LOCAL_PATH)/../modules/video_mixer/main/interface \ 72 $(LOCAL_PATH)/../modules/video_processing/main/interface \ 73 $(LOCAL_PATH)/../modules/video_render/main/interface \ 74 $(LOCAL_PATH)/../system_wrappers/interface \ 75 $(LOCAL_PATH)/../voice_engine/include 76 77 LOCAL_SHARED_LIBRARIES := \ 78 libcutils \ 79 libdl \ 80 libstlport 81 82 ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true) 83 LOCAL_LDLIBS += -ldl -lpthread 84 endif 85 86 ifneq ($(TARGET_SIMULATOR),true) 87 LOCAL_SHARED_LIBRARIES += libdl 88 endif 89 90 ifndef NDK_ROOT 91 include external/stlport/libstlport.mk 92 endif 93 include $(BUILD_STATIC_LIBRARY) 94