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

Side by Side Diff: webrtc/media/BUILD.gn

Issue 2300413002: GN Templates: Move common_config to the template. (Closed)
Patch Set: Add TODOs + tracking bugs. Created 4 years, 3 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/libjingle/xmpp/BUILD.gn ('k') | webrtc/modules/BUILD.gn » ('j') | 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) 2016 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2016 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/config/linux/pkg_config.gni") 9 import("//build/config/linux/pkg_config.gni")
10 import("../build/webrtc.gni") 10 import("../build/webrtc.gni")
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 "engine/webrtcvideoframe.h", 110 "engine/webrtcvideoframe.h",
111 "engine/webrtcvideoframefactory.cc", 111 "engine/webrtcvideoframefactory.cc",
112 "engine/webrtcvideoframefactory.h", 112 "engine/webrtcvideoframefactory.h",
113 "engine/webrtcvoe.h", 113 "engine/webrtcvoe.h",
114 "engine/webrtcvoiceengine.cc", 114 "engine/webrtcvoiceengine.cc",
115 "engine/webrtcvoiceengine.h", 115 "engine/webrtcvoiceengine.h",
116 "sctp/sctpdataengine.cc", 116 "sctp/sctpdataengine.cc",
117 "sctp/sctpdataengine.h", 117 "sctp/sctpdataengine.h",
118 ] 118 ]
119 119
120 configs += [ 120 configs += [ ":rtc_media_warnings_config" ]
121 "..:common_config",
122 ":rtc_media_warnings_config",
123 ]
124 121
125 public_configs = [ "..:common_inherited_config" ] 122 public_configs = [ "..:common_inherited_config" ]
126 123
127 if (is_clang) { 124 if (is_clang) {
128 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 125 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
129 suppressed_configs += [ 126 suppressed_configs += [
130 "//build/config/clang:extra_warnings", 127 "//build/config/clang:extra_warnings",
131 "//build/config/clang:find_bad_constructs", 128 "//build/config/clang:find_bad_constructs",
132 ] 129 ]
133 } 130 }
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 "base/testutils.h", 240 "base/testutils.h",
244 "engine/fakewebrtccall.cc", 241 "engine/fakewebrtccall.cc",
245 "engine/fakewebrtccall.h", 242 "engine/fakewebrtccall.h",
246 "engine/fakewebrtcdeviceinfo.h", 243 "engine/fakewebrtcdeviceinfo.h",
247 "engine/fakewebrtcvcmfactory.h", 244 "engine/fakewebrtcvcmfactory.h",
248 "engine/fakewebrtcvideocapturemodule.h", 245 "engine/fakewebrtcvideocapturemodule.h",
249 "engine/fakewebrtcvideoengine.h", 246 "engine/fakewebrtcvideoengine.h",
250 "engine/fakewebrtcvoiceengine.h", 247 "engine/fakewebrtcvoiceengine.h",
251 ] 248 ]
252 249
253 configs += [ 250 configs += [ ":rtc_unittest_main_config" ]
254 "..:common_config",
255 ":rtc_unittest_main_config",
256 ]
257 public_configs = [ "..:common_inherited_config" ] 251 public_configs = [ "..:common_inherited_config" ]
258 252
259 if (rtc_build_libyuv) { 253 if (rtc_build_libyuv) {
260 deps += [ "$rtc_libyuv_dir" ] 254 deps += [ "$rtc_libyuv_dir" ]
261 public_deps += [ "$rtc_libyuv_dir" ] 255 public_deps += [ "$rtc_libyuv_dir" ]
262 } else { 256 } else {
263 # Need to add a directory normally exported by libyuv. 257 # Need to add a directory normally exported by libyuv.
264 include_dirs += [ "$rtc_libyuv_dir/include" ] 258 include_dirs += [ "$rtc_libyuv_dir/include" ]
265 } 259 }
266 260
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 "engine/simulcast_unittest.cc", 336 "engine/simulcast_unittest.cc",
343 "engine/webrtcmediaengine_unittest.cc", 337 "engine/webrtcmediaengine_unittest.cc",
344 "engine/webrtcvideocapturer_unittest.cc", 338 "engine/webrtcvideocapturer_unittest.cc",
345 "engine/webrtcvideoengine2_unittest.cc", 339 "engine/webrtcvideoengine2_unittest.cc",
346 "engine/webrtcvideoframe_unittest.cc", 340 "engine/webrtcvideoframe_unittest.cc",
347 "engine/webrtcvideoframefactory_unittest.cc", 341 "engine/webrtcvideoframefactory_unittest.cc",
348 "engine/webrtcvoiceengine_unittest.cc", 342 "engine/webrtcvoiceengine_unittest.cc",
349 "sctp/sctpdataengine_unittest.cc", 343 "sctp/sctpdataengine_unittest.cc",
350 ] 344 ]
351 345
352 configs += [ 346 configs += [ ":rtc_media_unittests_config" ]
353 "..:common_config",
354 ":rtc_media_unittests_config",
355 ]
356 public_configs = [ "..:common_inherited_config" ] 347 public_configs = [ "..:common_inherited_config" ]
357 348
358 if (rtc_use_h264) { 349 if (rtc_use_h264) {
359 defines += [ "WEBRTC_USE_H264" ] 350 defines += [ "WEBRTC_USE_H264" ]
360 } 351 }
361 if (is_win) { 352 if (is_win) {
362 cflags = [ 353 cflags = [
363 "/wd4245", # conversion from int to size_t, signed/unsigned mismatch. 354 "/wd4245", # conversion from int to size_t, signed/unsigned mismatch.
364 "/wd4373", # virtual function override. 355 "/wd4373", # virtual function override.
365 "/wd4389", # signed/unsigned mismatch. 356 "/wd4389", # signed/unsigned mismatch.
(...skipping 21 matching lines...) Expand all
387 deps += [ 378 deps += [
388 # TODO(kjellander): Move as part of work in bugs.webrtc.org/4243. 379 # TODO(kjellander): Move as part of work in bugs.webrtc.org/4243.
389 ":rtc_media", 380 ":rtc_media",
390 ":rtc_unittest_main", 381 ":rtc_unittest_main",
391 "../audio", 382 "../audio",
392 "../base:rtc_base_tests_utils", 383 "../base:rtc_base_tests_utils",
393 "../system_wrappers:metrics_default", 384 "../system_wrappers:metrics_default",
394 ] 385 ]
395 } 386 }
396 } 387 }
OLDNEW
« no previous file with comments | « webrtc/libjingle/xmpp/BUILD.gn ('k') | webrtc/modules/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698