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

Side by Side Diff: components/BUILD.gn

Issue 2358063002: Preparing components_perftests (Closed)
Patch Set: Fixing ios dependencies Created 4 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
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 import("//tools/grit/repack.gni") 8 import("//tools/grit/repack.gni")
9 9
10 if (is_android) { 10 if (is_android) {
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 "$root_out_dir/ui_test.pak", 49 "$root_out_dir/ui_test.pak",
50 ] 50 ]
51 } 51 }
52 52
53 # Add only ":unit_tests" dependencies here. If your tests have dependencies 53 # Add only ":unit_tests" dependencies here. If your tests have dependencies
54 # (this would at least include the component itself), they should be on the 54 # (this would at least include the component itself), they should be on the
55 # test source set and not here. 55 # test source set and not here.
56 56
57 deps = [ 57 deps = [
58 "//base", 58 "//base",
59 "//base/test:test_support",
60 "//components/autofill/core/browser:unit_tests", 59 "//components/autofill/core/browser:unit_tests",
61 "//components/autofill/core/common:unit_tests", 60 "//components/autofill/core/common:unit_tests",
62 "//components/base32:unit_tests", 61 "//components/base32:unit_tests",
63 "//components/bookmarks/browser:unit_tests", 62 "//components/bookmarks/browser:unit_tests",
64 "//components/bookmarks/managed:unit_tests", 63 "//components/bookmarks/managed:unit_tests",
65 "//components/browser_sync:unit_tests", 64 "//components/browser_sync:unit_tests",
66 "//components/browsing_data/core:unit_tests", 65 "//components/browsing_data/core:unit_tests",
67 "//components/bubble:unit_tests", 66 "//components/bubble:unit_tests",
68 "//components/captive_portal:unit_tests", 67 "//components/captive_portal:unit_tests",
69 "//components/client_update_protocol:unit_tests", 68 "//components/client_update_protocol:unit_tests",
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 "//components/ssl_config:unit_tests", 125 "//components/ssl_config:unit_tests",
127 "//components/ssl_errors:unit_tests", 126 "//components/ssl_errors:unit_tests",
128 "//components/subresource_filter/core/browser:unit_tests", 127 "//components/subresource_filter/core/browser:unit_tests",
129 "//components/subresource_filter/core/common:unit_tests", 128 "//components/subresource_filter/core/common:unit_tests",
130 "//components/suggestions:unit_tests", 129 "//components/suggestions:unit_tests",
131 "//components/supervised_user_error_page:unit_tests", 130 "//components/supervised_user_error_page:unit_tests",
132 "//components/sync:unit_tests", 131 "//components/sync:unit_tests",
133 "//components/sync_bookmarks:unit_tests", 132 "//components/sync_bookmarks:unit_tests",
134 "//components/sync_sessions:unit_tests", 133 "//components/sync_sessions:unit_tests",
135 "//components/syncable_prefs:unit_tests", 134 "//components/syncable_prefs:unit_tests",
135 "//components/test:test_support",
136 "//components/translate/core/browser:unit_tests", 136 "//components/translate/core/browser:unit_tests",
137 "//components/translate/core/common:unit_tests", 137 "//components/translate/core/common:unit_tests",
138 "//components/translate/core/language_detection:unit_tests", 138 "//components/translate/core/language_detection:unit_tests",
139 "//components/undo:unit_tests", 139 "//components/undo:unit_tests",
140 "//components/update_client:unit_tests", 140 "//components/update_client:unit_tests",
141 "//components/upload_list:unit_tests", 141 "//components/upload_list:unit_tests",
142 "//components/url_formatter:unit_tests", 142 "//components/url_formatter:unit_tests",
143 "//components/url_matcher:unit_tests", 143 "//components/url_matcher:unit_tests",
144 "//components/user_prefs/tracked:unit_tests", 144 "//components/user_prefs/tracked:unit_tests",
145 "//components/variations:unit_tests", 145 "//components/variations:unit_tests",
146 "//components/variations/service:unit_tests", 146 "//components/variations/service:unit_tests",
147 "//components/web_resource:unit_tests", 147 "//components/web_resource:unit_tests",
148 "//components/webdata/common:unit_tests", 148 "//components/webdata/common:unit_tests",
149
150 # Direct dependencies of components/test/run_all_unittests.cc.
151 "//components/content_settings/core/common",
152 "//mojo/edk/system",
153 "//net",
154 "//testing/gtest",
155 "//ui/base",
156 "//ui/resources:ui_test_pak",
157 ] 149 ]
158 150
159 if (enable_nacl) { 151 if (enable_nacl) {
160 deps += [ "//components/nacl/browser:unit_tests" ] 152 deps += [ "//components/nacl/browser:unit_tests" ]
161 } 153 }
162 154
163 if (is_ios) { 155 if (is_ios) {
164 deps += [ 156 deps += [
165 "//components/signin/ios/browser:unit_tests", 157 "//components/signin/ios/browser:unit_tests",
166 "//components/translate/ios/browser:unit_tests", 158 "//components/translate/ios/browser:unit_tests",
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 "//components/spellcheck/browser:unit_tests", 192 "//components/spellcheck/browser:unit_tests",
201 "//components/spellcheck/renderer:unit_tests", 193 "//components/spellcheck/renderer:unit_tests",
202 "//components/subresource_filter/content/browser:unit_tests", 194 "//components/subresource_filter/content/browser:unit_tests",
203 "//components/subresource_filter/content/renderer:unit_tests", 195 "//components/subresource_filter/content/renderer:unit_tests",
204 "//components/tracing:unit_tests", 196 "//components/tracing:unit_tests",
205 "//components/visitedlink/test:unit_tests", 197 "//components/visitedlink/test:unit_tests",
206 "//components/wallpaper:unit_tests", 198 "//components/wallpaper:unit_tests",
207 "//components/web_cache/browser:unit_tests", 199 "//components/web_cache/browser:unit_tests",
208 "//components/webcrypto:unit_tests", 200 "//components/webcrypto:unit_tests",
209 "//components/zoom:unit_tests", 201 "//components/zoom:unit_tests",
210
211 # These are the deps required by the code in this target.
212 "//components/policy/core/browser",
213 "//content/test:test_support",
214 "//ui/gl:test_support",
215 ] 202 ]
216 203
217 data_deps = [ 204 data_deps = [
218 ":components_tests_pak", 205 ":components_tests_pak",
219 "//third_party/mesa:osmesa", 206 "//third_party/mesa:osmesa",
220 "//ui/resources:ui_test_pak", 207 "//ui/resources:ui_test_pak",
221 ] 208 ]
222 } # iOS/!iOS 209 } # iOS/!iOS
223 210
224 if (is_ios) { 211 if (is_ios) {
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 } 455 }
469 456
470 if (enable_basic_printing || enable_print_preview) { 457 if (enable_basic_printing || enable_print_preview) {
471 sources += [ "printing/test/print_web_view_helper_browsertest.cc" ] 458 sources += [ "printing/test/print_web_view_helper_browsertest.cc" ]
472 deps += [ "//components/printing/test:test_support" ] 459 deps += [ "//components/printing/test:test_support" ]
473 } 460 }
474 } 461 }
475 462
476 test("components_perftests") { 463 test("components_perftests") {
477 sources = [ 464 sources = [
465 "test/run_all_perftests.cc",
478 "visitedlink/test/visitedlink_perftest.cc", 466 "visitedlink/test/visitedlink_perftest.cc",
479 ] 467 ]
480 468
481 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 469 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
482 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 470 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
483 471
484 deps = [ 472 deps = [
485 "//base", 473 "//base",
486 "//base/test:test_support", 474 "//components/test:test_support",
487 "//components/visitedlink/browser", 475 "//components/visitedlink/browser",
488 "//content/test:test_support",
489 "//mojo/edk/test:run_all_perftests",
490 "//testing/gtest",
491 "//testing/perf", 476 "//testing/perf",
492 "//url", 477 "//url",
493 ] 478 ]
494 } 479 }
495 } 480 }
OLDNEW
« no previous file with comments | « no previous file | components/test/BUILD.gn » ('j') | components/visitedlink/test/visitedlink_perftest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698