OLD | NEW |
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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 { | 5 { |
6 'variables' : { | 6 'variables' : { |
7 'browser_tests_sources_views_specific': [ | 7 'browser_tests_sources_views_specific': [ |
8 'browser/extensions/browser_action_test_util_views.cc', | 8 'browser/extensions/browser_action_test_util_views.cc', |
9 'browser/views/browser_actions_container_browsertest.cc', | 9 'browser/views/browser_actions_container_browsertest.cc', |
10 ], | 10 ], |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 ], | 353 ], |
354 'sources!': [ | 354 'sources!': [ |
355 # TODO(port) | 355 # TODO(port) |
356 'test/ui/layout_plugin_uitest.cc', | 356 'test/ui/layout_plugin_uitest.cc', |
357 ], | 357 ], |
358 }, { # else: OS != "linux" | 358 }, { # else: OS != "linux" |
359 'sources!': [ | 359 'sources!': [ |
360 'browser/process_singleton_linux_uitest.cc', | 360 'browser/process_singleton_linux_uitest.cc', |
361 ], | 361 ], |
362 }], | 362 }], |
363 ['OS=="linux" and (toolkit_views==1 or chromeos==1)', { | 363 ['OS=="linux" and toolkit_views==1', { |
| 364 'sources!': [ |
| 365 'browser/download/download_uitest.cc', |
| 366 ], |
| 367 }], |
| 368 ['toolkit_views==1', { |
364 'dependencies': [ | 369 'dependencies': [ |
365 '../views/views.gyp:views', | 370 '../views/views.gyp:views', |
366 ], | 371 ], |
367 'sources!': [ | |
368 'browser/download/download_uitest.cc', | |
369 ], | |
370 }], | 372 }], |
371 ['OS=="mac"', { | 373 ['OS=="mac"', { |
372 'sources!': [ | 374 'sources!': [ |
373 # TODO(port) | 375 # TODO(port) |
374 'app/chrome_main_uitest.cc', | 376 'app/chrome_main_uitest.cc', |
375 'browser/metrics/metrics_service_uitest.cc', | 377 'browser/metrics/metrics_service_uitest.cc', |
376 # leaves an extra window on screen after test completes. | 378 # leaves an extra window on screen after test completes. |
377 'browser/sessions/session_restore_uitest.cc', | 379 'browser/sessions/session_restore_uitest.cc', |
378 # puts up modal dialogs. | 380 # puts up modal dialogs. |
379 'browser/unload_uitest.cc', | 381 'browser/unload_uitest.cc', |
380 'common/logging_chrome_uitest.cc', | 382 'common/logging_chrome_uitest.cc', |
381 'test/ui/fast_shutdown_uitest.cc', | 383 'test/ui/fast_shutdown_uitest.cc', |
382 'test/ui/layout_plugin_uitest.cc', | 384 'test/ui/layout_plugin_uitest.cc', |
383 ], | 385 ], |
384 }], | 386 }], |
385 ['OS=="win"', { | 387 ['OS=="win"', { |
386 'include_dirs': [ | 388 'include_dirs': [ |
387 '<(DEPTH)/third_party/wtl/include', | 389 '<(DEPTH)/third_party/wtl/include', |
388 ], | 390 ], |
389 'dependencies': [ | 391 'dependencies': [ |
390 'crash_service', # run time dependency | 392 'crash_service', # run time dependency |
391 'security_tests', # run time dependency | 393 'security_tests', # run time dependency |
392 'test_support_common', | 394 'test_support_common', |
393 '../google_update/google_update.gyp:google_update', | 395 '../google_update/google_update.gyp:google_update', |
394 '../views/views.gyp:views', | |
395 '<(allocator_target)', | 396 '<(allocator_target)', |
396 ], | 397 ], |
397 'link_settings': { | 398 'link_settings': { |
398 'libraries': [ | 399 'libraries': [ |
399 '-lOleAcc.lib', | 400 '-lOleAcc.lib', |
400 ], | 401 ], |
401 }, | 402 }, |
402 'configurations': { | 403 'configurations': { |
403 'Debug_Base': { | 404 'Debug_Base': { |
404 'msvs_settings': { | 405 'msvs_settings': { |
(...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1040 '../build/linux/system.gyp:nss', | 1041 '../build/linux/system.gyp:nss', |
1041 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 1042 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
1042 ], | 1043 ], |
1043 'sources': [ | 1044 'sources': [ |
1044 'browser/renderer_host/gtk_key_bindings_handler_unittest.cc', | 1045 'browser/renderer_host/gtk_key_bindings_handler_unittest.cc', |
1045 ], | 1046 ], |
1046 'sources!': [ | 1047 'sources!': [ |
1047 'browser/views/bookmark_context_menu_test.cc', | 1048 'browser/views/bookmark_context_menu_test.cc', |
1048 ], | 1049 ], |
1049 }], | 1050 }], |
1050 ['OS=="linux" and (toolkit_views==1 or chromeos==1)', { | 1051 ['toolkit_views==1', { |
1051 'dependencies': [ | 1052 'dependencies': [ |
1052 '../views/views.gyp:views', | 1053 '../views/views.gyp:views', |
1053 ], | 1054 ], |
| 1055 }], |
| 1056 ['OS=="linux" and toolkit_views==1', { |
1054 'sources': [ | 1057 'sources': [ |
1055 '<@(views_unit_tests_sources)', | 1058 '<@(views_unit_tests_sources)', |
1056 ], | 1059 ], |
1057 # We must use 'sources/' instead of 'source!' as there is a | 1060 # We must use 'sources/' instead of 'source!' as there is a |
1058 # target-default 'sources/' including gtk_unittest and 'source/' takes | 1061 # target-default 'sources/' including gtk_unittest and 'source/' takes |
1059 # precedence over 'sources!'. | 1062 # precedence over 'sources!'. |
1060 'sources/': [ | 1063 'sources/': [ |
1061 ['exclude', 'browser/gtk/bookmark_bar_gtk_unittest\\.cc$'], | 1064 ['exclude', 'browser/gtk/bookmark_bar_gtk_unittest\\.cc$'], |
1062 ['exclude', 'browser/gtk/bookmark_editor_gtk_unittest\\.cc$'], | 1065 ['exclude', 'browser/gtk/bookmark_editor_gtk_unittest\\.cc$'], |
1063 ['exclude', 'browser/gtk/go_button_gtk_unittest\\.cc$'], | 1066 ['exclude', 'browser/gtk/go_button_gtk_unittest\\.cc$'], |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1112 }], | 1115 }], |
1113 ['OS=="win"', { | 1116 ['OS=="win"', { |
1114 'defines': [ | 1117 'defines': [ |
1115 '__STD_C', | 1118 '__STD_C', |
1116 '_CRT_SECURE_NO_DEPRECATE', | 1119 '_CRT_SECURE_NO_DEPRECATE', |
1117 '_SCL_SECURE_NO_DEPRECATE', | 1120 '_SCL_SECURE_NO_DEPRECATE', |
1118 ], | 1121 ], |
1119 'dependencies': [ | 1122 'dependencies': [ |
1120 'chrome_dll_version', | 1123 'chrome_dll_version', |
1121 'installer/installer.gyp:installer_util_strings', | 1124 'installer/installer.gyp:installer_util_strings', |
1122 '../views/views.gyp:views', | |
1123 'test_chrome_plugin', # run time dependency | 1125 'test_chrome_plugin', # run time dependency |
1124 '<(allocator_target)', | 1126 '<(allocator_target)', |
1125 ], | 1127 ], |
1126 'include_dirs': [ | 1128 'include_dirs': [ |
1127 '<(DEPTH)/third_party/wtl/include', | 1129 '<(DEPTH)/third_party/wtl/include', |
1128 ], | 1130 ], |
1129 'sources': [ | 1131 'sources': [ |
1130 'app/chrome_dll.rc', | 1132 'app/chrome_dll.rc', |
1131 'test/data/resource.rc', | 1133 'test/data/resource.rc', |
1132 | 1134 |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1354 }, | 1356 }, |
1355 }, | 1357 }, |
1356 } | 1358 } |
1357 }], | 1359 }], |
1358 ['OS=="linux"', { | 1360 ['OS=="linux"', { |
1359 'dependencies': [ | 1361 'dependencies': [ |
1360 '../build/linux/system.gyp:gtk', | 1362 '../build/linux/system.gyp:gtk', |
1361 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 1363 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
1362 ], | 1364 ], |
1363 }], | 1365 }], |
1364 ['OS=="linux" and (toolkit_views==1 or chromeos==1)', { | 1366 ['OS=="linux" and toolkit_views==1', { |
1365 'dependencies': [ | 1367 'dependencies': [ |
1366 '../views/views.gyp:views', | 1368 '../views/views.gyp:views', |
1367 ], | 1369 ], |
1368 'sources': [ | 1370 'sources': [ |
1369 '<@(browser_tests_sources_views_specific)', | 1371 '<@(browser_tests_sources_views_specific)', |
1370 ], | 1372 ], |
1371 }], | 1373 }], |
1372 ['OS=="linux" and chromeos==1', { | 1374 ['OS=="linux" and chromeos==1', { |
1373 'sources': [ | 1375 'sources': [ |
1374 'browser/chromeos/compact_location_bar_host_browsertest.cc', | 1376 'browser/chromeos/compact_location_bar_host_browsertest.cc', |
1375 'browser/chromeos/compact_navigation_bar_browsertest.cc', | 1377 'browser/chromeos/compact_navigation_bar_browsertest.cc', |
1376 'browser/chromeos/cros/cros_in_process_browser_test.cc', | 1378 'browser/chromeos/cros/cros_in_process_browser_test.cc', |
1377 'browser/chromeos/cros/cros_in_process_browser_test.h', | 1379 'browser/chromeos/cros/cros_in_process_browser_test.h', |
1378 'browser/chromeos/cros/mock_mount_library.cc', | 1380 'browser/chromeos/cros/mock_mount_library.cc', |
1379 'browser/chromeos/cros/mock_mount_library.h', | 1381 'browser/chromeos/cros/mock_mount_library.h', |
1380 'browser/chromeos/login/account_screen_browsertest.cc', | 1382 'browser/chromeos/login/account_screen_browsertest.cc', |
1381 'browser/chromeos/login/login_browsertest.cc', | 1383 'browser/chromeos/login/login_browsertest.cc', |
1382 'browser/chromeos/login/login_manager_view_browsertest.cc', | 1384 'browser/chromeos/login/login_manager_view_browsertest.cc', |
1383 'browser/chromeos/login/network_screen_browsertest.cc', | 1385 'browser/chromeos/login/network_screen_browsertest.cc', |
1384 'browser/chromeos/login/wizard_controller_browsertest.cc', | 1386 'browser/chromeos/login/wizard_controller_browsertest.cc', |
1385 'browser/chromeos/notifications/notification_browsertest.cc', | 1387 'browser/chromeos/notifications/notification_browsertest.cc', |
1386 'browser/chromeos/panels/panel_browsertest.cc', | 1388 'browser/chromeos/panels/panel_browsertest.cc', |
1387 'browser/chromeos/status/clock_menu_button_browsertest.cc', | 1389 'browser/chromeos/status/clock_menu_button_browsertest.cc', |
1388 'browser/chromeos/status/power_menu_button_browsertest.cc', | 1390 'browser/chromeos/status/power_menu_button_browsertest.cc', |
1389 ], | 1391 ], |
1390 }], | 1392 }], |
1391 ['OS=="linux" and toolkit_views==0 and chromeos==0', { | 1393 ['OS=="linux" and toolkit_views==0', { |
1392 'sources': [ | 1394 'sources': [ |
1393 'browser/extensions/browser_action_test_util_gtk.cc', | 1395 'browser/extensions/browser_action_test_util_gtk.cc', |
1394 'browser/gtk/view_id_util_browsertest.cc', | 1396 'browser/gtk/view_id_util_browsertest.cc', |
1395 ], | 1397 ], |
1396 }], | 1398 }], |
1397 ['OS=="mac"', { | 1399 ['OS=="mac"', { |
1398 'sources': [ | 1400 'sources': [ |
1399 'browser/extensions/browser_action_test_util_mac.mm', | 1401 'browser/extensions/browser_action_test_util_mac.mm', |
1400 ], | 1402 ], |
1401 'include_dirs': [ | 1403 'include_dirs': [ |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1444 'test/startup/shutdown_test.cc', | 1446 'test/startup/shutdown_test.cc', |
1445 'test/startup/startup_test.cc', | 1447 'test/startup/startup_test.cc', |
1446 ], | 1448 ], |
1447 'conditions': [ | 1449 'conditions': [ |
1448 ['OS=="linux"', { | 1450 ['OS=="linux"', { |
1449 'dependencies': [ | 1451 'dependencies': [ |
1450 '../build/linux/system.gyp:gtk', | 1452 '../build/linux/system.gyp:gtk', |
1451 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 1453 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
1452 ], | 1454 ], |
1453 }], | 1455 }], |
1454 ['OS=="linux" and (toolkit_views==1 or chromeos==1)', { | 1456 ['OS=="linux" and toolkit_views==1', { |
1455 'dependencies': [ | 1457 'dependencies': [ |
1456 '../views/views.gyp:views', | 1458 '../views/views.gyp:views', |
1457 ], | 1459 ], |
1458 }], | 1460 }], |
1459 ['OS=="win"', { | 1461 ['OS=="win"', { |
1460 'dependencies': [ | 1462 'dependencies': [ |
1461 '<(allocator_target)', | 1463 '<(allocator_target)', |
1462 ], | 1464 ], |
1463 'configurations': { | 1465 'configurations': { |
1464 'Debug_Base': { | 1466 'Debug_Base': { |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1540 'sources': [ | 1542 'sources': [ |
1541 'test/page_cycler/page_cycler_test.cc', | 1543 'test/page_cycler/page_cycler_test.cc', |
1542 ], | 1544 ], |
1543 'conditions': [ | 1545 'conditions': [ |
1544 ['OS=="linux"', { | 1546 ['OS=="linux"', { |
1545 'dependencies': [ | 1547 'dependencies': [ |
1546 '../build/linux/system.gyp:gtk', | 1548 '../build/linux/system.gyp:gtk', |
1547 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 1549 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
1548 ], | 1550 ], |
1549 }], | 1551 }], |
1550 ['OS=="win" or (OS=="linux" and (toolkit_views==1 or chromeos==1))', { | 1552 ['toolkit_views==1', { |
1551 'dependencies': [ | 1553 'dependencies': [ |
1552 '../views/views.gyp:views', | 1554 '../views/views.gyp:views', |
1553 ], | 1555 ], |
1554 }], | 1556 }], |
1555 ], | 1557 ], |
1556 }, | 1558 }, |
1557 { | 1559 { |
1558 'target_name': 'tab_switching_test', | 1560 'target_name': 'tab_switching_test', |
1559 'type': 'executable', | 1561 'type': 'executable', |
1560 'msvs_guid': 'A34770EA-A574-43E8-9327-F79C04770E98', | 1562 'msvs_guid': 'A34770EA-A574-43E8-9327-F79C04770E98', |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1819 'conditions': [ | 1821 'conditions': [ |
1820 # Plugin code. | 1822 # Plugin code. |
1821 ['OS=="linux" or OS=="win"', { | 1823 ['OS=="linux" or OS=="win"', { |
1822 'dependencies': [ | 1824 'dependencies': [ |
1823 'plugin', | 1825 'plugin', |
1824 ], | 1826 ], |
1825 'export_dependent_settings': [ | 1827 'export_dependent_settings': [ |
1826 'plugin', | 1828 'plugin', |
1827 ], | 1829 ], |
1828 }], | 1830 }], |
1829 # Linux-specific rules. | |
1830 ['OS=="linux"', { | 1831 ['OS=="linux"', { |
1831 'dependencies': [ | 1832 'dependencies': [ |
1832 '../build/linux/system.gyp:gtk', | 1833 '../build/linux/system.gyp:gtk', |
1833 ], | 1834 ], |
1834 }], | 1835 }], |
1835 # Windows-specific rules. | |
1836 ['OS=="win"', { | 1836 ['OS=="win"', { |
1837 'sources': [ | 1837 'sources': [ |
1838 'app/chrome_dll.rc', | 1838 'app/chrome_dll.rc', |
1839 'app/chrome_dll_version.rc.version', | 1839 'app/chrome_dll_version.rc.version', |
1840 'test/data/resource.rc', | 1840 'test/data/resource.rc', |
1841 '<(SHARED_INTERMEDIATE_DIR)/app/app_resources/app_resources.rc', | 1841 '<(SHARED_INTERMEDIATE_DIR)/app/app_resources/app_resources.rc', |
1842 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc', | 1842 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc', |
1843 '<(SHARED_INTERMEDIATE_DIR)/chrome_dll_version/chrome_dll_version.rc
', | 1843 '<(SHARED_INTERMEDIATE_DIR)/chrome_dll_version/chrome_dll_version.rc
', |
1844 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc', | 1844 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc', |
1845 '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources.rc', | 1845 '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources.rc', |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1934 'dependencies': [ | 1934 'dependencies': [ |
1935 '../build/linux/system.gyp:gtk', | 1935 '../build/linux/system.gyp:gtk', |
1936 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 1936 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
1937 ], | 1937 ], |
1938 'sources!': [ | 1938 'sources!': [ |
1939 # TODO(port): | 1939 # TODO(port): |
1940 'browser/safe_browsing/filter_false_positive_perftest.cc', | 1940 'browser/safe_browsing/filter_false_positive_perftest.cc', |
1941 'browser/visitedlink_perftest.cc', | 1941 'browser/visitedlink_perftest.cc', |
1942 ], | 1942 ], |
1943 }], | 1943 }], |
1944 ['OS=="win" or (OS=="linux" and (toolkit_views==1 or chromeos==1))',
{ | 1944 ['toolkit_views==1', { |
1945 'dependencies': [ | 1945 'dependencies': [ |
1946 '../views/views.gyp:views', | 1946 '../views/views.gyp:views', |
1947 ], | 1947 ], |
1948 }], | 1948 }], |
1949 ['OS=="win"', { | 1949 ['OS=="win"', { |
1950 'configurations': { | 1950 'configurations': { |
1951 'Debug_Base': { | 1951 'Debug_Base': { |
1952 'msvs_settings': { | 1952 'msvs_settings': { |
1953 'VCLinkerTool': { | 1953 'VCLinkerTool': { |
1954 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', | 1954 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2233 ] | 2233 ] |
2234 }], # 'coverage!=0' | 2234 }], # 'coverage!=0' |
2235 ], # 'conditions' | 2235 ], # 'conditions' |
2236 } | 2236 } |
2237 | 2237 |
2238 # Local Variables: | 2238 # Local Variables: |
2239 # tab-width:2 | 2239 # tab-width:2 |
2240 # indent-tabs-mode:nil | 2240 # indent-tabs-mode:nil |
2241 # End: | 2241 # End: |
2242 # vim: set expandtab tabstop=2 shiftwidth=2: | 2242 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |