GN: Fix errors in rtc_include_tests conditions

https://codereview.webrtc.org/2043873003 forgot to flip the
logic.

BUG=webrtc:5949
TBR=phoglund@webrtc.org
NOTRY=True

Review URL: https://codereview.webrtc.org/2037403003 .

Cr-Commit-Position: refs/heads/master@{#13055}
This commit is contained in:
kjellander@webrtc.org 2016-06-06 23:04:31 +02:00
parent e72db17556
commit aff499c9bf
4 changed files with 4 additions and 4 deletions

View File

@ -379,7 +379,7 @@ if (use_libfuzzer || use_drfuzz) {
}
}
if (!rtc_include_tests) {
if (rtc_include_tests) {
config("rtc_unittests_config") {
# GN orders flags on a target before flags from configs. The default config
# adds -Wall, and this flag have to be after -Wall -- so they need to

View File

@ -632,7 +632,7 @@ source_set("gtest_prod") {
]
}
if (!rtc_include_tests) {
if (rtc_include_tests) {
config("rtc_base_test_utils_exported_config") {
defines = [ "GTEST_RELATIVE_PATH" ]
}

View File

@ -193,7 +193,7 @@ if (is_linux) {
}
}
if (!rtc_include_tests) {
if (rtc_include_tests) {
test("system_wrappers_unittests") {
testonly = true
sources = [

View File

@ -170,7 +170,7 @@ source_set("agc_test_utils") {
}
# Exclude tools depending on gflags since that's not available in Chromium.
if (!rtc_include_tests) {
if (rtc_include_tests) {
executable("agc_harness") {
testonly = true
sources = [