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

Side by Side Diff: test/BUILD.gn

Issue 3011413002: Remove remaining mentions of gflags (Closed)
Patch Set: Replace `!build_with_chromium` with `rtc_include_tests` Created 3 years, 2 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
« no previous file with comments | « rtc_tools/BUILD.gn ('k') | tools_webrtc/autoroller/roll_deps.py » ('j') | 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("../webrtc.gni") 9 import("../webrtc.gni")
10 import("//build/config/ui.gni") 10 import("//build/config/ui.gni")
11 if (is_android) { 11 if (is_android) {
12 import("//build/config/android/rules.gni") 12 import("//build/config/android/rules.gni")
13 } 13 }
14 if (rtc_use_memcheck) { 14 if (rtc_use_memcheck) {
15 import("//tools_webrtc/valgrind/valgrind-webrtc.gni") 15 import("//tools_webrtc/valgrind/valgrind-webrtc.gni")
16 } 16 }
17 17
18 group("test") { 18 group("test") {
19 testonly = true 19 testonly = true
20 20
21 deps = [ 21 deps = [
22 ":field_trial", 22 ":field_trial",
23 ":rtp_test_utils", 23 ":rtp_test_utils",
24 ":test_common", 24 ":test_common",
25 ":test_renderer", 25 ":test_renderer",
26 ":test_support", 26 ":test_support",
27 ":video_test_common", 27 ":video_test_common",
28 ] 28 ]
29 29
30 if (!build_with_chromium) { 30 if (rtc_include_tests) {
31 deps += [ 31 deps += [
32 ":test_main", 32 ":test_main",
33 ":test_support_unittests", 33 ":test_support_unittests",
34 ] 34 ]
35 } 35 }
36 } 36 }
37 37
38 rtc_source_set("video_test_common") { 38 rtc_source_set("video_test_common") {
39 testonly = true 39 testonly = true
40 sources = [ 40 sources = [
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 168
169 if (is_ios && !build_with_chromium) { 169 if (is_ios && !build_with_chromium) {
170 deps += [ "../sdk:common_objc" ] 170 deps += [ "../sdk:common_objc" ]
171 } 171 }
172 172
173 if (rtc_use_memcheck) { 173 if (rtc_use_memcheck) {
174 data = valgrind_webrtc_dependencies 174 data = valgrind_webrtc_dependencies
175 } 175 }
176 } 176 }
177 177
178 if (!build_with_chromium) { 178 if (rtc_include_tests) {
179 # This target used to depend on //third_party/gflags which Chromium does not
180 # provide. TODO(oprypin): remove the conditional.
181 rtc_source_set("test_main") { 179 rtc_source_set("test_main") {
182 testonly = true 180 testonly = true
183 sources = [ 181 sources = [
184 "test_main.cc", 182 "test_main.cc",
185 ] 183 ]
186 184
187 public_deps = [ 185 public_deps = [
188 ":test_support", 186 ":test_support",
189 ] 187 ]
190 deps = [ 188 deps = [
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
722 ] 720 ]
723 deps = [ 721 deps = [
724 "../rtc_base:base_java", 722 "../rtc_base:base_java",
725 "//testing/android/native_test:native_test_java", 723 "//testing/android/native_test:native_test_java",
726 ] 724 ]
727 725
728 # TODO(sakal): Fix build hooks crbug.com/webrtc/8148 726 # TODO(sakal): Fix build hooks crbug.com/webrtc/8148
729 no_build_hooks = true 727 no_build_hooks = true
730 } 728 }
731 } 729 }
OLDNEW
« no previous file with comments | « rtc_tools/BUILD.gn ('k') | tools_webrtc/autoroller/roll_deps.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698