- update source.
[platform/framework/web/crosswalk.git] / src / third_party / webrtc / modules / video_coding / main / source / Android.mk
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_CLASS := STATIC_LIBRARIES
17 LOCAL_MODULE := libwebrtc_video_coding
18 LOCAL_MODULE_TAGS := optional
19 LOCAL_CPP_EXTENSION := .cc
20 LOCAL_SRC_FILES := \
21     codec_database.cc \
22     codec_timer.cc \
23     content_metrics_processing.cc \
24     decoding_state.cc \
25     encoded_frame.cc \
26     frame_buffer.cc \
27     generic_decoder.cc \
28     generic_encoder.cc \
29     inter_frame_delay.cc \
30     jitter_buffer.cc \
31     jitter_buffer_common.cc \
32     jitter_estimator.cc \
33     media_opt_util.cc \
34     media_optimization.cc \
35     packet.cc \
36     qm_select.cc \
37     receiver.cc \
38     rtt_filter.cc \
39     session_info.cc \
40     timestamp_extrapolator.cc \
41     timestamp_map.cc \
42     timing.cc \
43     video_coding_impl.cc
44
45 # Flags passed to both C and C++ files.
46 LOCAL_CFLAGS := \
47     $(MY_WEBRTC_COMMON_DEFS)
48
49 LOCAL_C_INCLUDES := \
50     $(LOCAL_PATH)/../interface \
51     $(LOCAL_PATH)/../../codecs/interface \
52     $(LOCAL_PATH)/../../codecs/i420/main/interface \
53     $(LOCAL_PATH)/../../codecs/vp8/main/interface \
54     $(LOCAL_PATH)/../../../interface \
55     $(LOCAL_PATH)/../../../.. \
56     $(LOCAL_PATH)/../../../../common_video/vplib/main/interface \
57     $(LOCAL_PATH)/../../../../common_video/interface \
58     $(LOCAL_PATH)/../../utility/include \
59     $(LOCAL_PATH)/../../../../system_wrappers/interface 
60
61 LOCAL_SHARED_LIBRARIES := \
62     libcutils \
63     libdl \
64     libstlport
65
66 ifndef NDK_ROOT
67 include external/stlport/libstlport.mk
68 endif
69 include $(BUILD_STATIC_LIBRARY)