OLD | NEW |
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/crypto.gni") | 5 import("//build/config/crypto.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 import("//build/module_args/v8.gni") | 8 import("//build/module_args/v8.gni") |
9 import("//testing/test.gni") | 9 import("//testing/test.gni") |
10 | 10 |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 "//chrome:resources", | 209 "//chrome:resources", |
210 "//chrome:strings", | 210 "//chrome:strings", |
211 "//chrome/browser", | 211 "//chrome/browser", |
212 "//chrome/common", | 212 "//chrome/common", |
213 "//mojo/environment:chromium", | 213 "//mojo/environment:chromium", |
214 "//third_party/mojo/src/mojo/edk/system", | 214 "//third_party/mojo/src/mojo/edk/system", |
215 ] | 215 ] |
216 } | 216 } |
217 | 217 |
218 if (!is_android && (!is_win || link_chrome_on_windows)) { | 218 if (!is_android && (!is_win || link_chrome_on_windows)) { |
219 import("//chrome/chrome_tests.gni") | 219 gypi_values = exec_script("//build/gypi_to_gn.py", |
| 220 [ rebase_path("../chrome_tests.gypi") ], |
| 221 "scope", |
| 222 [ "../chrome_tests.gypi" ]) |
220 | 223 |
221 test("interactive_ui_tests") { | 224 test("interactive_ui_tests") { |
222 sources = | 225 sources = rebase_path(gypi_values.chrome_interactive_ui_test_sources, |
223 rebase_path(chrome_tests_gypi_values.chrome_interactive_ui_test_sources, | 226 ".", |
224 ".", | 227 "//chrome") |
225 "//chrome") | |
226 | 228 |
227 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 229 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
228 ldflags = [] | 230 ldflags = [] |
229 | 231 |
230 deps = [ | 232 deps = [ |
231 "//base/allocator", | 233 "//base/allocator", |
232 "//chrome/browser", | 234 "//chrome/browser", |
233 "//chrome/browser/devtools", | 235 "//chrome/browser/devtools", |
234 "//chrome/renderer", | 236 "//chrome/renderer", |
235 "//chrome/test:test_support", | 237 "//chrome/test:test_support", |
(...skipping 22 matching lines...) Expand all Loading... |
258 "//ui/base:test_support", | 260 "//ui/base:test_support", |
259 "//ui/web_dialogs:test_support", | 261 "//ui/web_dialogs:test_support", |
260 ] | 262 ] |
261 | 263 |
262 # Runtime dependencies | 264 # Runtime dependencies |
263 datadeps = [ | 265 datadeps = [ |
264 "//third_party/mesa:osmesa", | 266 "//third_party/mesa:osmesa", |
265 ] | 267 ] |
266 | 268 |
267 if (toolkit_views) { | 269 if (toolkit_views) { |
268 sources += rebase_path( | 270 sources += |
269 chrome_tests_gypi_values.chrome_interactive_ui_test_views_sources, | 271 rebase_path(gypi_values.chrome_interactive_ui_test_views_sources, |
270 ".", | 272 ".", |
271 "//chrome") | 273 "//chrome") |
272 deps += [ | 274 deps += [ |
273 "//ui/views", | 275 "//ui/views", |
274 "//ui/views:test_support", | 276 "//ui/views:test_support", |
275 "//ui/views/controls/webview:test_support", | 277 "//ui/views/controls/webview:test_support", |
276 ] | 278 ] |
277 if (!is_mac) { | 279 if (!is_mac) { |
278 sources += rebase_path( | 280 sources += rebase_path( |
279 chrome_tests_gypi_values.chrome_interactive_ui_test_views_non_ma
c_sources, | 281 gypi_values.chrome_interactive_ui_test_views_non_mac_sources, |
280 ".", | 282 ".", |
281 "//chrome") | 283 "//chrome") |
282 } | 284 } |
283 if (is_linux) { | 285 if (is_linux) { |
284 # TODO(gbillock): aura linux does not support the automation for | 286 # TODO(gbillock): aura linux does not support the automation for |
285 # SendMouseMoveNotifyWhenDone | 287 # SendMouseMoveNotifyWhenDone |
286 sources -= [ "../browser/ui/views/toolbar/toolbar_button_test.cc" ] | 288 sources -= [ "../browser/ui/views/toolbar/toolbar_button_test.cc" ] |
287 } | 289 } |
288 if (is_chromeos || !use_x11) { | 290 if (is_chromeos || !use_x11) { |
289 sources -= [ | 291 sources -= [ |
290 "../../ui/views/widget/desktop_aura/desktop_window_tree_host_x11_inter
active_uitest.cc", | 292 "../../ui/views/widget/desktop_aura/desktop_window_tree_host_x11_inter
active_uitest.cc", |
291 "../../ui/views/widget/desktop_aura/x11_topmost_window_finder_interact
ive_uitest.cc", | 293 "../../ui/views/widget/desktop_aura/x11_topmost_window_finder_interact
ive_uitest.cc", |
292 ] | 294 ] |
293 } | 295 } |
294 } | 296 } |
295 | 297 |
296 if (is_linux && !is_chromeos) { | 298 if (is_linux && !is_chromeos) { |
297 # Desktop linux. | 299 # Desktop linux. |
298 sources -= [ | 300 sources -= [ |
299 # TODO(port): This times out. Attempts have been made to fix the | 301 # TODO(port): This times out. Attempts have been made to fix the |
300 # individual failures, but each time I disable a test from these | 302 # individual failures, but each time I disable a test from these |
301 # suites, it seems like one or another starts timing out too. | 303 # suites, it seems like one or another starts timing out too. |
302 "../browser/ui/views/keyboard_access_browsertest.cc", | 304 "../browser/ui/views/keyboard_access_browsertest.cc", |
303 ] | 305 ] |
304 } else { | 306 } else { |
305 # Everything but desktop Linux. | 307 # Everything but desktop Linux. |
306 sources += rebase_path( | 308 sources += rebase_path( |
307 chrome_tests_gypi_values.chrome_interactive_ui_test_non_desktop_li
nux_sources, | 309 gypi_values.chrome_interactive_ui_test_non_desktop_linux_sources, |
308 ".", | 310 ".", |
309 "//chrome") | 311 "//chrome") |
310 } | 312 } |
311 | 313 |
312 if (is_chromeos) { | 314 if (is_chromeos) { |
313 sources += rebase_path( | 315 sources += |
314 chrome_tests_gypi_values.chrome_interactive_ui_test_chromeos_sourc
es, | 316 rebase_path(gypi_values.chrome_interactive_ui_test_chromeos_sources, |
315 ".", | 317 ".", |
316 "//chrome") | 318 "//chrome") |
317 sources += [ "../browser/notifications/login_state_notification_blocker_ch
romeos_browsertest.cc" ] | 319 sources += [ "../browser/notifications/login_state_notification_blocker_ch
romeos_browsertest.cc" ] |
318 sources -= [ | 320 sources -= [ |
319 # Use only the _chromeos version on ChromeOS. | 321 # Use only the _chromeos version on ChromeOS. |
320 "base/view_event_test_platform_part_ash.cc", | 322 "base/view_event_test_platform_part_ash.cc", |
321 ] | 323 ] |
322 | 324 |
323 deps += [ | 325 deps += [ |
324 "//ash/resources", | 326 "//ash/resources", |
325 "//chromeos", | 327 "//chromeos", |
326 ] | 328 ] |
327 | 329 |
328 if (enable_nacl) { | 330 if (enable_nacl) { |
329 deps += [ | 331 deps += [ |
330 "//native_client/src/trusted/service_runtime/linux:munge_nacl_helper_b
ootstrap", | 332 "//native_client/src/trusted/service_runtime/linux:munge_nacl_helper_b
ootstrap", |
331 "//components/nacl:nacl_helper", | 333 "//components/nacl:nacl_helper", |
332 | 334 |
333 # '../components/nacl_nonsfi.gyp:nacl_helper_nonsfi', TODO(GYP) | 335 # '../components/nacl_nonsfi.gyp:nacl_helper_nonsfi', TODO(GYP) |
334 ] | 336 ] |
335 } | 337 } |
336 | 338 |
337 if (is_chrome_branded) { | 339 if (is_chrome_branded) { |
338 sources -= [ | 340 sources -= [ |
339 # These tests are failing on official cros bots. crbug.com/431450. | 341 # These tests are failing on official cros bots. crbug.com/431450. |
340 "../browser/ui/views/bookmarks/bookmark_bar_view_test.cc", | 342 "../browser/ui/views/bookmarks/bookmark_bar_view_test.cc", |
341 ] | 343 ] |
342 } | 344 } |
343 } else { | 345 } else { |
344 # ChromeOS doesn't use panels, everybody else does. | 346 # ChromeOS doesn't use panels, everybody else does. |
345 sources += rebase_path( | 347 sources += |
346 chrome_tests_gypi_values.chrome_interactive_ui_test_panels_sources
, | 348 rebase_path(gypi_values.chrome_interactive_ui_test_panels_sources, |
347 ".", | 349 ".", |
348 "//chrome") | 350 "//chrome") |
349 | 351 |
350 # TODO(tapted): Include on mac when views panels are ported. | 352 # TODO(tapted): Include on mac when views panels are ported. |
351 if (toolkit_views && !is_mac) { | 353 if (toolkit_views && !is_mac) { |
352 sources += rebase_path( | 354 sources += rebase_path( |
353 chrome_tests_gypi_values.chrome_interactive_ui_test_panels_views
_sources, | 355 gypi_values.chrome_interactive_ui_test_panels_views_sources, |
354 ".", | 356 ".", |
355 "//chrome") | 357 "//chrome") |
356 } | 358 } |
357 } | 359 } |
358 | 360 |
359 if (!is_linux) { | 361 if (!is_linux) { |
360 # Non-Linux platforms (Linux includes ChromeOS here). | 362 # Non-Linux platforms (Linux includes ChromeOS here). |
361 sources += rebase_path( | 363 sources += rebase_path( |
362 chrome_tests_gypi_values.chrome_interactive_ui_test_non_linux_and_
chromeos_sources, | 364 gypi_values.chrome_interactive_ui_test_non_linux_and_chromeos_sour
ces, |
363 ".", | 365 ".", |
364 "//chrome") | 366 "//chrome") |
365 } | 367 } |
366 | 368 |
367 if (is_win) { | 369 if (is_win) { |
368 sources += rebase_path( | 370 sources += rebase_path(gypi_values.chrome_interactive_ui_test_win_sources, |
369 chrome_tests_gypi_values.chrome_interactive_ui_test_win_sources, | 371 ".", |
370 ".", | 372 "//chrome") |
371 "//chrome") | |
372 sources += [ "$root_gen_dir/chrome/other_version.rc" ] | 373 sources += [ "$root_gen_dir/chrome/other_version.rc" ] |
373 deps += [ | 374 deps += [ |
374 "//chrome:chrome_version_resources", | 375 "//chrome:chrome_version_resources", |
375 "//third_party/isimpledom", | 376 "//third_party/isimpledom", |
376 "//third_party/wtl", | 377 "//third_party/wtl", |
377 "//ui/resources", | 378 "//ui/resources", |
378 ] | 379 ] |
379 } | 380 } |
380 | 381 |
381 if (is_mac) { | 382 if (is_mac) { |
(...skipping 10 matching lines...) Expand all Loading... |
392 # application embedder is using. | 393 # application embedder is using. |
393 deps += [ "//third_party/cld_2:cld2_platform_impl" ] | 394 deps += [ "//third_party/cld_2:cld2_platform_impl" ] |
394 } | 395 } |
395 | 396 |
396 if (use_x11) { | 397 if (use_x11) { |
397 configs += [ "//build/config/linux:xtst" ] | 398 configs += [ "//build/config/linux:xtst" ] |
398 datadeps += [ "//tools/xdisplaycheck" ] | 399 datadeps += [ "//tools/xdisplaycheck" ] |
399 } | 400 } |
400 | 401 |
401 if (enable_app_list) { | 402 if (enable_app_list) { |
402 sources += rebase_path( | 403 sources += |
403 chrome_tests_gypi_values.chrome_interactive_ui_test_app_list_sourc
es, | 404 rebase_path(gypi_values.chrome_interactive_ui_test_app_list_sources, |
404 ".", | 405 ".", |
405 "//chrome") | 406 "//chrome") |
406 } | 407 } |
407 | 408 |
408 if (use_ash) { | 409 if (use_ash) { |
409 sources += rebase_path( | 410 sources += rebase_path(gypi_values.chrome_interactive_ui_test_ash_sources, |
410 chrome_tests_gypi_values.chrome_interactive_ui_test_ash_sources, | 411 ".", |
411 ".", | 412 "//chrome") |
412 "//chrome") | |
413 deps += [ "//ash:test_support" ] | 413 deps += [ "//ash:test_support" ] |
414 } | 414 } |
415 | 415 |
416 if (enable_notifications) { | 416 if (enable_notifications) { |
417 sources += rebase_path( | 417 sources += rebase_path( |
418 chrome_tests_gypi_values.chrome_interactive_ui_test_notifications_
sources, | 418 gypi_values.chrome_interactive_ui_test_notifications_sources, |
419 ".", | 419 ".", |
420 "//chrome") | 420 "//chrome") |
421 | 421 |
422 # Non-ChromeOS notifications tests (ChromeOS does not use cross-platform | 422 # Non-ChromeOS notifications tests (ChromeOS does not use cross-platform |
423 # panels). | 423 # panels). |
424 if (!is_chromeos) { | 424 if (!is_chromeos) { |
425 sources += [ | 425 sources += [ |
426 "../browser/notifications/notification_browsertest.cc", | 426 "../browser/notifications/notification_browsertest.cc", |
427 "../browser/notifications/platform_notification_service_browsertest.cc
", | 427 "../browser/notifications/platform_notification_service_browsertest.cc
", |
428 ] | 428 ] |
(...skipping 12 matching lines...) Expand all Loading... |
441 } # enable_notifications | 441 } # enable_notifications |
442 | 442 |
443 if (use_aura || is_chromeos) { | 443 if (use_aura || is_chromeos) { |
444 sources -= | 444 sources -= |
445 [ "../../ui/views/corewm/desktop_capture_controller_unittest.cc" ] | 445 [ "../../ui/views/corewm/desktop_capture_controller_unittest.cc" ] |
446 } | 446 } |
447 } | 447 } |
448 | 448 |
449 source_set("sync_integration_test_support") { | 449 source_set("sync_integration_test_support") { |
450 testonly = true | 450 testonly = true |
451 sources = rebase_path( | 451 sources = rebase_path(gypi_values.test_support_sync_integration_sources, |
452 chrome_tests_gypi_values.test_support_sync_integration_sources, | 452 ".", |
453 ".", | 453 "//chrome") |
454 "//chrome") | |
455 public_deps = [ | 454 public_deps = [ |
456 "//chrome/browser", | 455 "//chrome/browser", |
457 ] | 456 ] |
458 deps = [ | 457 deps = [ |
459 ":test_support", | 458 ":test_support", |
460 "//base", | 459 "//base", |
461 "//chrome", | 460 "//chrome", |
462 "//components/invalidation", | 461 "//components/invalidation", |
463 "//components/invalidation:test_support", | 462 "//components/invalidation:test_support", |
464 "//net", | 463 "//net", |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
561 "//testing/gtest", | 560 "//testing/gtest", |
562 "//url", | 561 "//url", |
563 ] | 562 ] |
564 if (defined(invoker.deps)) { | 563 if (defined(invoker.deps)) { |
565 deps += invoker.deps | 564 deps += invoker.deps |
566 } | 565 } |
567 } | 566 } |
568 } | 567 } |
569 | 568 |
570 js2webui("browser_tests_js_webui") { | 569 js2webui("browser_tests_js_webui") { |
571 sources = rebase_path( | 570 sources = rebase_path(gypi_values.chrome_browser_tests_webui_js_sources, |
572 chrome_tests_gypi_values.chrome_browser_tests_webui_js_sources, | 571 ".", |
573 ".", | 572 "//chrome") |
574 "//chrome") | |
575 if (is_chrome_branded) { | 573 if (is_chrome_branded) { |
576 # crbug.com/230471 | 574 # crbug.com/230471 |
577 sources -= [ "data/webui/accessibility_audit_browsertest.js" ] | 575 sources -= [ "data/webui/accessibility_audit_browsertest.js" ] |
578 } | 576 } |
579 if (!is_chromeos) { | 577 if (!is_chromeos) { |
580 sources -= [ | 578 sources -= [ |
581 "data/webui/certificate_viewer_dialog_test.js", | 579 "data/webui/certificate_viewer_dialog_test.js", |
582 "test/data/chromeos/oobe_webui_browsertest.js", | 580 "test/data/chromeos/oobe_webui_browsertest.js", |
583 ] | 581 ] |
584 } | 582 } |
585 if (!enable_app_list) { | 583 if (!enable_app_list) { |
586 sources -= [ "../browser/ui/webui/app_list/start_page_browsertest.js" ] | 584 sources -= [ "../browser/ui/webui/app_list/start_page_browsertest.js" ] |
587 } | 585 } |
588 if (!enable_supervised_users) { | 586 if (!enable_supervised_users) { |
589 sources -= | 587 sources -= |
590 [ "../browser/ui/webui/downloads_ui_supervised_browsertest.js" ] | 588 [ "../browser/ui/webui/downloads_ui_supervised_browsertest.js" ] |
591 } | 589 } |
592 deps = [ | 590 deps = [ |
593 "//skia", | 591 "//skia", |
594 ] | 592 ] |
595 } | 593 } |
596 } | 594 } |
597 | 595 |
598 test("browser_tests") { | 596 test("browser_tests") { |
599 sources = [ | 597 sources = [ |
600 "base/browser_tests_main.cc", | 598 "base/browser_tests_main.cc", |
601 ] | 599 ] |
602 sources += | 600 sources += |
603 rebase_path(chrome_tests_gypi_values.chrome_browser_tests_sources, | 601 rebase_path(gypi_values.chrome_browser_tests_sources, ".", "//chrome") |
| 602 sources += |
| 603 rebase_path(gypi_values.chrome_browser_extensions_test_support_sources, |
604 ".", | 604 ".", |
605 "//chrome") | 605 "//chrome") |
606 sources += rebase_path( | |
607 chrome_tests_gypi_values.chrome_browser_extensions_test_support_sour
ces, | |
608 ".", | |
609 "//chrome") | |
610 | 606 |
611 deps = [ | 607 deps = [ |
612 ":sync_integration_test_support", | 608 ":sync_integration_test_support", |
613 ":test_support", | 609 ":test_support", |
614 "//base", | 610 "//base", |
615 "//base:i18n", | 611 "//base:i18n", |
616 "//base/allocator", | 612 "//base/allocator", |
617 "//base/test:test_support", | 613 "//base/test:test_support", |
618 "//chrome:browser_tests_pak", | 614 "//chrome:browser_tests_pak", |
619 "//chrome:packed_extra_resources", | 615 "//chrome:packed_extra_resources", |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
754 if (debug_devtools) { | 750 if (debug_devtools) { |
755 defines += [ "DEBUG_DEVTOOLS=1" ] | 751 defines += [ "DEBUG_DEVTOOLS=1" ] |
756 } | 752 } |
757 if (use_ash) { | 753 if (use_ash) { |
758 deps += [ "//ash:test_support" ] | 754 deps += [ "//ash:test_support" ] |
759 } | 755 } |
760 if (use_aura || toolkit_views) { | 756 if (use_aura || toolkit_views) { |
761 deps += [ "//ui/events:test_support" ] | 757 deps += [ "//ui/events:test_support" ] |
762 } | 758 } |
763 if (toolkit_views) { | 759 if (toolkit_views) { |
764 sources += rebase_path( | 760 sources += rebase_path(gypi_values.chrome_browser_tests_views_sources, |
765 chrome_tests_gypi_values.chrome_browser_tests_views_sources, | 761 ".", |
766 ".", | 762 "//chrome") |
767 "//chrome") | |
768 deps += [ "//ui/views" ] | 763 deps += [ "//ui/views" ] |
769 if (!is_mac) { | 764 if (!is_mac) { |
770 sources += rebase_path( | 765 sources += |
771 chrome_tests_gypi_values.chrome_browser_tests_views_non_mac_sour
ces, | 766 rebase_path(gypi_values.chrome_browser_tests_views_non_mac_sources, |
772 ".", | 767 ".", |
773 "//chrome") | 768 "//chrome") |
774 } | 769 } |
775 } | 770 } |
776 if (is_chromeos) { | 771 if (is_chromeos) { |
777 sources += rebase_path( | 772 sources += rebase_path(gypi_values.chrome_browser_tests_chromeos_sources, |
778 chrome_tests_gypi_values.chrome_browser_tests_chromeos_sources, | 773 ".", |
779 ".", | 774 "//chrome") |
780 "//chrome") | |
781 sources -= [ | 775 sources -= [ |
782 "../../apps/load_and_launch_browsertest.cc", | 776 "../../apps/load_and_launch_browsertest.cc", |
783 "../browser/printing/cloud_print/test/cloud_print_policy_browsertest.cc"
, | 777 "../browser/printing/cloud_print/test/cloud_print_policy_browsertest.cc"
, |
784 "../browser/printing/cloud_print/test/cloud_print_proxy_process_browsert
est.cc", | 778 "../browser/printing/cloud_print/test/cloud_print_proxy_process_browsert
est.cc", |
785 | 779 |
786 # chromeos does not support profile list avatar menu | 780 # chromeos does not support profile list avatar menu |
787 "../browser/profiles/profile_list_desktop_browsertest.cc", | 781 "../browser/profiles/profile_list_desktop_browsertest.cc", |
788 "../browser/service_process/service_process_control_browsertest.cc", | 782 "../browser/service_process/service_process_control_browsertest.cc", |
789 | 783 |
790 # chromeos does not use cross-platform panels | 784 # chromeos does not use cross-platform panels |
(...skipping 16 matching lines...) Expand all Loading... |
807 "../browser/invalidation/profile_invalidation_provider_factory_browserte
st.cc", | 801 "../browser/invalidation/profile_invalidation_provider_factory_browserte
st.cc", |
808 "../browser/net/nss_context_chromeos_browsertest.cc", | 802 "../browser/net/nss_context_chromeos_browsertest.cc", |
809 "../browser/ui/ash/keyboard_controller_browsertest.cc", | 803 "../browser/ui/ash/keyboard_controller_browsertest.cc", |
810 "data/webui/certificate_viewer_ui_test-inl.h", | 804 "data/webui/certificate_viewer_ui_test-inl.h", |
811 ] | 805 ] |
812 if (toolkit_views) { | 806 if (toolkit_views) { |
813 sources -= [ "../browser/ui/views/select_file_dialog_extension_browserte
st.cc" ] | 807 sources -= [ "../browser/ui/views/select_file_dialog_extension_browserte
st.cc" ] |
814 } | 808 } |
815 } | 809 } |
816 if (enable_configuration_policy) { | 810 if (enable_configuration_policy) { |
817 sources += rebase_path( | 811 sources += rebase_path(gypi_values.chrome_browser_tests_policy_sources, |
818 chrome_tests_gypi_values.chrome_browser_tests_policy_sources, | 812 ".", |
819 ".", | 813 "//chrome") |
820 "//chrome") | |
821 } | 814 } |
822 if (enable_web_speech) { | 815 if (enable_web_speech) { |
823 sources += rebase_path( | 816 sources += rebase_path(gypi_values.chrome_browser_tests_speech_sources, |
824 chrome_tests_gypi_values.chrome_browser_tests_speech_sources, | 817 ".", |
825 ".", | 818 "//chrome") |
826 "//chrome") | |
827 } | 819 } |
828 if (safe_browsing_mode == 1) { | 820 if (safe_browsing_mode == 1) { |
829 sources += rebase_path( | 821 sources += rebase_path( |
830 chrome_tests_gypi_values.chrome_browser_tests_full_safe_browsing_s
ources, | 822 gypi_values.chrome_browser_tests_full_safe_browsing_sources, |
831 ".", | 823 ".", |
832 "//chrome") | 824 "//chrome") |
833 defines += [ "FULL_SAFE_BROWSING" ] | 825 defines += [ "FULL_SAFE_BROWSING" ] |
834 } | 826 } |
835 if (enable_captive_portal_detection) { | 827 if (enable_captive_portal_detection) { |
836 sources += [ "../browser/captive_portal/captive_portal_browsertest.cc" ] | 828 sources += [ "../browser/captive_portal/captive_portal_browsertest.cc" ] |
837 } | 829 } |
838 if (!enable_webrtc) { | 830 if (!enable_webrtc) { |
839 sources -= [ | 831 sources -= [ |
840 "../browser/extensions/api/webrtc_audio_private/webrtc_audio_private_bro
wsertest.cc", | 832 "../browser/extensions/api/webrtc_audio_private/webrtc_audio_private_bro
wsertest.cc", |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
951 [ "../browser/copresence/chrome_whispernet_client_browsertest.cc" ] | 943 [ "../browser/copresence/chrome_whispernet_client_browsertest.cc" ] |
952 deps += [ "//components/copresence" ] | 944 deps += [ "//components/copresence" ] |
953 } | 945 } |
954 if (!is_android && !is_ios && !is_linux) { | 946 if (!is_android && !is_ios && !is_linux) { |
955 # NPAPI test plugin only works on some platforms. | 947 # NPAPI test plugin only works on some platforms. |
956 data_deps += [ | 948 data_deps += [ |
957 #'../content/content_shell_and_tests.gyp:copy_npapi_test_plugin', TODO(
GYP) | 949 #'../content/content_shell_and_tests.gyp:copy_npapi_test_plugin', TODO(
GYP) |
958 ] | 950 ] |
959 } | 951 } |
960 if (enable_app_list) { | 952 if (enable_app_list) { |
961 sources += rebase_path( | 953 sources += rebase_path(gypi_values.chrome_browser_tests_app_list_sources, |
962 chrome_tests_gypi_values.chrome_browser_tests_app_list_sources, | 954 ".", |
963 ".", | 955 "//chrome") |
964 "//chrome") | |
965 } | 956 } |
966 if (enable_supervised_users) { | 957 if (enable_supervised_users) { |
967 sources += rebase_path( | 958 sources += |
968 chrome_tests_gypi_values.chrome_browser_tests_supervised_user_sour
ces, | 959 rebase_path(gypi_values.chrome_browser_tests_supervised_user_sources, |
969 ".", | 960 ".", |
970 "//chrome") | 961 "//chrome") |
971 } | 962 } |
972 if (enable_pepper_cdms) { | 963 if (enable_pepper_cdms) { |
973 # Runtime dependencies. | 964 # Runtime dependencies. |
974 data_deps += [ | 965 data_deps += [ |
975 "//media/cdm/ppapi:clearkeycdmadapter", | 966 "//media/cdm/ppapi:clearkeycdmadapter", |
976 "//third_party/widevine/cdm:adapter", | 967 "//third_party/widevine/cdm:adapter", |
977 ] | 968 ] |
978 } | 969 } |
979 if (!enable_print_preview) { | 970 if (!enable_print_preview) { |
980 sources -= [ | 971 sources -= [ |
(...skipping 30 matching lines...) Expand all Loading... |
1011 deps -= [ "//third_party/libaddressinput" ] | 1002 deps -= [ "//third_party/libaddressinput" ] |
1012 } | 1003 } |
1013 if (use_ozone) { | 1004 if (use_ozone) { |
1014 sources -= [ | 1005 sources -= [ |
1015 # crbug.com/362698 | 1006 # crbug.com/362698 |
1016 "../browser/chromeos/input_method/input_method_engine_browsertests.cc", | 1007 "../browser/chromeos/input_method/input_method_engine_browsertests.cc", |
1017 "../browser/extensions/api/input_ime/input_ime_apitest_chromeos.cc", | 1008 "../browser/extensions/api/input_ime/input_ime_apitest_chromeos.cc", |
1018 ] | 1009 ] |
1019 } | 1010 } |
1020 if (enable_remoting) { | 1011 if (enable_remoting) { |
1021 sources += rebase_path( | 1012 sources += rebase_path(gypi_values.chrome_browser_tests_remoting_sources, |
1022 chrome_tests_gypi_values.chrome_browser_tests_remoting_sources, | 1013 ".", |
1023 ".", | 1014 "//chrome") |
1024 "//chrome") | |
1025 #deps += [ "//remoting:remoting_webapp" ] TODO(GYP) | 1015 #deps += [ "//remoting:remoting_webapp" ] TODO(GYP) |
1026 } | 1016 } |
1027 if (use_x11) { | 1017 if (use_x11) { |
1028 deps += [ "//tools/xdisplaycheck" ] | 1018 deps += [ "//tools/xdisplaycheck" ] |
1029 } | 1019 } |
1030 } | 1020 } |
1031 | 1021 |
1032 test("sync_integration_tests") { | 1022 test("sync_integration_tests") { |
1033 sources = | 1023 sources = |
1034 rebase_path(chrome_tests_gypi_values.sync_integration_tests_sources, | 1024 rebase_path(gypi_values.sync_integration_tests_sources, ".", "//chrome") |
1035 ".", | |
1036 "//chrome") | |
1037 | 1025 |
1038 # TODO(phajdan.jr): Only temporary, to make transition easier. | 1026 # TODO(phajdan.jr): Only temporary, to make transition easier. |
1039 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 1027 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
1040 | 1028 |
1041 deps = [ | 1029 deps = [ |
1042 ":sync_integration_test_support", | 1030 ":sync_integration_test_support", |
1043 ":test_support", | 1031 ":test_support", |
1044 "//base/allocator", | 1032 "//base/allocator", |
1045 "//chrome:packed_extra_resources", | 1033 "//chrome:packed_extra_resources", |
1046 "//chrome:packed_resources", | 1034 "//chrome:packed_resources", |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1104 "../browser/sync/test/integration/two_client_app_list_sync_test.cc", | 1092 "../browser/sync/test/integration/two_client_app_list_sync_test.cc", |
1105 ] | 1093 ] |
1106 } | 1094 } |
1107 if (!enable_supervised_users) { | 1095 if (!enable_supervised_users) { |
1108 sources -= [ "../browser/sync/test/integration/single_client_supervised_us
er_settings_sync_test.cc" ] | 1096 sources -= [ "../browser/sync/test/integration/single_client_supervised_us
er_settings_sync_test.cc" ] |
1109 } | 1097 } |
1110 } | 1098 } |
1111 | 1099 |
1112 test("sync_performance_tests") { | 1100 test("sync_performance_tests") { |
1113 sources = | 1101 sources = |
1114 rebase_path(chrome_tests_gypi_values.sync_performance_tests_sources, | 1102 rebase_path(gypi_values.sync_performance_tests_sources, ".", "//chrome") |
1115 ".", | |
1116 "//chrome") | |
1117 | 1103 |
1118 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 1104 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
1119 | 1105 |
1120 deps = [ | 1106 deps = [ |
1121 ":sync_integration_test_support", | 1107 ":sync_integration_test_support", |
1122 "//base/allocator", | 1108 "//base/allocator", |
1123 "//crypto:platform", | 1109 "//crypto:platform", |
1124 "//sync", | 1110 "//sync", |
1125 "//testing/gmock", | 1111 "//testing/gmock", |
1126 "//testing/gtest", | 1112 "//testing/gtest", |
(...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1680 } | 1666 } |
1681 if (use_ozone) { | 1667 if (use_ozone) { |
1682 # crbug.com/354036 | 1668 # crbug.com/354036 |
1683 sources -= [ "../browser/chromeos/events/event_rewriter_unittest.cc" ] | 1669 sources -= [ "../browser/chromeos/events/event_rewriter_unittest.cc" ] |
1684 } | 1670 } |
1685 if (!enable_plugin_installation) { | 1671 if (!enable_plugin_installation) { |
1686 sources -= [ "../browser/plugins/plugin_installer_unittest.cc" ] | 1672 sources -= [ "../browser/plugins/plugin_installer_unittest.cc" ] |
1687 } | 1673 } |
1688 } | 1674 } |
1689 } | 1675 } |
OLD | NEW |