Chromium Code Reviews| 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 # 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 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 372 # This target is only here for gn to discover fuzzer build targets under | 372 # This target is only here for gn to discover fuzzer build targets under |
| 373 # webrtc/test/fuzzers/. | 373 # webrtc/test/fuzzers/. |
| 374 group("webrtc_fuzzers_dummy") { | 374 group("webrtc_fuzzers_dummy") { |
| 375 testonly = true | 375 testonly = true |
| 376 deps = [ | 376 deps = [ |
| 377 "test/fuzzers:webrtc_fuzzer_main", | 377 "test/fuzzers:webrtc_fuzzer_main", |
| 378 ] | 378 ] |
| 379 } | 379 } |
| 380 } | 380 } |
| 381 | 381 |
| 382 # There's no point processing WebRTC standalone tests in a Chromium build. | 382 if (!rtc_include_tests) { |
|
phoglund
2016/06/08 07:17:00
Uh oh.
| |
| 383 if (!build_with_chromium) { | |
| 384 config("rtc_unittests_config") { | 383 config("rtc_unittests_config") { |
| 385 # GN orders flags on a target before flags from configs. The default config | 384 # GN orders flags on a target before flags from configs. The default config |
| 386 # adds -Wall, and this flag have to be after -Wall -- so they need to | 385 # adds -Wall, and this flag have to be after -Wall -- so they need to |
| 387 # come from a config and can"t be on the target directly. | 386 # come from a config and can"t be on the target directly. |
| 388 if (is_clang) { | 387 if (is_clang) { |
| 389 cflags = [ | 388 cflags = [ |
| 390 "-Wno-missing-braces", | 389 "-Wno-missing-braces", |
| 391 "-Wno-sign-compare", | 390 "-Wno-sign-compare", |
| 392 "-Wno-unused-const-variable", | 391 "-Wno-unused-const-variable", |
| 393 ] | 392 ] |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 565 "p2p:rtc_p2p", | 564 "p2p:rtc_p2p", |
| 566 "//testing/gmock", | 565 "//testing/gmock", |
| 567 "//testing/gtest", | 566 "//testing/gtest", |
| 568 ] | 567 ] |
| 569 | 568 |
| 570 if (is_android) { | 569 if (is_android) { |
| 571 deps += [ "//testing/android/native_test:native_test_support" ] | 570 deps += [ "//testing/android/native_test:native_test_support" ] |
| 572 } | 571 } |
| 573 } | 572 } |
| 574 } | 573 } |
| OLD | NEW |