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:
parent
e72db17556
commit
aff499c9bf
@ -379,7 +379,7 @@ if (use_libfuzzer || use_drfuzz) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!rtc_include_tests) {
|
if (rtc_include_tests) {
|
||||||
config("rtc_unittests_config") {
|
config("rtc_unittests_config") {
|
||||||
# GN orders flags on a target before flags from configs. The default 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
|
# adds -Wall, and this flag have to be after -Wall -- so they need to
|
||||||
|
|||||||
@ -632,7 +632,7 @@ source_set("gtest_prod") {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!rtc_include_tests) {
|
if (rtc_include_tests) {
|
||||||
config("rtc_base_test_utils_exported_config") {
|
config("rtc_base_test_utils_exported_config") {
|
||||||
defines = [ "GTEST_RELATIVE_PATH" ]
|
defines = [ "GTEST_RELATIVE_PATH" ]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -193,7 +193,7 @@ if (is_linux) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!rtc_include_tests) {
|
if (rtc_include_tests) {
|
||||||
test("system_wrappers_unittests") {
|
test("system_wrappers_unittests") {
|
||||||
testonly = true
|
testonly = true
|
||||||
sources = [
|
sources = [
|
||||||
|
|||||||
@ -170,7 +170,7 @@ source_set("agc_test_utils") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Exclude tools depending on gflags since that's not available in Chromium.
|
# Exclude tools depending on gflags since that's not available in Chromium.
|
||||||
if (!rtc_include_tests) {
|
if (rtc_include_tests) {
|
||||||
executable("agc_harness") {
|
executable("agc_harness") {
|
||||||
testonly = true
|
testonly = true
|
||||||
sources = [
|
sources = [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user