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

Side by Side Diff: webrtc/system_wrappers/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
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 if (is_android) { 9 if (is_android) {
10 import("//build/config/android/config.gni") 10 import("//build/config/android/config.gni")
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 source_set("cpu_features_linux") { 186 source_set("cpu_features_linux") {
187 sources = [ 187 sources = [
188 "source/cpu_features_linux.c", 188 "source/cpu_features_linux.c",
189 ] 189 ]
190 190
191 configs += [ "..:common_config" ] 191 configs += [ "..:common_config" ]
192 public_configs = [ "..:common_inherited_config" ] 192 public_configs = [ "..:common_inherited_config" ]
193 } 193 }
194 } 194 }
195 195
196 # There's no point processing WebRTC standalone tests in a Chromium build. 196 if (!rtc_include_tests) {
197 if (!build_with_chromium) {
198 test("system_wrappers_unittests") { 197 test("system_wrappers_unittests") {
199 testonly = true 198 testonly = true
200 sources = [ 199 sources = [
201 "source/aligned_array_unittest.cc", 200 "source/aligned_array_unittest.cc",
202 "source/aligned_malloc_unittest.cc", 201 "source/aligned_malloc_unittest.cc",
203 "source/clock_unittest.cc", 202 "source/clock_unittest.cc",
204 "source/condition_variable_unittest.cc", 203 "source/condition_variable_unittest.cc",
205 "source/critical_section_unittest.cc", 204 "source/critical_section_unittest.cc",
206 "source/data_log_c_helpers_unittest.c", 205 "source/data_log_c_helpers_unittest.c",
207 "source/data_log_c_helpers_unittest.h", 206 "source/data_log_c_helpers_unittest.h",
(...skipping 30 matching lines...) Expand all
238 ":system_wrappers", 237 ":system_wrappers",
239 "../test:test_support_main", 238 "../test:test_support_main",
240 "//testing/gtest", 239 "//testing/gtest",
241 ] 240 ]
242 241
243 if (is_android) { 242 if (is_android) {
244 deps += [ "//testing/android/native_test:native_test_support" ] 243 deps += [ "//testing/android/native_test:native_test_support" ]
245 } 244 }
246 } 245 }
247 } 246 }
OLDNEW
« webrtc/BUILD.gn ('K') | « webrtc/base/BUILD.gn ('k') | webrtc/tools/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698