blob: 74866cc2eb70f0122665db0fbbbc44cb07fbd7a5 [file] [log] [blame]
mflodman@webrtc.orgc7ae13d2012-03-05 17:34:05 +00001# Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
mflodman@webrtc.org94ea32e2011-11-21 14:49:31 +00002#
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
9LOCAL_PATH := $(call my-dir)
10
11include $(CLEAR_VARS)
12
13include $(LOCAL_PATH)/../../android-webrtc.mk
14
15LOCAL_ARM_MODE := arm
16LOCAL_MODULE := libwebrtc_vie_core
17LOCAL_MODULE_TAGS := optional
18LOCAL_CPP_EXTENSION := .cc
19LOCAL_SRC_FILES := \
20 vie_base_impl.cc \
21 vie_capture_impl.cc \
22 vie_codec_impl.cc \
mflodman@webrtc.org94ea32e2011-11-21 14:49:31 +000023 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 \
mflodman@webrtc.orgc7ae13d2012-03-05 17:34:05 +000034 vie_channel_group.cc \
mflodman@webrtc.org94ea32e2011-11-21 14:49:31 +000035 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 \
leozwang@webrtc.org31627fe2012-01-20 23:10:26 +000045 vie_remb.cc \
mflodman@webrtc.org94ea32e2011-11-21 14:49:31 +000046 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.
52LOCAL_CFLAGS := \
53 $(MY_WEBRTC_COMMON_DEFS)
54
55LOCAL_C_INCLUDES := \
mflodman@webrtc.orga4863db2011-12-22 08:51:52 +000056 $(LOCAL_PATH)/include\
mflodman@webrtc.org94ea32e2011-11-21 14:49:31 +000057 $(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 \
mflodman@webrtc.org94ea32e2011-11-21 14:49:31 +000063 $(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 \
andrew@webrtc.org6f8db362012-07-27 21:49:28 +000075 $(LOCAL_PATH)/../voice_engine/include
mflodman@webrtc.org94ea32e2011-11-21 14:49:31 +000076
77LOCAL_SHARED_LIBRARIES := \
78 libcutils \
79 libdl \
80 libstlport
81
82ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true)
83LOCAL_LDLIBS += -ldl -lpthread
84endif
85
86ifneq ($(TARGET_SIMULATOR),true)
87LOCAL_SHARED_LIBRARIES += libdl
88endif
89
90ifndef NDK_ROOT
91include external/stlport/libstlport.mk
92endif
93include $(BUILD_STATIC_LIBRARY)