| 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 |
| 704 #'test/data/nacl/nacl_test_data.gyp:*', # TODO(GYP) | 707 # TODO(GYP): Make NaCl work in other configs and update the irt |
| 705 #'../ppapi/native_client/native_client.gyp:nacl_irt', # TODO(GYP) | 708 # dependency as appropriate. We should probably push this |
| 706 #'../ppapi/ppapi_nacl.gyp:ppapi_nacl_tests', # TODO(GYP) | 709 # dependency into ppapi/native_client so that clients don't need |
| 707 #'../ppapi/tests/extensions/extensions.gyp:ppapi_tests_extensions_back
ground_keepalive', # TODO(GYP) | 710 # to know all of the different toolchain options. |
| 708 #'../ppapi/tests/extensions/extensions.gyp:ppapi_tests_extensions_medi
a_galleries', # TODO(GYP) | 711 assert(current_cpu == "x64") |
| 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 data_deps += [ |
| 710 #'../ppapi/ppapi_tests_mojo.gyp:ppapi_tests_mojo', # TODO(GYP) | 713 # "test/data/nacl:shared_test_files", # TODO(GYP) |
| 714 "//ppapi/native_client:nacl_irt(//native_client/build/toolchain/nacl:i
rt_x64)", |
| 715 # "../ppapi/ppapi_nacl.gyp:ppapi_nacl_tests", # TODO(GYP) |
| 716 # "../ppapi/tests/extensions/extensions.gyp:ppapi_tests_extensions_bac
kground_keepalive", # TODO(GYP) |
| 717 # "../ppapi/tests/extensions/extensions.gyp:ppapi_tests_extensions_med
ia_galleries", # TODO(GYP) |
| 718 # "../ppapi/tests/extensions/extensions.gyp:ppapi_tests_extensions_pac
kaged_app", # TODO(GYP) |
| 719 # "../ppapi/ppapi_tests_mojo.gyp:ppapi_tests_mojo", # TODO(GYP) |
| 711 ] | 720 ] |
| 712 if (is_chromeos) { | 721 if (is_chromeos) { |
| 713 sources += [ "//third_party/liblouis/nacl_wrapper/liblouis_wrapper_bro
wsertest.cc" ] | 722 sources += [ "//third_party/liblouis/nacl_wrapper/liblouis_wrapper_bro
wsertest.cc" ] |
| 723 deps += [ |
| 724 #'browser_chromeos', TODO(GYP) |
| 725 #'../third_party/liblouis/liblouis_nacl.gyp:liblouis_test_data', TO
DO(GYP) |
| 726 ] |
| 714 } | 727 } |
| 715 deps += [ | |
| 716 #'browser_chromeos', TODO(GYP) | |
| 717 #'../third_party/liblouis/liblouis_nacl.gyp:liblouis_test_data', TODO
(GYP) | |
| 718 ] | |
| 719 } | 728 } |
| 720 if (is_win || is_linux) { | 729 if (is_win || is_linux) { |
| 721 sources += [ "../browser/nacl_host/test/nacl_gdb_browsertest.cc" ] | 730 sources += [ "../browser/nacl_host/test/nacl_gdb_browsertest.cc" ] |
| 722 deps += [ | 731 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 } | 732 } |
| 726 if (is_win) { | 733 if (is_win) { |
| 727 # TODO(halyavin) NaCl on Windows can't open debug stub socket in | 734 # 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. | 735 # browser process as needed by this test. See http://crbug.com/157312. |
| 729 sources -= [ "../browser/nacl_host/test/gdb_debug_stub_browsertest.cc" ] | 736 sources -= [ "../browser/nacl_host/test/gdb_debug_stub_browsertest.cc" ] |
| 730 deps += [ | 737 deps += [ |
| 731 #'chrome.gyp:chrome_nacl_win64', TODO(GYP) | 738 #'chrome.gyp:chrome_nacl_win64', TODO(GYP) |
| 732 ] | 739 ] |
| 733 } | 740 } |
| 734 is(is_linux) { | 741 if (is_linux) { |
| 735 deps += [ | 742 deps += [ |
| 736 #'../native_client/src/trusted/service_runtime/linux/nacl_bootstrap.gy
p:nacl_helper_bootstrap', TODO(GYP) | 743 "//native_client/src/trusted/service_runtime/linux:munge_nacl_helper_b
ootstrap", |
| 737 #'../components/nacl.gyp:nacl_helper', TODO(GYP) | 744 "//components/nacl:nacl_helper", |
| 738 #'../components/nacl_nonsfi.gyp:nacl_helper_nonsfi', TODO(GYP) | 745 |
| 746 # "//components/nacl_nonsfi.gyp:nacl_helper_nonsfi", # TODO(GYP) |
| 739 ] | 747 ] |
| 740 } | 748 } |
| 741 if (!is_chromeos) { | |
| 742 sources -= [ "test/data/chromeos/oobe_webui_browsertest.js" ] | |
| 743 } | |
| 744 } | 749 } |
| 745 if (debug_devtools) { | 750 if (debug_devtools) { |
| 746 defines += [ "DEBUG_DEVTOOLS=1" ] | 751 defines += [ "DEBUG_DEVTOOLS=1" ] |
| 747 } | 752 } |
| 748 if (use_ash) { | 753 if (use_ash) { |
| 749 deps += [ "//ash:test_support" ] | 754 deps += [ "//ash:test_support" ] |
| 750 } | 755 } |
| 751 if (use_aura || toolkit_views) { | 756 if (use_aura || toolkit_views) { |
| 752 deps += [ "//ui/events:test_support" ] | 757 deps += [ "//ui/events:test_support" ] |
| 753 } | 758 } |
| (...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1281 if (is_chromeos) { | 1286 if (is_chromeos) { |
| 1282 sources -= [ | 1287 sources -= [ |
| 1283 "../browser/ui/sync/one_click_signin_helper_unittest.cc", | 1288 "../browser/ui/sync/one_click_signin_helper_unittest.cc", |
| 1284 "../browser/ui/sync/one_click_signin_sync_starter_unittest.cc", | 1289 "../browser/ui/sync/one_click_signin_sync_starter_unittest.cc", |
| 1285 ] | 1290 ] |
| 1286 } | 1291 } |
| 1287 if (!toolkit_views) { | 1292 if (!toolkit_views) { |
| 1288 sources -= [ "../browser/ui/views/sync/one_click_signin_bubble_view_unit
test.cc" ] | 1293 sources -= [ "../browser/ui/views/sync/one_click_signin_bubble_view_unit
test.cc" ] |
| 1289 } | 1294 } |
| 1290 } | 1295 } |
| 1291 if (enable_nacl) { | 1296 |
| 1292 sources += rebase_path(unit_gypi_values.chrome_unit_tests_nacl_sources, | |
| 1293 ".", | |
| 1294 "//chrome") | |
| 1295 } | |
| 1296 if (enable_extensions) { | 1297 if (enable_extensions) { |
| 1297 sources += | 1298 sources += |
| 1298 rebase_path(unit_gypi_values.chrome_unit_tests_extensions_sources, | 1299 rebase_path(unit_gypi_values.chrome_unit_tests_extensions_sources, |
| 1299 ".", | 1300 ".", |
| 1300 "//chrome") | 1301 "//chrome") |
| 1301 deps += [ | 1302 deps += [ |
| 1302 "//chrome/common/extensions/api", | 1303 "//chrome/common/extensions/api", |
| 1303 "//extensions:extensions_resources", | 1304 "//extensions:extensions_resources", |
| 1304 "//extensions/strings", | 1305 "//extensions/strings", |
| 1305 ] | 1306 ] |
| (...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1665 } | 1666 } |
| 1666 if (use_ozone) { | 1667 if (use_ozone) { |
| 1667 # crbug.com/354036 | 1668 # crbug.com/354036 |
| 1668 sources -= [ "../browser/chromeos/events/event_rewriter_unittest.cc" ] | 1669 sources -= [ "../browser/chromeos/events/event_rewriter_unittest.cc" ] |
| 1669 } | 1670 } |
| 1670 if (!enable_plugin_installation) { | 1671 if (!enable_plugin_installation) { |
| 1671 sources -= [ "../browser/plugins/plugin_installer_unittest.cc" ] | 1672 sources -= [ "../browser/plugins/plugin_installer_unittest.cc" ] |
| 1672 } | 1673 } |
| 1673 } | 1674 } |
| 1674 } | 1675 } |
| OLD | NEW |