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

Side by Side Diff: webrtc/test/BUILD.gn

Issue 2846493002: Reland of Enable GN check for webrtc/base (Closed)
Patch Set: Running chromium trybots again :) Created 3 years, 7 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 import("../webrtc.gni") 9 import("../webrtc.gni")
10 import("//build/config/ui.gni") 10 import("//build/config/ui.gni")
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 165
166 if (is_ios) { 166 if (is_ios) {
167 deps += [ "//webrtc/sdk:rtc_sdk_common_objc" ] 167 deps += [ "//webrtc/sdk:rtc_sdk_common_objc" ]
168 } 168 }
169 169
170 if (rtc_use_memcheck) { 170 if (rtc_use_memcheck) {
171 data = valgrind_webrtc_dependencies 171 data = valgrind_webrtc_dependencies
172 } 172 }
173 } 173 }
174 174
175 rtc_source_set("isolated_output") {
176 # This target was part of :test_support but it depends on //third_party/gflags
177 # and this can be a problem because test_support is pulled in from a target
178 # that is used by Chromium and they are not using gflags.
179 # Please do not merge this target with :test_support.
180 testonly = true
181 sources = [
182 "testsupport/isolated_output.cc",
183 "testsupport/isolated_output.h",
184 ]
185 deps = [
186 ":fileutils",
187 "../base:rtc_base_approved",
188 "//third_party/gflags",
189 ]
190 }
191
175 rtc_source_set("test_support") { 192 rtc_source_set("test_support") {
176 testonly = true 193 testonly = true
177 194
178 sources = [ 195 sources = [
179 "gmock.h", 196 "gmock.h",
180 "gtest.h", 197 "gtest.h",
181 "testsupport/isolated_output.cc",
182 "testsupport/isolated_output.h",
183 "testsupport/packet_reader.cc", 198 "testsupport/packet_reader.cc",
184 "testsupport/packet_reader.h", 199 "testsupport/packet_reader.h",
185 "testsupport/perf_test.cc", 200 "testsupport/perf_test.cc",
186 "testsupport/perf_test.h", 201 "testsupport/perf_test.h",
187 "testsupport/trace_to_stderr.cc", 202 "testsupport/trace_to_stderr.cc",
188 "testsupport/trace_to_stderr.h", 203 "testsupport/trace_to_stderr.h",
189 "testsupport/unittest_utils.h", 204 "testsupport/unittest_utils.h",
190 ] 205 ]
191 206
207 # Do not add a dependency on //third_party/gflags here because it breaks
208 # Chromium.
192 deps = [ 209 deps = [
193 "../base:gtest_prod", 210 "..:webrtc_common",
194 "../base:rtc_base_approved", 211 "../base:rtc_base_approved",
195 "../common_video", 212 "../common_video",
196 "../system_wrappers", 213 "../system_wrappers",
197 "//testing/gmock", 214 "//testing/gmock",
198 "//testing/gtest", 215 "//testing/gtest",
199 "//third_party/gflags",
200 ] 216 ]
201 217
202 public_deps = [ 218 public_deps = [
203 ":fileutils", 219 ":fileutils",
204 ] 220 ]
205 221
206 if (!build_with_chromium && is_clang) { 222 if (!build_with_chromium && is_clang) {
207 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 223 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
208 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 224 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
209 } 225 }
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 shard_timeout = 900 305 shard_timeout = 900
290 } 306 }
291 307
292 if (is_ios) { 308 if (is_ios) {
293 deps += [ ":test_support_unittests_bundle_data" ] 309 deps += [ ":test_support_unittests_bundle_data" ]
294 } 310 }
295 311
296 deps += [ 312 deps += [
297 ":direct_transport", 313 ":direct_transport",
298 ":fileutils_unittests", 314 ":fileutils_unittests",
315 ":isolated_output",
299 ":test_common", 316 ":test_common",
300 ":test_main", 317 ":test_main",
301 ":video_test_common", 318 ":video_test_common",
302 ":video_test_support", 319 ":video_test_support",
303 "../modules/video_capture", 320 "../modules/video_capture",
304 "//testing/gmock", 321 "//testing/gmock",
305 "//testing/gtest", 322 "//testing/gtest",
306 "//third_party/gflags", 323 "//third_party/gflags",
307 ] 324 ]
308 } 325 }
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 ] 507 ]
491 } 508 }
492 509
493 rtc_source_set("audio_codec_mocks") { 510 rtc_source_set("audio_codec_mocks") {
494 testonly = true 511 testonly = true
495 sources = [ 512 sources = [
496 "mock_audio_decoder.h", 513 "mock_audio_decoder.h",
497 "mock_audio_decoder_factory.h", 514 "mock_audio_decoder_factory.h",
498 ] 515 ]
499 } 516 }
OLDNEW
« no previous file with comments | « webrtc/system_wrappers/source/stringize_macros_unittest.cc ('k') | webrtc/test/fuzzers/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698