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 |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 ] | 205 ] |
206 if (rtc_build_libvpx) { | 206 if (rtc_build_libvpx) { |
207 deps += [ rtc_libvpx_dir ] | 207 deps += [ rtc_libvpx_dir ] |
208 } | 208 } |
209 } | 209 } |
210 | 210 |
211 source_set("webrtc_vp9") { | 211 source_set("webrtc_vp9") { |
212 if (rtc_build_vp9) { | 212 if (rtc_build_vp9) { |
213 sources = [ | 213 sources = [ |
214 "codecs/vp9/include/vp9.h", | 214 "codecs/vp9/include/vp9.h", |
| 215 "codecs/vp9/screenshare_layers.cc", |
| 216 "codecs/vp9/screenshare_layers.h", |
215 "codecs/vp9/vp9_frame_buffer_pool.cc", | 217 "codecs/vp9/vp9_frame_buffer_pool.cc", |
216 "codecs/vp9/vp9_frame_buffer_pool.h", | 218 "codecs/vp9/vp9_frame_buffer_pool.h", |
217 "codecs/vp9/vp9_impl.cc", | 219 "codecs/vp9/vp9_impl.cc", |
218 "codecs/vp9/vp9_impl.h", | 220 "codecs/vp9/vp9_impl.h", |
219 ] | 221 ] |
220 } else { | 222 } else { |
221 sources = [ | 223 sources = [ |
222 "codecs/vp9/vp9_dummy_impl.cc", | 224 "codecs/vp9/vp9_dummy_impl.cc", |
223 ] | 225 ] |
224 } | 226 } |
225 | 227 |
226 configs += [ "../..:common_config" ] | 228 configs += [ "../..:common_config" ] |
227 public_configs = [ "../..:common_inherited_config" ] | 229 public_configs = [ "../..:common_inherited_config" ] |
228 | 230 |
229 if (is_clang) { | 231 if (is_clang) { |
230 # Suppress warnings from Chrome's Clang plugins. | 232 # Suppress warnings from Chrome's Clang plugins. |
231 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 233 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
232 configs -= [ "//build/config/clang:find_bad_constructs" ] | 234 configs -= [ "//build/config/clang:find_bad_constructs" ] |
233 } | 235 } |
234 | 236 |
235 deps = [ | 237 deps = [ |
236 ":video_coding_utility", | 238 ":video_coding_utility", |
237 "../../common_video", | 239 "../../common_video", |
238 "../../system_wrappers", | 240 "../../system_wrappers", |
239 ] | 241 ] |
240 if (rtc_build_libvpx) { | 242 if (rtc_build_libvpx) { |
241 deps += [ rtc_libvpx_dir ] | 243 deps += [ rtc_libvpx_dir ] |
242 } | 244 } |
243 } | 245 } |
OLD | NEW |