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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
321 # Use only the _chromeos version on ChromeOS. | 321 # Use only the _chromeos version on ChromeOS. |
322 "base/view_event_test_platform_part_ash.cc", | 322 "base/view_event_test_platform_part_ash.cc", |
323 ] | 323 ] |
324 | 324 |
325 deps += [ | 325 deps += [ |
326 "//ash/resources", | 326 "//ash/resources", |
327 "//chromeos", | 327 "//chromeos", |
328 ] | 328 ] |
329 | 329 |
330 if (enable_nacl) { | 330 if (enable_nacl) { |
331 # TODO(GYP) this is also under a disable_nacl_untrusted==0 condition. | |
332 deps += [ | 331 deps += [ |
333 # '../native_client/src/trusted/service_runtime/linux/nacl_bootstrap.g yp:nacl_helper_bootstrap', TODO(GYP) | 332 "//native_client/src/trusted/service_runtime/linux:munge_nacl_helper_b ootstrap", |
334 # '../components/nacl.gyp:nacl_helper', TODO(GYP) | 333 "//components/nacl:nacl_helper", |
334 | |
335 # '../components/nacl_nonsfi.gyp:nacl_helper_nonsfi', TODO(GYP) | 335 # '../components/nacl_nonsfi.gyp:nacl_helper_nonsfi', TODO(GYP) |
336 ] | 336 ] |
337 } | 337 } |
338 | 338 |
339 if (is_chrome_branded) { | 339 if (is_chrome_branded) { |
340 sources -= [ | 340 sources -= [ |
341 # These tests are failing on official cros bots. crbug.com/431450. | 341 # These tests are failing on official cros bots. crbug.com/431450. |
342 "../browser/ui/views/bookmarks/bookmark_bar_view_test.cc", | 342 "../browser/ui/views/bookmarks/bookmark_bar_view_test.cc", |
343 ] | 343 ] |
344 } | 344 } |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
568 | 568 |
569 js2webui("browser_tests_js_webui") { | 569 js2webui("browser_tests_js_webui") { |
570 sources = rebase_path(gypi_values.chrome_browser_tests_webui_js_sources, | 570 sources = rebase_path(gypi_values.chrome_browser_tests_webui_js_sources, |
571 ".", | 571 ".", |
572 "//chrome") | 572 "//chrome") |
573 if (is_chrome_branded) { | 573 if (is_chrome_branded) { |
574 # crbug.com/230471 | 574 # crbug.com/230471 |
575 sources -= [ "data/webui/accessibility_audit_browsertest.js" ] | 575 sources -= [ "data/webui/accessibility_audit_browsertest.js" ] |
576 } | 576 } |
577 if (!is_chromeos) { | 577 if (!is_chromeos) { |
578 sources -= [ "data/webui/certificate_viewer_dialog_test.js" ] | 578 sources -= [ |
579 "data/webui/certificate_viewer_dialog_test.js", | |
580 "test/data/chromeos/oobe_webui_browsertest.js", | |
581 ] | |
579 } | 582 } |
580 if (!enable_app_list) { | 583 if (!enable_app_list) { |
581 sources -= [ "../browser/ui/webui/app_list/start_page_browsertest.js" ] | 584 sources -= [ "../browser/ui/webui/app_list/start_page_browsertest.js" ] |
582 } | 585 } |
583 if (!enable_supervised_users) { | 586 if (!enable_supervised_users) { |
584 sources -= | 587 sources -= |
585 [ "../browser/ui/webui/downloads_ui_supervised_browsertest.js" ] | 588 [ "../browser/ui/webui/downloads_ui_supervised_browsertest.js" ] |
586 } | 589 } |
587 deps = [ | 590 deps = [ |
588 "//skia", | 591 "//skia", |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
693 | 696 |
694 if (enable_nacl_untrusted) { | 697 if (enable_nacl_untrusted) { |
695 sources += [ | 698 sources += [ |
696 "nacl/nacl_browsertest.cc", | 699 "nacl/nacl_browsertest.cc", |
697 "nacl/nacl_browsertest_uma.cc", | 700 "nacl/nacl_browsertest_uma.cc", |
698 "nacl/nacl_browsertest_util.cc", | 701 "nacl/nacl_browsertest_util.cc", |
699 "nacl/nacl_browsertest_util.h", | 702 "nacl/nacl_browsertest_util.h", |
700 "nacl/pnacl_header_test.cc", | 703 "nacl/pnacl_header_test.cc", |
701 "nacl/pnacl_header_test.h", | 704 "nacl/pnacl_header_test.h", |
702 ] | 705 ] |
703 deps += [ | 706 data_deps += [ |
704 #'test/data/nacl/nacl_test_data.gyp:*', # TODO(GYP) | 707 # "test/data/nacl:shared_test_files", # TODO(GYP) |
705 #'../ppapi/native_client/native_client.gyp:nacl_irt', # TODO(GYP) | 708 "//ppapi/native_client:nacl_irt(//native_client/build/toolchain/nacl:i rt_x64)", |
Nick Bray (chromium)
2015/02/25 22:52:40
assert(current_cpu == 'x64') ? I think there's an
Dirk Pranke
2015/02/25 23:23:39
ok.
| |
706 #'../ppapi/ppapi_nacl.gyp:ppapi_nacl_tests', # TODO(GYP) | 709 # "../ppapi/ppapi_nacl.gyp:ppapi_nacl_tests", # TODO(GYP) |
707 #'../ppapi/tests/extensions/extensions.gyp:ppapi_tests_extensions_back ground_keepalive', # TODO(GYP) | 710 # "../ppapi/tests/extensions/extensions.gyp:ppapi_tests_extensions_bac kground_keepalive", # TODO(GYP) |
708 #'../ppapi/tests/extensions/extensions.gyp:ppapi_tests_extensions_medi a_galleries', # TODO(GYP) | 711 # "../ppapi/tests/extensions/extensions.gyp:ppapi_tests_extensions_med ia_galleries", # TODO(GYP) |
709 #'../ppapi/tests/extensions/extensions.gyp:ppapi_tests_extensions_pack aged_app', # TODO(GYP) #'../ppapi/ppapi_tests_mojo.gyp:ppapi_tests_moj o', # TODO(GYP) | 712 # "../ppapi/tests/extensions/extensions.gyp:ppapi_tests_extensions_pac kaged_app", # TODO(GYP) |
710 #'../ppapi/ppapi_tests_mojo.gyp:ppapi_tests_mojo', # TODO(GYP) | 713 # "../ppapi/ppapi_tests_mojo.gyp:ppapi_tests_mojo", # TODO(GYP) |
711 ] | 714 ] |
712 if (is_chromeos) { | 715 if (is_chromeos) { |
713 sources += [ "//third_party/liblouis/nacl_wrapper/liblouis_wrapper_bro wsertest.cc" ] | 716 sources += [ "//third_party/liblouis/nacl_wrapper/liblouis_wrapper_bro wsertest.cc" ] |
717 deps += [ | |
718 #'browser_chromeos', TODO(GYP) | |
719 #'../third_party/liblouis/liblouis_nacl.gyp:liblouis_test_data', TO DO(GYP) | |
720 ] | |
714 } | 721 } |
715 deps += [ | |
716 #'browser_chromeos', TODO(GYP) | |
717 #'../third_party/liblouis/liblouis_nacl.gyp:liblouis_test_data', TODO (GYP) | |
718 ] | |
719 } | 722 } |
720 if (is_win || is_linux) { | 723 if (is_win || is_linux) { |
721 sources += [ "../browser/nacl_host/test/nacl_gdb_browsertest.cc" ] | 724 sources += [ "../browser/nacl_host/test/nacl_gdb_browsertest.cc" ] |
722 deps += [ | 725 deps += [ "//chrome/browser/nacl_host/test:mock_nacl_gdb" ] |
723 #'browser/nacl_host/test/mock_nacl_gdb.gyp:mock_nacl_gdb', TODO(GYP) | |
724 ] | |
725 } | 726 } |
726 if (is_win) { | 727 if (is_win) { |
727 # TODO(halyavin) NaCl on Windows can't open debug stub socket in | 728 # TODO(halyavin) NaCl on Windows can't open debug stub socket in |
728 # browser process as needed by this test. See http://crbug.com/157312. | 729 # browser process as needed by this test. See http://crbug.com/157312. |
729 sources -= [ "../browser/nacl_host/test/gdb_debug_stub_browsertest.cc" ] | 730 sources -= [ "../browser/nacl_host/test/gdb_debug_stub_browsertest.cc" ] |
730 deps += [ | 731 deps += [ |
731 #'chrome.gyp:chrome_nacl_win64', TODO(GYP) | 732 #'chrome.gyp:chrome_nacl_win64', TODO(GYP) |
732 ] | 733 ] |
733 } | 734 } |
734 is(is_linux) { | 735 if (is_linux) { |
735 deps += [ | 736 deps += [ |
736 #'../native_client/src/trusted/service_runtime/linux/nacl_bootstrap.gy p:nacl_helper_bootstrap', TODO(GYP) | 737 "//native_client/src/trusted/service_runtime/linux:munge_nacl_helper_b ootstrap", |
737 #'../components/nacl.gyp:nacl_helper', TODO(GYP) | 738 "//components/nacl:nacl_helper", |
738 #'../components/nacl_nonsfi.gyp:nacl_helper_nonsfi', TODO(GYP) | 739 |
740 # "//components/nacl_nonsfi.gyp:nacl_helper_nonsfi", # TODO(GYP) | |
739 ] | 741 ] |
740 } | 742 } |
741 if (!is_chromeos) { | |
742 sources -= [ "test/data/chromeos/oobe_webui_browsertest.js" ] | |
743 } | |
744 } | 743 } |
745 if (debug_devtools) { | 744 if (debug_devtools) { |
746 defines += [ "DEBUG_DEVTOOLS=1" ] | 745 defines += [ "DEBUG_DEVTOOLS=1" ] |
747 } | 746 } |
748 if (use_ash) { | 747 if (use_ash) { |
749 deps += [ "//ash:test_support" ] | 748 deps += [ "//ash:test_support" ] |
750 } | 749 } |
751 if (use_aura || toolkit_views) { | 750 if (use_aura || toolkit_views) { |
752 deps += [ "//ui/events:test_support" ] | 751 deps += [ "//ui/events:test_support" ] |
753 } | 752 } |
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1281 if (is_chromeos) { | 1280 if (is_chromeos) { |
1282 sources -= [ | 1281 sources -= [ |
1283 "../browser/ui/sync/one_click_signin_helper_unittest.cc", | 1282 "../browser/ui/sync/one_click_signin_helper_unittest.cc", |
1284 "../browser/ui/sync/one_click_signin_sync_starter_unittest.cc", | 1283 "../browser/ui/sync/one_click_signin_sync_starter_unittest.cc", |
1285 ] | 1284 ] |
1286 } | 1285 } |
1287 if (!toolkit_views) { | 1286 if (!toolkit_views) { |
1288 sources -= [ "../browser/ui/views/sync/one_click_signin_bubble_view_unit test.cc" ] | 1287 sources -= [ "../browser/ui/views/sync/one_click_signin_bubble_view_unit test.cc" ] |
1289 } | 1288 } |
1290 } | 1289 } |
1291 if (enable_nacl) { | 1290 |
1292 sources += rebase_path(unit_gypi_values.chrome_unit_tests_nacl_sources, | |
1293 ".", | |
1294 "//chrome") | |
1295 } | |
1296 if (enable_extensions) { | 1291 if (enable_extensions) { |
1297 sources += | 1292 sources += |
1298 rebase_path(unit_gypi_values.chrome_unit_tests_extensions_sources, | 1293 rebase_path(unit_gypi_values.chrome_unit_tests_extensions_sources, |
1299 ".", | 1294 ".", |
1300 "//chrome") | 1295 "//chrome") |
1301 deps += [ | 1296 deps += [ |
1302 "//chrome/common/extensions/api", | 1297 "//chrome/common/extensions/api", |
1303 "//extensions:extensions_resources", | 1298 "//extensions:extensions_resources", |
1304 "//extensions/strings", | 1299 "//extensions/strings", |
1305 ] | 1300 ] |
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1665 } | 1660 } |
1666 if (use_ozone) { | 1661 if (use_ozone) { |
1667 # crbug.com/354036 | 1662 # crbug.com/354036 |
1668 sources -= [ "../browser/chromeos/events/event_rewriter_unittest.cc" ] | 1663 sources -= [ "../browser/chromeos/events/event_rewriter_unittest.cc" ] |
1669 } | 1664 } |
1670 if (!enable_plugin_installation) { | 1665 if (!enable_plugin_installation) { |
1671 sources -= [ "../browser/plugins/plugin_installer_unittest.cc" ] | 1666 sources -= [ "../browser/plugins/plugin_installer_unittest.cc" ] |
1672 } | 1667 } |
1673 } | 1668 } |
1674 } | 1669 } |
OLD | NEW |