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("//components/nacl/nacl_defines.gni") | |
9 import("//testing/test.gni") | 10 import("//testing/test.gni") |
10 | 11 |
11 # This target exists to reference other test executables to bring these files | 12 # This target exists to reference other test executables to bring these files |
12 # into the build. | 13 # into the build. |
13 group("test") { | 14 group("test") { |
14 testonly = true | 15 testonly = true |
15 deps = [ | 16 deps = [ |
16 "//chrome/test/perf", | 17 "//chrome/test/perf", |
17 ] | 18 ] |
18 } | 19 } |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
321 sources -= [ | 322 sources -= [ |
322 # Use only the _chromeos version on ChromeOS. | 323 # Use only the _chromeos version on ChromeOS. |
323 "base/view_event_test_platform_part_ash.cc", | 324 "base/view_event_test_platform_part_ash.cc", |
324 ] | 325 ] |
325 | 326 |
326 deps += [ | 327 deps += [ |
327 "//ash/resources", | 328 "//ash/resources", |
328 "//chromeos", | 329 "//chromeos", |
329 ] | 330 ] |
330 | 331 |
331 if (enable_nacl) { | 332 if (enable_nacl && enable_nacl_untrusted) { |
Nick Bray (chromium)
2015/02/07 02:37:46
Unless one of these targets has a transitive depen
Dirk Pranke
2015/02/07 02:48:03
Done.
| |
332 # TODO(GYP) this is also under a disable_nacl_untrusted==0 condition. | |
333 deps += [ | 333 deps += [ |
334 # '../native_client/src/trusted/service_runtime/linux/nacl_bootstrap.g yp:nacl_helper_bootstrap', TODO(GYP) | 334 "//native_client/src/trusted/service_runtime/linux:munge_nacl_helper_b ootstrap", |
335 # '../components/nacl.gyp:nacl_helper', TODO(GYP) | 335 "//components/nacl:nacl_helper", |
336 | |
336 # '../components/nacl_nonsfi.gyp:nacl_helper_nonsfi', TODO(GYP) | 337 # '../components/nacl_nonsfi.gyp:nacl_helper_nonsfi', TODO(GYP) |
337 ] | 338 ] |
338 } | 339 } |
339 | 340 |
340 if (is_chrome_branded) { | 341 if (is_chrome_branded) { |
341 sources -= [ | 342 sources -= [ |
342 # These tests are failing on official cros bots. crbug.com/431450. | 343 # These tests are failing on official cros bots. crbug.com/431450. |
343 "../browser/ui/views/bookmarks/bookmark_bar_view_test.cc", | 344 "../browser/ui/views/bookmarks/bookmark_bar_view_test.cc", |
344 ] | 345 ] |
345 } | 346 } |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
571 | 572 |
572 js2webui("browser_tests_js_webui") { | 573 js2webui("browser_tests_js_webui") { |
573 sources = rebase_path(gypi_values.chrome_browser_tests_webui_js_sources, | 574 sources = rebase_path(gypi_values.chrome_browser_tests_webui_js_sources, |
574 ".", | 575 ".", |
575 "//chrome") | 576 "//chrome") |
576 if (is_chrome_branded) { | 577 if (is_chrome_branded) { |
577 # crbug.com/230471 | 578 # crbug.com/230471 |
578 sources -= [ "data/webui/accessibility_audit_browsertest.js" ] | 579 sources -= [ "data/webui/accessibility_audit_browsertest.js" ] |
579 } | 580 } |
580 if (!is_chromeos) { | 581 if (!is_chromeos) { |
581 sources -= [ "data/webui/certificate_viewer_dialog_test.js" ] | 582 sources -= [ |
583 "data/webui/certificate_viewer_dialog_test.js", | |
584 "test/data/chromeos/oobe_webui_browsertest.js", | |
585 ] | |
582 } | 586 } |
583 if (!enable_app_list) { | 587 if (!enable_app_list) { |
584 sources -= [ "../browser/ui/webui/app_list/start_page_browsertest.js" ] | 588 sources -= [ "../browser/ui/webui/app_list/start_page_browsertest.js" ] |
585 } | 589 } |
586 if (!enable_supervised_users) { | 590 if (!enable_supervised_users) { |
587 sources -= | 591 sources -= |
588 [ "../browser/ui/webui/downloads_ui_supervised_browsertest.js" ] | 592 [ "../browser/ui/webui/downloads_ui_supervised_browsertest.js" ] |
589 } | 593 } |
590 deps = [ | 594 deps = [ |
591 "//skia", | 595 "//skia", |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
665 | 669 |
666 # Runtime dependencies | 670 # Runtime dependencies |
667 data_deps = [ | 671 data_deps = [ |
668 #"//ppapi:ppapi_tests", # TODO(GYP) this doesn't exist yet. | 672 #"//ppapi:ppapi_tests", # TODO(GYP) this doesn't exist yet. |
669 #'../remoting/remoting.gyp:remoting_browser_test_resources', TODO(GYP) | 673 #'../remoting/remoting.gyp:remoting_browser_test_resources', TODO(GYP) |
670 #'../remoting/remoting.gyp:remoting_webapp_unittest', TODO(GYP) | 674 #'../remoting/remoting.gyp:remoting_webapp_unittest', TODO(GYP) |
671 "//third_party/mesa:osmesa", | 675 "//third_party/mesa:osmesa", |
672 "//third_party/widevine/cdm:widevine_test_license_server", | 676 "//third_party/widevine/cdm:widevine_test_license_server", |
673 ] | 677 ] |
674 | 678 |
675 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 679 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] + nacl_defines |
676 | 680 |
677 # TODO(GYP) if (is_win) { | 681 # TODO(GYP) if (is_win) { |
678 # ['incremental_chrome_dll==1', { | 682 # ['incremental_chrome_dll==1', { |
679 # 'UseLibraryDependencyInputs': "true", | 683 # 'UseLibraryDependencyInputs': "true", |
680 # } | 684 # } |
681 | 685 |
682 if (cld_version == 0 || cld_version == 2) { | 686 if (cld_version == 0 || cld_version == 2) { |
683 # Because the browser_tests use translate, they need CLD data. | 687 # Because the browser_tests use translate, they need CLD data. |
684 deps += [ "//third_party/cld_2:cld2_platform_impl" ] | 688 deps += [ "//third_party/cld_2:cld2_platform_impl" ] |
685 } | 689 } |
(...skipping 10 matching lines...) Expand all Loading... | |
696 | 700 |
697 if (enable_nacl_untrusted) { | 701 if (enable_nacl_untrusted) { |
698 sources += [ | 702 sources += [ |
699 "nacl/nacl_browsertest.cc", | 703 "nacl/nacl_browsertest.cc", |
700 "nacl/nacl_browsertest_uma.cc", | 704 "nacl/nacl_browsertest_uma.cc", |
701 "nacl/nacl_browsertest_util.cc", | 705 "nacl/nacl_browsertest_util.cc", |
702 "nacl/nacl_browsertest_util.h", | 706 "nacl/nacl_browsertest_util.h", |
703 "nacl/pnacl_header_test.cc", | 707 "nacl/pnacl_header_test.cc", |
704 "nacl/pnacl_header_test.h", | 708 "nacl/pnacl_header_test.h", |
705 ] | 709 ] |
706 deps += [ | 710 data_deps += [ |
707 #'test/data/nacl/nacl_test_data.gyp:*', # TODO(GYP) | 711 # "test/data/nacl:shared_test_files", |
708 #'../ppapi/native_client/native_client.gyp:nacl_irt', # TODO(GYP) | 712 "//ppapi/native_client:nacl_irt(//native_client/build/toolchain/nacl:i rt_x64)", |
Nick Bray (chromium)
2015/02/07 02:37:46
Comment need to architecture support. There could
Dirk Pranke
2015/02/07 02:48:03
TODO added.
| |
709 #'../ppapi/ppapi_nacl.gyp:ppapi_nacl_tests', # TODO(GYP) | 713 # "../ppapi/ppapi_nacl.gyp:ppapi_nacl_tests", # TODO(GYP) |
710 #'../ppapi/tests/extensions/extensions.gyp:ppapi_tests_extensions_back ground_keepalive', # TODO(GYP) | 714 # "../ppapi/tests/extensions/extensions.gyp:ppapi_tests_extensions_bac kground_keepalive", # TODO(GYP) |
711 #'../ppapi/tests/extensions/extensions.gyp:ppapi_tests_extensions_medi a_galleries', # TODO(GYP) | 715 # "../ppapi/tests/extensions/extensions.gyp:ppapi_tests_extensions_med ia_galleries", # TODO(GYP) |
712 #'../ppapi/tests/extensions/extensions.gyp:ppapi_tests_extensions_pack aged_app', # TODO(GYP) #'../ppapi/ppapi_tests_mojo.gyp:ppapi_tests_moj o', # TODO(GYP) | 716 # "../ppapi/tests/extensions/extensions.gyp:ppapi_tests_extensions_pac kaged_app", # TODO(GYP) |
713 #'../ppapi/ppapi_tests_mojo.gyp:ppapi_tests_mojo', # TODO(GYP) | 717 # "../ppapi/ppapi_tests_mojo.gyp:ppapi_tests_mojo", # TODO(GYP) |
714 ] | 718 ] |
715 if (is_chromeos) { | 719 if (is_chromeos) { |
716 sources += [ "//third_party/liblouis/nacl_wrapper/liblouis_wrapper_bro wsertest.cc" ] | 720 sources += [ "//third_party/liblouis/nacl_wrapper/liblouis_wrapper_bro wsertest.cc" ] |
721 deps += [ | |
722 #'browser_chromeos', TODO(GYP) | |
723 #'../third_party/liblouis/liblouis_nacl.gyp:liblouis_test_data', TO DO(GYP) | |
724 ] | |
717 } | 725 } |
718 deps += [ | |
719 #'browser_chromeos', TODO(GYP) | |
720 #'../third_party/liblouis/liblouis_nacl.gyp:liblouis_test_data', TODO (GYP) | |
721 ] | |
722 } | 726 } |
723 if (is_win || is_linux) { | 727 if (is_win || is_linux) { |
724 sources += [ "../browser/nacl_host/test/nacl_gdb_browsertest.cc" ] | 728 sources += [ "../browser/nacl_host/test/nacl_gdb_browsertest.cc" ] |
725 deps += [ | 729 deps += [ "//chrome/browser/nacl_host/test:mock_nacl_gdb" ] |
726 #'browser/nacl_host/test/mock_nacl_gdb.gyp:mock_nacl_gdb', TODO(GYP) | |
727 ] | |
728 } | 730 } |
729 if (is_win) { | 731 if (is_win) { |
730 # TODO(halyavin) NaCl on Windows can't open debug stub socket in | 732 # TODO(halyavin) NaCl on Windows can't open debug stub socket in |
731 # browser process as needed by this test. See http://crbug.com/157312. | 733 # browser process as needed by this test. See http://crbug.com/157312. |
732 sources -= [ "../browser/nacl_host/test/gdb_debug_stub_browsertest.cc" ] | 734 sources -= [ "../browser/nacl_host/test/gdb_debug_stub_browsertest.cc" ] |
733 deps += [ | 735 deps += [ |
734 #'chrome.gyp:chrome_nacl_win64', TODO(GYP) | 736 #'chrome.gyp:chrome_nacl_win64', TODO(GYP) |
735 ] | 737 ] |
736 } | 738 } |
737 is(is_linux) { | 739 if (is_linux) { |
738 deps += [ | 740 deps += [ |
739 #'../native_client/src/trusted/service_runtime/linux/nacl_bootstrap.gy p:nacl_helper_bootstrap', TODO(GYP) | 741 "//native_client/src/trusted/service_runtime/linux:munge_nacl_helper_b ootstrap", |
740 #'../components/nacl.gyp:nacl_helper', TODO(GYP) | 742 "//components/nacl:nacl_helper", |
741 #'../components/nacl_nonsfi.gyp:nacl_helper_nonsfi', TODO(GYP) | 743 |
744 # "//components/nacl_nonsfi.gyp:nacl_helper_nonsfi", # TODO(GYP) | |
742 ] | 745 ] |
743 } | 746 } |
744 if (!is_chromeos) { | |
745 sources -= [ "test/data/chromeos/oobe_webui_browsertest.js" ] | |
746 } | |
747 } | 747 } |
748 if (debug_devtools) { | 748 if (debug_devtools) { |
749 defines += [ "DEBUG_DEVTOOLS=1" ] | 749 defines += [ "DEBUG_DEVTOOLS=1" ] |
750 } | 750 } |
751 if (use_ash) { | 751 if (use_ash) { |
752 deps += [ "//ash:test_support" ] | 752 deps += [ "//ash:test_support" ] |
753 } | 753 } |
754 if (use_aura || toolkit_views) { | 754 if (use_aura || toolkit_views) { |
755 deps += [ "//ui/events:test_support" ] | 755 deps += [ "//ui/events:test_support" ] |
756 } | 756 } |
(...skipping 914 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1671 } | 1671 } |
1672 if (use_ozone) { | 1672 if (use_ozone) { |
1673 # crbug.com/354036 | 1673 # crbug.com/354036 |
1674 sources -= [ "browser/chromeos/events/event_rewriter_unittest.cc" ] | 1674 sources -= [ "browser/chromeos/events/event_rewriter_unittest.cc" ] |
1675 } | 1675 } |
1676 if (!enable_plugin_installation) { | 1676 if (!enable_plugin_installation) { |
1677 sources -= [ "../browser/plugins/plugin_installer_unittest.cc" ] | 1677 sources -= [ "../browser/plugins/plugin_installer_unittest.cc" ] |
1678 } | 1678 } |
1679 } | 1679 } |
1680 } | 1680 } |
OLD | NEW |