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/tools/BUILD.gn

Issue 2043873003: GN: Use rtc_include_tests variable to exclude tests. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 6 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
« webrtc/BUILD.gn ('K') | « webrtc/system_wrappers/BUILD.gn ('k') | no next file » | 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 import("//testing/test.gni") 9 import("//testing/test.gni")
10 import("../build/webrtc.gni") 10 import("../build/webrtc.gni")
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 sources = [ 157 sources = [
158 "agc/test_utils.cc", 158 "agc/test_utils.cc",
159 "agc/test_utils.h", 159 "agc/test_utils.h",
160 ] 160 ]
161 161
162 configs += [ "..:common_config" ] 162 configs += [ "..:common_config" ]
163 public_configs = [ "..:common_inherited_config" ] 163 public_configs = [ "..:common_inherited_config" ]
164 } 164 }
165 165
166 # Exclude tools depending on gflags since that's not available in Chromium. 166 # Exclude tools depending on gflags since that's not available in Chromium.
167 # There's no point processing WebRTC standalone tests in a Chromium build. 167 if (!rtc_include_tests) {
168 if (!build_with_chromium) {
169 executable("agc_harness") { 168 executable("agc_harness") {
170 testonly = true 169 testonly = true
171 sources = [ 170 sources = [
172 "agc/agc_harness.cc", 171 "agc/agc_harness.cc",
173 ] 172 ]
174 173
175 configs += [ "..:common_config" ] 174 configs += [ "..:common_config" ]
176 public_configs = [ "..:common_inherited_config" ] 175 public_configs = [ "..:common_inherited_config" ]
177 176
178 if (is_clang) { 177 if (is_clang) {
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 ":video_quality_analysis", 267 ":video_quality_analysis",
269 "../test:test_support_main", 268 "../test:test_support_main",
270 "//testing/gtest", 269 "//testing/gtest",
271 ] 270 ]
272 271
273 if (is_android) { 272 if (is_android) {
274 deps += [ "//testing/android/native_test:native_test_support" ] 273 deps += [ "//testing/android/native_test:native_test_support" ]
275 } 274 }
276 } 275 }
277 } 276 }
OLDNEW
« webrtc/BUILD.gn ('K') | « webrtc/system_wrappers/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698