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/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
6 import("//build/config/compiler/compiler.gni") | 6 import("//build/config/compiler/compiler.gni") |
7 import("//build/config/crypto.gni") | 7 import("//build/config/crypto.gni") |
8 import("//build/config/features.gni") | 8 import("//build/config/features.gni") |
9 import("//build/config/ui.gni") | 9 import("//build/config/ui.gni") |
10 import("//chrome/common/features.gni") | 10 import("//chrome/common/features.gni") |
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 | 296 |
297 if (!is_android) { | 297 if (!is_android) { |
298 static_library("test_support_ui") { | 298 static_library("test_support_ui") { |
299 defines = [] | 299 defines = [] |
300 testonly = true | 300 testonly = true |
301 | 301 |
302 sources = [ | 302 sources = [ |
303 "base/in_process_browser_test.cc", | 303 "base/in_process_browser_test.cc", |
304 "base/in_process_browser_test.h", | 304 "base/in_process_browser_test.h", |
305 "base/in_process_browser_test_mac.cc", | 305 "base/in_process_browser_test_mac.cc", |
| 306 "base/javascript_browser_test.cc", |
| 307 "base/javascript_browser_test.h", |
| 308 "base/test_chrome_web_ui_controller_factory.cc", |
| 309 "base/test_chrome_web_ui_controller_factory.h", |
306 "base/ui_test_utils.cc", | 310 "base/ui_test_utils.cc", |
307 "base/ui_test_utils.h", | 311 "base/ui_test_utils.h", |
| 312 "base/web_ui_browser_test.cc", |
| 313 "base/web_ui_browser_test.h", |
308 ] | 314 ] |
309 | 315 |
310 configs += [ "//build/config:precompiled_headers" ] | 316 configs += [ "//build/config:precompiled_headers" ] |
311 | 317 |
312 public_deps = [ | 318 public_deps = [ |
313 "//chrome/browser:test_support_ui", | 319 "//chrome/browser:test_support_ui", |
314 ] | 320 ] |
315 deps = [ | 321 deps = [ |
316 "//components/metrics:test_support", | 322 "//components/metrics:test_support", |
317 "//components/os_crypt:test_support", | 323 "//components/os_crypt:test_support", |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
415 ] | 421 ] |
416 | 422 |
417 configs += [ "//build/config:precompiled_headers" ] | 423 configs += [ "//build/config:precompiled_headers" ] |
418 | 424 |
419 data_deps = [ | 425 data_deps = [ |
420 "//testing/buildbot/filters:interactive_ui_tests_filters", | 426 "//testing/buildbot/filters:interactive_ui_tests_filters", |
421 ] | 427 ] |
422 | 428 |
423 data = [ | 429 data = [ |
424 "data/", | 430 "data/", |
| 431 "//chrome/third_party/mock4js/", |
425 "//content/test/data/", | 432 "//content/test/data/", |
426 "//net/tools/testserver/", | 433 "//net/tools/testserver/", |
427 "//ppapi/tests/test_case.html", | 434 "//ppapi/tests/test_case.html", |
428 "//ppapi/tests/test_case.html.mock-http-headers", | 435 "//ppapi/tests/test_case.html.mock-http-headers", |
429 "//ppapi/tests/test_page.css", | 436 "//ppapi/tests/test_page.css", |
430 "//ppapi/tests/test_page.css.mock-http-headers", | 437 "//ppapi/tests/test_page.css.mock-http-headers", |
| 438 "//third_party/accessibility-audit/axs_testing.js", |
| 439 "//third_party/chaijs/chai.js", |
| 440 "//third_party/mocha/mocha.js", |
431 "//third_party/pyftpdlib/", | 441 "//third_party/pyftpdlib/", |
432 "//third_party/pywebsocket/", | 442 "//third_party/pywebsocket/", |
433 "//third_party/tlslite/", | 443 "//third_party/tlslite/", |
434 "//third_party/zlib/google/test/data/", | 444 "//third_party/zlib/google/test/data/", |
435 "//tools/metrics/histograms/histograms.xml", | 445 "//tools/metrics/histograms/histograms.xml", |
| 446 "//ui/webui/resources/js/", |
436 "$root_out_dir/pyproto/google/", | 447 "$root_out_dir/pyproto/google/", |
437 "$root_out_dir/test_case.html", | 448 "$root_out_dir/test_case.html", |
438 "$root_out_dir/test_case.html.mock-http-headers", | 449 "$root_out_dir/test_case.html.mock-http-headers", |
439 "$root_out_dir/test_page.css", | 450 "$root_out_dir/test_page.css", |
440 "$root_out_dir/test_page.css.mock-http-headers", | 451 "$root_out_dir/test_page.css.mock-http-headers", |
441 "$root_out_dir/ui_test.pak", | 452 "$root_out_dir/ui_test.pak", |
442 ] | 453 ] |
443 if (is_linux || is_win) { | 454 if (is_linux || is_win) { |
444 data += [ | 455 data += [ |
445 "$root_out_dir/chrome_100_percent.pak", | 456 "$root_out_dir/chrome_100_percent.pak", |
446 "$root_out_dir/chrome_200_percent.pak", | 457 "$root_out_dir/chrome_200_percent.pak", |
447 "$root_out_dir/locales/en-US.pak", | 458 "$root_out_dir/locales/en-US.pak", |
448 "$root_out_dir/locales/fr.pak", | 459 "$root_out_dir/locales/fr.pak", |
449 "$root_out_dir/resources.pak", | 460 "$root_out_dir/resources.pak", |
450 ] | 461 ] |
451 } | 462 } |
452 if (is_linux) { | 463 if (is_linux) { |
453 data += [ "$root_out_dir/libppapi_tests.so" ] | 464 data += [ "$root_out_dir/libppapi_tests.so" ] |
454 } | 465 } |
455 | 466 |
456 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 467 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
457 ldflags = [] | 468 ldflags = [] |
458 | 469 |
459 deps = [ | 470 deps = [ |
| 471 ":interactive_ui_tests_js_webui", |
460 ":test_support", | 472 ":test_support", |
461 ":test_support_ui", | 473 ":test_support_ui", |
462 "//chrome:packed_resources", | 474 "//chrome:packed_resources", |
463 "//chrome:resources", | 475 "//chrome:resources", |
464 "//chrome:strings", | 476 "//chrome:strings", |
465 "//chrome/browser", | 477 "//chrome/browser", |
466 "//chrome/browser/devtools", | 478 "//chrome/browser/devtools", |
467 "//chrome/renderer", | 479 "//chrome/renderer", |
468 "//components/resources", | 480 "//components/resources", |
469 "//components/sync", | 481 "//components/sync", |
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
906 ] | 918 ] |
907 } | 919 } |
908 if (is_chromeos) { | 920 if (is_chromeos) { |
909 deps += [ | 921 deps += [ |
910 "//components/arc:arc_test_support", | 922 "//components/arc:arc_test_support", |
911 "//components/user_manager:test_support", | 923 "//components/user_manager:test_support", |
912 ] | 924 ] |
913 } | 925 } |
914 } | 926 } |
915 | 927 |
| 928 js2gtest("interactive_ui_tests_js_webui") { |
| 929 test_type = "webui" |
| 930 |
| 931 sources = [ |
| 932 "data/webui/md_history/md_history_focus_test.js", |
| 933 ] |
| 934 |
| 935 deps = [ |
| 936 "//chrome/browser/ui", |
| 937 ] |
| 938 |
| 939 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
| 940 } |
| 941 |
916 js2gtest("browser_tests_js_webui") { | 942 js2gtest("browser_tests_js_webui") { |
917 test_type = "webui" | 943 test_type = "webui" |
918 | 944 |
919 # Javascript sources. These are combined with the .cc files in the GYP build | 945 # Javascript sources. These are combined with the .cc files in the GYP build |
920 # and are handled by a rule, but in the GN build they're in a separate | 946 # and are handled by a rule, but in the GN build they're in a separate |
921 # action so need to be separated out. | 947 # action so need to be separated out. |
922 sources = [ | 948 sources = [ |
923 "../browser/ui/webui/app_list/start_page_browsertest.js", | 949 "../browser/ui/webui/app_list/start_page_browsertest.js", |
924 "../browser/ui/webui/chromeos/bluetooth_pairing_ui_browsertest.js", | 950 "../browser/ui/webui/chromeos/bluetooth_pairing_ui_browsertest.js", |
925 "../browser/ui/webui/chromeos/certificate_manager_dialog_browsertest.js", | 951 "../browser/ui/webui/chromeos/certificate_manager_dialog_browsertest.js", |
(...skipping 866 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1792 "../browser/ui/webui/options/preferences_browsertest.h", | 1818 "../browser/ui/webui/options/preferences_browsertest.h", |
1793 "../browser/ui/webui/password_manager_internals/password_manager_internals
_ui_browsertest.cc", | 1819 "../browser/ui/webui/password_manager_internals/password_manager_internals
_ui_browsertest.cc", |
1794 "../browser/ui/webui/policy_ui_browsertest.cc", | 1820 "../browser/ui/webui/policy_ui_browsertest.cc", |
1795 "../browser/ui/webui/print_preview/print_preview_ui_browsertest.cc", | 1821 "../browser/ui/webui/print_preview/print_preview_ui_browsertest.cc", |
1796 "../browser/ui/webui/set_as_default_browser_ui_browsertest_win.cc", | 1822 "../browser/ui/webui/set_as_default_browser_ui_browsertest_win.cc", |
1797 "../browser/ui/webui/settings/md_settings_ui_browsertest.cc", | 1823 "../browser/ui/webui/settings/md_settings_ui_browsertest.cc", |
1798 "../browser/ui/webui/signin/inline_login_ui_browsertest.cc", | 1824 "../browser/ui/webui/signin/inline_login_ui_browsertest.cc", |
1799 "../browser/ui/webui/signin/user_manager_ui_browsertest.cc", | 1825 "../browser/ui/webui/signin/user_manager_ui_browsertest.cc", |
1800 "../browser/ui/webui/task_scheduler_internals/task_scheduler_internals_ui_
browsertest.cc", | 1826 "../browser/ui/webui/task_scheduler_internals/task_scheduler_internals_ui_
browsertest.cc", |
1801 "../browser/ui/webui/uber/uber_ui_browsertest.cc", | 1827 "../browser/ui/webui/uber/uber_ui_browsertest.cc", |
1802 "../browser/ui/webui/web_ui_test_handler.cc", | |
1803 "../browser/ui/webui/web_ui_test_handler.h", | |
1804 "../browser/ui/webui/webui_browsertest.cc", | 1828 "../browser/ui/webui/webui_browsertest.cc", |
1805 "../browser/ui/webui/webui_webview_browsertest.cc", | 1829 "../browser/ui/webui/webui_webview_browsertest.cc", |
1806 "../browser/ui/zoom/zoom_controller_browsertest.cc", | 1830 "../browser/ui/zoom/zoom_controller_browsertest.cc", |
1807 "../browser/unload_browsertest.cc", | 1831 "../browser/unload_browsertest.cc", |
1808 "../browser/usb/usb_browsertest.cc", | 1832 "../browser/usb/usb_browsertest.cc", |
1809 "../browser/web_bluetooth_browsertest.cc", | 1833 "../browser/web_bluetooth_browsertest.cc", |
1810 "../common/mac/app_mode_chrome_locator_browsertest.mm", | 1834 "../common/mac/app_mode_chrome_locator_browsertest.mm", |
1811 "../common/mac/mock_launchd.cc", | 1835 "../common/mac/mock_launchd.cc", |
1812 "../common/mac/mock_launchd.h", | 1836 "../common/mac/mock_launchd.h", |
1813 "../common/time_format_browsertest.cc", | 1837 "../common/time_format_browsertest.cc", |
(...skipping 12 matching lines...) Expand all Loading... |
1826 "../renderer/autofill/password_generation_test_utils.h", | 1850 "../renderer/autofill/password_generation_test_utils.h", |
1827 "../renderer/chrome_content_renderer_client_browsertest.cc", | 1851 "../renderer/chrome_content_renderer_client_browsertest.cc", |
1828 "../renderer/chrome_render_frame_observer_browsertest.cc", | 1852 "../renderer/chrome_render_frame_observer_browsertest.cc", |
1829 "../renderer/content_settings_observer_browsertest.cc", | 1853 "../renderer/content_settings_observer_browsertest.cc", |
1830 "../renderer/media/cast_session_browsertest.cc", | 1854 "../renderer/media/cast_session_browsertest.cc", |
1831 "../renderer/translate/translate_helper_browsertest.cc", | 1855 "../renderer/translate/translate_helper_browsertest.cc", |
1832 "../renderer/translate/translate_script_browsertest.cc", | 1856 "../renderer/translate/translate_script_browsertest.cc", |
1833 "base/chrome_render_view_test.cc", | 1857 "base/chrome_render_view_test.cc", |
1834 "base/chrome_render_view_test.h", | 1858 "base/chrome_render_view_test.h", |
1835 "base/in_process_browser_test_browsertest.cc", | 1859 "base/in_process_browser_test_browsertest.cc", |
1836 "base/javascript_browser_test.cc", | |
1837 "base/javascript_browser_test.h", | |
1838 "base/test_chrome_web_ui_controller_factory.cc", | |
1839 "base/test_chrome_web_ui_controller_factory.h", | |
1840 "base/test_chrome_web_ui_controller_factory_browsertest.cc", | 1860 "base/test_chrome_web_ui_controller_factory_browsertest.cc", |
1841 "base/tracing_browsertest.cc", | 1861 "base/tracing_browsertest.cc", |
1842 "base/web_ui_browser_test.cc", | |
1843 "base/web_ui_browser_test.h", | |
1844 "base/web_ui_browser_test_browsertest.cc", | 1862 "base/web_ui_browser_test_browsertest.cc", |
1845 "data/webui/async_gen.cc", | 1863 "data/webui/async_gen.cc", |
1846 "data/webui/async_gen.h", | 1864 "data/webui/async_gen.h", |
1847 "data/webui/certificate_viewer_ui_test-inl.h", | 1865 "data/webui/certificate_viewer_ui_test-inl.h", |
1848 "data/webui/chrome_send_browsertest.cc", | 1866 "data/webui/chrome_send_browsertest.cc", |
1849 "data/webui/chrome_send_browsertest.h", | 1867 "data/webui/chrome_send_browsertest.h", |
1850 "data/webui/history_ui_browsertest.cc", | 1868 "data/webui/history_ui_browsertest.cc", |
1851 "data/webui/history_ui_browsertest.h", | 1869 "data/webui/history_ui_browsertest.h", |
1852 "data/webui/ntp4_browsertest.cc", | 1870 "data/webui/ntp4_browsertest.cc", |
1853 "data/webui/ntp4_browsertest.h", | 1871 "data/webui/ntp4_browsertest.h", |
(...skipping 3231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5085 } | 5103 } |
5086 | 5104 |
5087 if (is_win) { | 5105 if (is_win) { |
5088 loadable_module("conflicts_dll") { | 5106 loadable_module("conflicts_dll") { |
5089 testonly = true | 5107 testonly = true |
5090 sources = [ | 5108 sources = [ |
5091 "conflicts/conflicts_dll.cc", | 5109 "conflicts/conflicts_dll.cc", |
5092 ] | 5110 ] |
5093 } | 5111 } |
5094 } | 5112 } |
OLD | NEW |