| OLD | NEW |
| (Empty) |
| 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 { | |
| 10 'includes': ['../build/common.gypi'], | |
| 11 'targets': [ | |
| 12 { | |
| 13 'target_name': 'common_video', | |
| 14 'type': 'static_library', | |
| 15 'include_dirs': [ | |
| 16 '<(webrtc_root)/modules/interface/', | |
| 17 'include', | |
| 18 'libyuv/include', | |
| 19 ], | |
| 20 'dependencies': [ | |
| 21 '<(webrtc_root)/base/base.gyp:rtc_task_queue', | |
| 22 '<(webrtc_root)/common.gyp:webrtc_common', | |
| 23 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', | |
| 24 ], | |
| 25 'direct_dependent_settings': { | |
| 26 'include_dirs': [ | |
| 27 'include', | |
| 28 'libyuv/include', | |
| 29 ], | |
| 30 }, | |
| 31 'conditions': [ | |
| 32 ['build_libyuv==1', { | |
| 33 'dependencies': ['<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv',], | |
| 34 'export_dependent_settings': [ | |
| 35 '<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv', | |
| 36 ], | |
| 37 }, { | |
| 38 # Need to add a directory normally exported by libyuv.gyp. | |
| 39 'include_dirs': ['<(libyuv_dir)/include',], | |
| 40 }], | |
| 41 ['OS=="ios" or OS=="mac"', { | |
| 42 'sources': [ | |
| 43 'corevideo_frame_buffer.cc', | |
| 44 'include/corevideo_frame_buffer.h', | |
| 45 ], | |
| 46 'link_settings': { | |
| 47 'xcode_settings': { | |
| 48 'OTHER_LDFLAGS': [ | |
| 49 '-framework CoreVideo', | |
| 50 ], | |
| 51 }, | |
| 52 }, | |
| 53 }], | |
| 54 ], | |
| 55 'sources': [ | |
| 56 'bitrate_adjuster.cc', | |
| 57 'h264/sps_vui_rewriter.cc', | |
| 58 'h264/sps_vui_rewriter.h', | |
| 59 'h264/h264_common.cc', | |
| 60 'h264/h264_common.h', | |
| 61 'h264/pps_parser.cc', | |
| 62 'h264/pps_parser.h', | |
| 63 'h264/profile_level_id.cc', | |
| 64 'h264/profile_level_id.h', | |
| 65 'h264/sps_parser.cc', | |
| 66 'h264/sps_parser.h', | |
| 67 'h264/h264_bitstream_parser.cc', | |
| 68 'h264/h264_bitstream_parser.h', | |
| 69 'i420_buffer_pool.cc', | |
| 70 'video_frame.cc', | |
| 71 'incoming_video_stream.cc', | |
| 72 'include/bitrate_adjuster.h', | |
| 73 'include/frame_callback.h', | |
| 74 'include/i420_buffer_pool.h', | |
| 75 'include/incoming_video_stream.h', | |
| 76 'include/video_frame_buffer.h', | |
| 77 'libyuv/include/webrtc_libyuv.h', | |
| 78 'libyuv/webrtc_libyuv.cc', | |
| 79 'video_frame_buffer.cc', | |
| 80 'video_render_frames.cc', | |
| 81 'video_render_frames.h', | |
| 82 ], | |
| 83 }, | |
| 84 ], # targets | |
| 85 } | |
| OLD | NEW |