Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(93)

Side by Side Diff: webrtc/modules/video_coding/BUILD.gn

Issue 2392053003: Make sure vp9 actually gets excluded in gn as well. (Closed)
Patch Set: Also set define Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 "../..:webrtc_common", 272 "../..:webrtc_common",
273 "../../common_video", 273 "../../common_video",
274 "../../system_wrappers", 274 "../../system_wrappers",
275 ] 275 ]
276 if (rtc_build_libvpx) { 276 if (rtc_build_libvpx) {
277 deps += [ rtc_libvpx_dir ] 277 deps += [ rtc_libvpx_dir ]
278 } 278 }
279 } 279 }
280 280
281 rtc_static_library("webrtc_vp9") { 281 rtc_static_library("webrtc_vp9") {
282 sources = [ 282 if (rtc_libvpx_build_vp9) {
283 "codecs/vp9/include/vp9.h", 283 sources = [
284 "codecs/vp9/screenshare_layers.cc", 284 "codecs/vp9/include/vp9.h",
285 "codecs/vp9/screenshare_layers.h", 285 "codecs/vp9/screenshare_layers.cc",
286 "codecs/vp9/vp9_frame_buffer_pool.cc", 286 "codecs/vp9/screenshare_layers.h",
287 "codecs/vp9/vp9_frame_buffer_pool.h", 287 "codecs/vp9/vp9_frame_buffer_pool.cc",
288 "codecs/vp9/vp9_impl.cc", 288 "codecs/vp9/vp9_frame_buffer_pool.h",
289 "codecs/vp9/vp9_impl.h", 289 "codecs/vp9/vp9_impl.cc",
290 ] 290 "codecs/vp9/vp9_impl.h",
291 ]
292 } else {
293 sources = [
294 "codecs/vp9/vp9_noop.cc",
295 ]
296 }
291 297
292 if (is_clang) { 298 if (is_clang) {
293 # Suppress warnings from Chrome's Clang plugins. 299 # Suppress warnings from Chrome's Clang plugins.
294 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 300 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
295 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 301 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
296 } 302 }
297 303
298 deps = [ 304 deps = [
299 ":video_coding_utility", 305 ":video_coding_utility",
300 "../../common_video", 306 "../../common_video",
(...skipping 23 matching lines...) Expand all
324 # Suppress warnings from Chrome's Clang plugins. 330 # Suppress warnings from Chrome's Clang plugins.
325 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 331 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
326 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 332 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
327 } 333 }
328 334
329 deps = [ 335 deps = [
330 "../../test:test_support", 336 "../../test:test_support",
331 ] 337 ]
332 } 338 }
333 } 339 }
OLDNEW
« no previous file with comments | « webrtc/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698