blob: b0a0d63ff284c3cc7660b3d485d2cd06f62b8495 [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 \
23 vie_encryption_impl.cc \
24 vie_external_codec_impl.cc \
25 vie_file_impl.cc \
26 vie_image_process_impl.cc \
27 vie_impl.cc \
28 vie_network_impl.cc \
29 vie_ref_count.cc \
30 vie_render_impl.cc \
31 vie_rtp_rtcp_impl.cc \
32 vie_shared_data.cc \
33 vie_capturer.cc \
34 vie_channel.cc \
mflodman@webrtc.orgc7ae13d2012-03-05 17:34:05 +000035 vie_channel_group.cc \
mflodman@webrtc.org94ea32e2011-11-21 14:49:31 +000036 vie_channel_manager.cc \
37 vie_encoder.cc \
38 vie_file_image.cc \
39 vie_file_player.cc \
40 vie_file_recorder.cc \
41 vie_frame_provider_base.cc \
42 vie_input_manager.cc \
43 vie_manager_base.cc \
44 vie_performance_monitor.cc \
45 vie_receiver.cc \
leozwang@webrtc.org31627fe2012-01-20 23:10:26 +000046 vie_remb.cc \
mflodman@webrtc.org94ea32e2011-11-21 14:49:31 +000047 vie_renderer.cc \
48 vie_render_manager.cc \
49 vie_sender.cc \
50 vie_sync_module.cc
51
52# Flags passed to both C and C++ files.
53LOCAL_CFLAGS := \
54 $(MY_WEBRTC_COMMON_DEFS)
55
56LOCAL_C_INCLUDES := \
mflodman@webrtc.orga4863db2011-12-22 08:51:52 +000057 $(LOCAL_PATH)/include\
mflodman@webrtc.org94ea32e2011-11-21 14:49:31 +000058 $(LOCAL_PATH)/.. \
59 $(LOCAL_PATH)/../common_video/interface \
60 $(LOCAL_PATH)/../common_video/jpeg/main/interface \
61 $(LOCAL_PATH)/../common_video/vplib/main/interface \
62 $(LOCAL_PATH)/../modules/interface \
63 $(LOCAL_PATH)/../modules/audio_coding/main/interface \
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)/../modules/video_capture/main/interface \
69 $(LOCAL_PATH)/../modules/video_capture/main/source \
70 $(LOCAL_PATH)/../modules/video_capture/main/source/Android \
71 $(LOCAL_PATH)/../modules/video_coding/codecs/interface \
72 $(LOCAL_PATH)/../modules/video_coding/main/interface \
73 $(LOCAL_PATH)/../modules/video_mixer/main/interface \
74 $(LOCAL_PATH)/../modules/video_processing/main/interface \
75 $(LOCAL_PATH)/../modules/video_render/main/interface \
76 $(LOCAL_PATH)/../system_wrappers/interface \
andrew@webrtc.org6f8db362012-07-27 21:49:28 +000077 $(LOCAL_PATH)/../voice_engine/include
mflodman@webrtc.org94ea32e2011-11-21 14:49:31 +000078
79LOCAL_SHARED_LIBRARIES := \
80 libcutils \
81 libdl \
82 libstlport
83
84ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true)
85LOCAL_LDLIBS += -ldl -lpthread
86endif
87
88ifneq ($(TARGET_SIMULATOR),true)
89LOCAL_SHARED_LIBRARIES += libdl
90endif
91
92ifndef NDK_ROOT
93include external/stlport/libstlport.mk
94endif
95include $(BUILD_STATIC_LIBRARY)