OLD | NEW |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 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 | 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 | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 import("../build/webrtc.gni") | 9 import("../build/webrtc.gni") |
10 | 10 |
11 config("common_video_config") { | 11 config("common_video_config") { |
12 include_dirs = [ | 12 include_dirs = [ |
13 "include", | 13 "include", |
14 "libyuv/include", | 14 "libyuv/include", |
15 ] | 15 ] |
16 } | 16 } |
17 | 17 |
18 source_set("common_video") { | 18 source_set("common_video") { |
19 sources = [ | 19 sources = [ |
20 "bitrate_adjuster.cc", | 20 "bitrate_adjuster.cc", |
21 "i420_buffer_pool.cc", | 21 "i420_buffer_pool.cc", |
22 "include/bitrate_adjuster.h", | 22 "include/bitrate_adjuster.h", |
23 "include/frame_callback.h", | 23 "include/frame_callback.h", |
24 "include/i420_buffer_pool.h", | 24 "include/i420_buffer_pool.h", |
25 "include/incoming_video_stream.h", | 25 "include/incoming_video_stream.h", |
26 "include/video_frame_buffer.h", | 26 "include/video_frame_buffer.h", |
27 "incoming_video_stream.cc", | 27 "incoming_video_stream.cc", |
28 "libyuv/include/scaler.h", | |
29 "libyuv/include/webrtc_libyuv.h", | 28 "libyuv/include/webrtc_libyuv.h", |
30 "libyuv/scaler.cc", | |
31 "libyuv/webrtc_libyuv.cc", | 29 "libyuv/webrtc_libyuv.cc", |
32 "video_frame.cc", | 30 "video_frame.cc", |
33 "video_frame_buffer.cc", | 31 "video_frame_buffer.cc", |
34 "video_render_frames.cc", | 32 "video_render_frames.cc", |
35 "video_render_frames.h", | 33 "video_render_frames.h", |
36 ] | 34 ] |
37 | 35 |
38 include_dirs = [ "../modules/interface" ] | 36 include_dirs = [ "../modules/interface" ] |
39 | 37 |
40 configs += [ "..:common_config" ] | 38 configs += [ "..:common_config" ] |
(...skipping 24 matching lines...) Expand all Loading... |
65 } | 63 } |
66 | 64 |
67 if (is_ios || is_mac) { | 65 if (is_ios || is_mac) { |
68 sources += [ | 66 sources += [ |
69 "corevideo_frame_buffer.cc", | 67 "corevideo_frame_buffer.cc", |
70 "include/corevideo_frame_buffer.h", | 68 "include/corevideo_frame_buffer.h", |
71 ] | 69 ] |
72 libs = [ "CoreVideo.framework" ] | 70 libs = [ "CoreVideo.framework" ] |
73 } | 71 } |
74 } | 72 } |
OLD | NEW |