Home | History | Annotate | Download | only in source
      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_map.cc \
     41     timing.cc \
     42     video_coding_impl.cc
     43 
     44 # Flags passed to both C and C++ files.
     45 LOCAL_CFLAGS := \
     46     $(MY_WEBRTC_COMMON_DEFS)
     47 
     48 LOCAL_C_INCLUDES := \
     49     $(LOCAL_PATH)/../interface \
     50     $(LOCAL_PATH)/../../codecs/interface \
     51     $(LOCAL_PATH)/../../codecs/i420/main/interface \
     52     $(LOCAL_PATH)/../../codecs/vp8/main/interface \
     53     $(LOCAL_PATH)/../../../interface \
     54     $(LOCAL_PATH)/../../../.. \
     55     $(LOCAL_PATH)/../../../../common_video/vplib/main/interface \
     56     $(LOCAL_PATH)/../../../../common_video/interface \
     57     $(LOCAL_PATH)/../../utility/include \
     58     $(LOCAL_PATH)/../../../../system_wrappers/interface
     59 
     60 LOCAL_SHARED_LIBRARIES := \
     61     libcutils \
     62     libdl \
     63     libstlport
     64 
     65 ifndef NDK_ROOT
     66 include external/stlport/libstlport.mk
     67 endif
     68 include $(BUILD_STATIC_LIBRARY)
     69