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

Side by Side Diff: webrtc/BUILD.gn

Issue 2250893003: GN: Add "//build/config/sanitizers:deps" to executable targets (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Revert mb_config.pyl modification. Created 4 years, 4 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 | « no previous file | webrtc/examples/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) 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 # TODO(kjellander): Rebase this to webrtc/build/common.gypi changes after r6330. 9 # TODO(kjellander): Rebase this to webrtc/build/common.gypi changes after r6330.
10 10
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 } 285 }
286 } 286 }
287 287
288 if (!build_with_chromium) { 288 if (!build_with_chromium) {
289 executable("webrtc_tests") { 289 executable("webrtc_tests") {
290 testonly = true 290 testonly = true
291 deps = [ 291 deps = [
292 ":webrtc", 292 ":webrtc",
293 "modules/video_capture:video_capture_internal_impl", 293 "modules/video_capture:video_capture_internal_impl",
294 "test", 294 "test",
295 "//build/config/sanitizers:deps",
295 ] 296 ]
296 } 297 }
297 298
298 executable("video_loopback") { 299 executable("video_loopback") {
299 testonly = true 300 testonly = true
300 sources = [ 301 sources = [
301 "test/run_test.h", 302 "test/run_test.h",
302 "video/video_loopback.cc", 303 "video/video_loopback.cc",
303 ] 304 ]
304 305
305 if (is_mac) { 306 if (is_mac) {
306 sources += [ "test/mac/run_test.mm" ] 307 sources += [ "test/mac/run_test.mm" ]
307 } else { 308 } else {
308 sources += [ "test/run_test.cc" ] 309 sources += [ "test/run_test.cc" ]
309 } 310 }
310 deps = [ 311 deps = [
311 ":video_quality_test", 312 ":video_quality_test",
312 "system_wrappers:metrics_default", 313 "system_wrappers:metrics_default",
313 "test:field_trial", 314 "test:field_trial",
314 "test:test_common", 315 "test:test_common",
315 "test:test_renderer", 316 "test:test_renderer",
317 "//build/config/sanitizers:deps",
316 "//testing/gmock", 318 "//testing/gmock",
317 "//testing/gtest", 319 "//testing/gtest",
318 "//third_party/gflags", 320 "//third_party/gflags",
319 ] 321 ]
320 if (is_clang && !is_nacl) { 322 if (is_clang && !is_nacl) {
321 # Suppress warnings from Chrome's Clang plugins. 323 # Suppress warnings from Chrome's Clang plugins.
322 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 324 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
323 configs -= [ "//build/config/clang:find_bad_constructs" ] 325 configs -= [ "//build/config/clang:find_bad_constructs" ]
324 } 326 }
325 } 327 }
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
801 if (is_ios || (is_mac && target_cpu != "x86")) { 803 if (is_ios || (is_mac && target_cpu != "x86")) {
802 defines = [ "CARBON_DEPRECATED=YES" ] 804 defines = [ "CARBON_DEPRECATED=YES" ]
803 } 805 }
804 if (is_clang) { 806 if (is_clang) {
805 # Suppress warnings from the Chromium Clang plugin. 807 # Suppress warnings from the Chromium Clang plugin.
806 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 808 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
807 configs -= [ "//build/config/clang:find_bad_constructs" ] 809 configs -= [ "//build/config/clang:find_bad_constructs" ]
808 } 810 }
809 } 811 }
810 } 812 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/examples/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698