Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: chrome/chrome_tests.gypi

Issue 7011032: Make the gyp files more cross-platform across the Unices (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: updated to trunk and fixed some nits Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 'pyautolib_sources': [ 7 'pyautolib_sources': [
8 'app/chrome_command_ids.h', 8 'app/chrome_command_ids.h',
9 'app/chrome_dll_resource.h', 9 'app/chrome_dll_resource.h',
10 'common/automation_constants.h', 10 'common/automation_constants.h',
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 '../content/common/notification_observer_mock.h', 201 '../content/common/notification_observer_mock.h',
202 '../ui/gfx/image_unittest_util.h', 202 '../ui/gfx/image_unittest_util.h',
203 '../ui/gfx/image_unittest_util.cc', 203 '../ui/gfx/image_unittest_util.cc',
204 ], 204 ],
205 'conditions': [ 205 'conditions': [
206 ['chromeos==0', { 206 ['chromeos==0', {
207 'sources/': [ 207 'sources/': [
208 ['exclude', '^browser/chromeos'], 208 ['exclude', '^browser/chromeos'],
209 ], 209 ],
210 }], 210 }],
211 ['OS=="linux"', { 211 ['toolkit_uses_gtk==1', {
212 'dependencies': [ 212 'dependencies': [
213 '../build/linux/system.gyp:gtk', 213 '../build/linux/system.gyp:gtk',
214 '../build/linux/system.gyp:nss', 214 '../build/linux/system.gyp:nss',
215 ], 215 ],
216 }], 216 }],
217 ['OS=="win"', { 217 ['OS=="win"', {
218 'include_dirs': [ 218 'include_dirs': [
219 '<(DEPTH)/third_party/wtl/include', 219 '<(DEPTH)/third_party/wtl/include',
220 ], 220 ],
221 }], 221 }],
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 'test/ui/ui_test.h', 256 'test/ui/ui_test.h',
257 'test/ui/ui_test_suite.cc', 257 'test/ui/ui_test_suite.cc',
258 'test/ui/ui_test_suite.h', 258 'test/ui/ui_test_suite.h',
259 ], 259 ],
260 'conditions': [ 260 'conditions': [
261 ['OS=="win"', { 261 ['OS=="win"', {
262 'dependencies': [ 262 'dependencies': [
263 'chrome.gyp:crash_service', # run time dependency 263 'chrome.gyp:crash_service', # run time dependency
264 ], 264 ],
265 }], 265 }],
266 ['OS=="linux"', { 266 ['toolkit_uses_gtk==1', {
267 'dependencies': [ 267 'dependencies': [
268 '../build/linux/system.gyp:gtk', 268 '../build/linux/system.gyp:gtk',
269 ], 269 ],
270 }], 270 }],
271 ], 271 ],
272 }, 272 },
273 { 273 {
274 'target_name': 'test_support_sync', 274 'target_name': 'test_support_sync',
275 'type': '<(library)', 275 'type': '<(library)',
276 'dependencies': [ 276 'dependencies': [
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 '../skia/skia.gyp:skia', 341 '../skia/skia.gyp:skia',
342 '../testing/gtest.gyp:gtest', 342 '../testing/gtest.gyp:gtest',
343 ], 343 ],
344 'include_dirs': [ 344 'include_dirs': [
345 '..', 345 '..',
346 ], 346 ],
347 'sources': [ 347 'sources': [
348 'test/unit/run_all_unittests.cc', 348 'test/unit/run_all_unittests.cc',
349 ], 349 ],
350 'conditions': [ 350 'conditions': [
351 ['OS=="linux"', { 351 ['toolkit_uses_gtk==1', {
352 'dependencies': [ 352 'dependencies': [
353 # Needed for the following #include chain: 353 # Needed for the following #include chain:
354 # test/unit/run_all_unittests.cc 354 # test/unit/run_all_unittests.cc
355 # test/unit/chrome_test_suite.h 355 # test/unit/chrome_test_suite.h
356 # gtk/gtk.h 356 # gtk/gtk.h
357 '../build/linux/system.gyp:gtk', 357 '../build/linux/system.gyp:gtk',
358 ], 358 ],
359 }], 359 }],
360 ], 360 ],
361 }, 361 },
(...skipping 26 matching lines...) Expand all
388 'configurations': { 388 'configurations': {
389 'Release': { 389 'Release': {
390 'msvs_settings': { 390 'msvs_settings': {
391 'VCCLCompilerTool': { 391 'VCCLCompilerTool': {
392 'WholeProgramOptimization': 'false', 392 'WholeProgramOptimization': 'false',
393 }, 393 },
394 }, 394 },
395 }, 395 },
396 }, 396 },
397 },], 397 },],
398 ['OS=="linux"', { 398 ['use_x11==1', {
399 'dependencies': [ 399 'dependencies': [
400 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 400 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
401 ], 401 ],
402 }], 402 }],
403 ['OS=="win"', { 403 ['OS=="win"', {
404 'include_dirs': [ 404 'include_dirs': [
405 '<(DEPTH)/third_party/wtl/include', 405 '<(DEPTH)/third_party/wtl/include',
406 ], 406 ],
407 'conditions': [ 407 'conditions': [
408 ['win_use_allocator_shim==1', { 408 ['win_use_allocator_shim==1', {
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 'test/interactive_ui/infobars_uitest.cc', 462 'test/interactive_ui/infobars_uitest.cc',
463 'test/interactive_ui/keyboard_access_uitest.cc', 463 'test/interactive_ui/keyboard_access_uitest.cc',
464 'test/interactive_ui/mouseleave_interactive_uitest.cc', 464 'test/interactive_ui/mouseleave_interactive_uitest.cc',
465 'test/interactive_ui/npapi_interactive_test.cc', 465 'test/interactive_ui/npapi_interactive_test.cc',
466 'test/interactive_ui/view_event_test_base.cc', 466 'test/interactive_ui/view_event_test_base.cc',
467 'test/interactive_ui/view_event_test_base.h', 467 'test/interactive_ui/view_event_test_base.h',
468 'test/out_of_proc_test_runner.cc', 468 'test/out_of_proc_test_runner.cc',
469 'test/unit/chrome_test_suite.h', 469 'test/unit/chrome_test_suite.h',
470 ], 470 ],
471 'conditions': [ 471 'conditions': [
472 ['OS=="linux"', { 472 ['toolkit_uses_gtk==1', {
473 'dependencies': [ 473 'dependencies': [
474 '../build/linux/system.gyp:gtk', 474 '../build/linux/system.gyp:gtk',
475 '../build/linux/system.gyp:nss', 475 '../build/linux/system.gyp:nss',
476 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 476 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
477 ], 477 ],
478 }], 478 }],
479 ['OS=="linux" and toolkit_views==0', { 479 ['toolkit_uses_gtk==1 and toolkit_views==0', {
480 'sources!': [ 480 'sources!': [
481 # TODO(port) 481 # TODO(port)
482 'browser/ui/views/bookmarks/bookmark_bar_view_test.cc', 482 'browser/ui/views/bookmarks/bookmark_bar_view_test.cc',
483 'browser/ui/views/find_bar_host_interactive_uitest.cc', 483 'browser/ui/views/find_bar_host_interactive_uitest.cc',
484 'browser/ui/views/menu_item_view_test.cc', 484 'browser/ui/views/menu_item_view_test.cc',
485 'browser/ui/views/tabs/tab_dragging_test.cc', 485 'browser/ui/views/tabs/tab_dragging_test.cc',
486 'browser/ui/views/tabs/tab_strip_interactive_uitest.cc', 486 'browser/ui/views/tabs/tab_strip_interactive_uitest.cc',
487 'test/interactive_ui/npapi_interactive_test.cc', 487 'test/interactive_ui/npapi_interactive_test.cc',
488 'test/interactive_ui/view_event_test_base.cc', 488 'test/interactive_ui/view_event_test_base.cc',
489 'test/interactive_ui/view_event_test_base.h', 489 'test/interactive_ui/view_event_test_base.h',
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 '../content/browser/in_process_webkit/dom_storage_uitest.cc', 673 '../content/browser/in_process_webkit/dom_storage_uitest.cc',
674 '../content/browser/renderer_host/resource_dispatcher_host_uitest.cc', 674 '../content/browser/renderer_host/resource_dispatcher_host_uitest.cc',
675 '../content/worker/worker_uitest.cc', 675 '../content/worker/worker_uitest.cc',
676 ], 676 ],
677 'conditions': [ 677 'conditions': [
678 ['target_arch!="arm"', { 678 ['target_arch!="arm"', {
679 'dependencies': [ 679 'dependencies': [
680 '../webkit/webkit.gyp:copy_npapi_test_plugin', 680 '../webkit/webkit.gyp:copy_npapi_test_plugin',
681 ], 681 ],
682 }], 682 }],
683 ['OS=="linux"', { 683 ['toolkit_uses_gtk==1', {
684 'dependencies': [ 684 'dependencies': [
685 '../build/linux/system.gyp:gtk', 685 '../build/linux/system.gyp:gtk',
686 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 686 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
687 ], 687 ],
688 }, { # else: OS != "linux" 688 }, { # else: toolkit_uses_gtk != 1
689 'sources!': [ 689 'sources!': [
690 'browser/process_singleton_linux_uitest.cc', 690 'browser/process_singleton_linux_uitest.cc',
691 ], 691 ],
692 }], 692 }],
693 ['toolkit_views==1', { 693 ['toolkit_views==1', {
694 'dependencies': [ 694 'dependencies': [
695 '../views/views.gyp:views', 695 '../views/views.gyp:views',
696 ], 696 ],
697 }], 697 }],
698 ['OS=="mac"', { 698 ['OS=="mac"', {
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
739 'sources!': [ 739 'sources!': [
740 # TODO(dtu): port to windows http://crosbug.com/8515 740 # TODO(dtu): port to windows http://crosbug.com/8515
741 'test/ui/named_interface_uitest.cc', 741 'test/ui/named_interface_uitest.cc',
742 ], 742 ],
743 }, { # else: OS != "win" 743 }, { # else: OS != "win"
744 'sources!': [ 744 'sources!': [
745 # TODO(port): http://crbug.com/45770 745 # TODO(port): http://crbug.com/45770
746 'browser/printing/printing_layout_uitest.cc', 746 'browser/printing/printing_layout_uitest.cc',
747 ], 747 ],
748 }], 748 }],
749 ['OS=="linux" or OS=="freebsd"', { 749 ['os_posix==1 and OS!="mac"', {
750 'conditions': [ 750 'conditions': [
751 ['linux_use_tcmalloc==1', { 751 ['linux_use_tcmalloc==1', {
752 'dependencies': [ 752 'dependencies': [
753 '../base/allocator/allocator.gyp:allocator', 753 '../base/allocator/allocator.gyp:allocator',
754 ], 754 ],
755 }], 755 }],
756 ], 756 ],
757 }], 757 }],
758 ['chromeos==1', { 758 ['chromeos==1', {
759 'sources!': [ 759 'sources!': [
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
857 'test/webdriver/commands/title_command.h', 857 'test/webdriver/commands/title_command.h',
858 'test/webdriver/commands/title_command.cc', 858 'test/webdriver/commands/title_command.cc',
859 'test/webdriver/commands/url_command.h', 859 'test/webdriver/commands/url_command.h',
860 'test/webdriver/commands/url_command.cc', 860 'test/webdriver/commands/url_command.cc',
861 'test/webdriver/commands/webdriver_command.h', 861 'test/webdriver/commands/webdriver_command.h',
862 'test/webdriver/commands/webdriver_command.cc', 862 'test/webdriver/commands/webdriver_command.cc',
863 'test/webdriver/commands/webelement_commands.h', 863 'test/webdriver/commands/webelement_commands.h',
864 'test/webdriver/commands/webelement_commands.cc', 864 'test/webdriver/commands/webelement_commands.cc',
865 ], 865 ],
866 'conditions': [ 866 'conditions': [
867 ['OS=="linux"', { 867 ['toolkit_uses_gtk==1', {
868 'dependencies': [ 868 'dependencies': [
869 '../build/linux/system.gyp:gtk', 869 '../build/linux/system.gyp:gtk',
870 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 870 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
871 ], 871 ],
872 }], 872 }],
873 ['OS=="linux" and toolkit_views==1', { 873 ['OS=="linux" and toolkit_views==1', {
874 'dependencies': [ 874 'dependencies': [
875 '../views/views.gyp:views', 875 '../views/views.gyp:views',
876 ], 876 ],
877 }], 877 }],
878 ['OS=="linux" or OS=="freebsd"', { 878 ['os_posix==1 and OS!="mac"', {
879 'conditions': [ 879 'conditions': [
880 ['linux_use_tcmalloc==1', { 880 ['linux_use_tcmalloc==1', {
881 'dependencies': [ 881 'dependencies': [
882 '../base/allocator/allocator.gyp:allocator', 882 '../base/allocator/allocator.gyp:allocator',
883 ], 883 ],
884 }], 884 }],
885 ], 885 ],
886 }], 886 }],
887 ], 887 ],
888 }, 888 },
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
1017 ['OS=="win"', { 1017 ['OS=="win"', {
1018 'sources': [ 1018 'sources': [
1019 '../sandbox/tests/validation_tests/commands.cc', 1019 '../sandbox/tests/validation_tests/commands.cc',
1020 '../sandbox/tests/validation_tests/commands.h', 1020 '../sandbox/tests/validation_tests/commands.h',
1021 '../sandbox/tests/common/controller.h', 1021 '../sandbox/tests/common/controller.h',
1022 'test/nacl_security_tests/nacl_security_tests_win.h', 1022 'test/nacl_security_tests/nacl_security_tests_win.h',
1023 'test/nacl_security_tests/nacl_security_tests_win.cc', 1023 'test/nacl_security_tests/nacl_security_tests_win.cc',
1024 ], 1024 ],
1025 },], 1025 },],
1026 # Set fPIC in case it isn't set. 1026 # Set fPIC in case it isn't set.
1027 ['(OS=="linux" or OS=="openbsd" or OS=="freebsd" or OS=="solaris")' 1027 ['os_posix==1 and OS!="mac"'
1028 'and (target_arch=="x64" or target_arch=="arm") and linux_fpic!=1', { 1028 'and (target_arch=="x64" or target_arch=="arm") and linux_fpic!=1', {
1029 'cflags': ['-fPIC'], 1029 'cflags': ['-fPIC'],
1030 },], 1030 },],
1031 ], 1031 ],
1032 }, 1032 },
1033 { 1033 {
1034 'target_name': 'nacl_sandbox_tests', 1034 'target_name': 'nacl_sandbox_tests',
1035 'type': 'executable', 1035 'type': 'executable',
1036 'msvs_guid': '3087FC25-2C24-44B2-8253-44065EB47ACD', 1036 'msvs_guid': '3087FC25-2C24-44B2-8253-44065EB47ACD',
1037 'dependencies': [ 1037 'dependencies': [
(...skipping 945 matching lines...) Expand 10 before | Expand all | Expand 10 after
1983 ['exclude', 'browser/ui/webui/print_preview_ui_html_source_unittest. cc'], 1983 ['exclude', 'browser/ui/webui/print_preview_ui_html_source_unittest. cc'],
1984 ], 1984 ],
1985 }, { # else: chromeos == 0 1985 }, { # else: chromeos == 0
1986 'sources/': [ 1986 'sources/': [
1987 ['exclude', '^browser/chromeos/'], 1987 ['exclude', '^browser/chromeos/'],
1988 ['exclude', '^browser/policy/device_policy_cache_unittest.cc'], 1988 ['exclude', '^browser/policy/device_policy_cache_unittest.cc'],
1989 ['exclude', '^browser/policy/enterprise_install_attributes_unittest. cc' ], 1989 ['exclude', '^browser/policy/enterprise_install_attributes_unittest. cc' ],
1990 ['exclude', '^browser/ui/webui/chromeos/login'], 1990 ['exclude', '^browser/ui/webui/chromeos/login'],
1991 ], 1991 ],
1992 }], 1992 }],
1993 ['OS=="linux"', { 1993 ['toolkit_uses_gtk==1', {
1994 'conditions': [ 1994 'conditions': [
1995 ['selinux==0', { 1995 ['selinux==0', {
1996 'dependencies': [ 1996 'dependencies': [
1997 '../sandbox/sandbox.gyp:*', 1997 '../sandbox/sandbox.gyp:*',
1998 ], 1998 ],
1999 }], 1999 }],
2000 ['toolkit_views==1', { 2000 ['toolkit_views==1', {
2001 'sources!': [ 2001 'sources!': [
2002 'browser/autocomplete/autocomplete_popup_view_gtk_unittest.cc', 2002 'browser/autocomplete/autocomplete_popup_view_gtk_unittest.cc',
2003 'browser/ui/gtk/bookmarks/bookmark_bar_gtk_unittest.cc', 2003 'browser/ui/gtk/bookmarks/bookmark_bar_gtk_unittest.cc',
2004 'browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc', 2004 'browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc',
2005 'browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc', 2005 'browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc',
2006 'browser/ui/gtk/gtk_expanded_container_unittest.cc', 2006 'browser/ui/gtk/gtk_expanded_container_unittest.cc',
2007 'browser/ui/gtk/gtk_theme_service_unittest.cc', 2007 'browser/ui/gtk/gtk_theme_service_unittest.cc',
2008 'browser/ui/gtk/options/cookies_view_unittest.cc', 2008 'browser/ui/gtk/options/cookies_view_unittest.cc',
2009 'browser/ui/gtk/options/languages_page_gtk_unittest.cc', 2009 'browser/ui/gtk/options/languages_page_gtk_unittest.cc',
2010 'browser/ui/gtk/reload_button_gtk_unittest.cc', 2010 'browser/ui/gtk/reload_button_gtk_unittest.cc',
2011 'browser/ui/gtk/status_icons/status_tray_gtk_unittest.cc', 2011 'browser/ui/gtk/status_icons/status_tray_gtk_unittest.cc',
2012 ], 2012 ],
2013 }], 2013 }],
2014 ], 2014 ],
2015 'dependencies': [ 2015 'dependencies': [
2016 '../build/linux/system.gyp:gtk', 2016 '../build/linux/system.gyp:gtk',
2017 '../build/linux/system.gyp:nss', 2017 '../build/linux/system.gyp:nss',
2018 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 2018 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2019 ], 2019 ],
2020 'sources!': [ 2020 'sources!': [
2021 'browser/printing/print_job_unittest.cc', 2021 'browser/printing/print_job_unittest.cc',
2022 ], 2022 ],
2023 }, { # else: OS != "linux" 2023 }, { # else: toolkit_uses_gtk != 1
2024 'sources!': [ 2024 'sources!': [
2025 'browser/ui/gtk/tabs/tab_renderer_gtk_unittest.cc', 2025 'browser/ui/gtk/tabs/tab_renderer_gtk_unittest.cc',
2026 'browser/renderer_host/gtk_key_bindings_handler_unittest.cc', 2026 'browser/renderer_host/gtk_key_bindings_handler_unittest.cc',
2027 '../views/focus/accelerator_handler_gtk_unittest.cc', 2027 '../views/focus/accelerator_handler_gtk_unittest.cc',
2028 ], 2028 ],
2029 }], 2029 }],
2030 ['OS=="linux" or OS=="freebsd"', { 2030 ['os_posix==1 and OS!="mac"', {
2031 'conditions': [ 2031 'conditions': [
2032 ['linux_use_tcmalloc==1', { 2032 ['linux_use_tcmalloc==1', {
2033 'dependencies': [ 2033 'dependencies': [
2034 '../base/allocator/allocator.gyp:allocator', 2034 '../base/allocator/allocator.gyp:allocator',
2035 ], 2035 ],
2036 }], 2036 }],
2037 ], 2037 ],
2038 }], 2038 }],
2039 ['OS=="mac"', { 2039 ['OS=="mac"', {
2040 # The test fetches resources which means Mac need the app bundle to 2040 # The test fetches resources which means Mac need the app bundle to
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
2536 'app/chrome_command_ids.h', 2536 'app/chrome_command_ids.h',
2537 'app/chrome_dll.rc', 2537 'app/chrome_dll.rc',
2538 'app/chrome_dll_resource.h', 2538 'app/chrome_dll_resource.h',
2539 'app/chrome_dll_version.rc.version', 2539 'app/chrome_dll_version.rc.version',
2540 'browser/extensions/extension_rlz_apitest.cc', 2540 'browser/extensions/extension_rlz_apitest.cc',
2541 # http://crbug.com/15101 These tests fail on Linux and Mac. 2541 # http://crbug.com/15101 These tests fail on Linux and Mac.
2542 'browser/renderer_host/web_cache_manager_browsertest.cc', 2542 'browser/renderer_host/web_cache_manager_browsertest.cc',
2543 '../content/browser/child_process_security_policy_browsertest.cc', 2543 '../content/browser/child_process_security_policy_browsertest.cc',
2544 ], 2544 ],
2545 }], 2545 }],
2546 ['OS=="linux"', { 2546 ['toolkit_uses_gtk==1', {
2547 'dependencies': [ 2547 'dependencies': [
2548 '../build/linux/system.gyp:gtk', 2548 '../build/linux/system.gyp:gtk',
2549 '../build/linux/system.gyp:nss', 2549 '../build/linux/system.gyp:nss',
2550 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 2550 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2551 ], 2551 ],
2552 'sources': [ 2552 'sources': [
2553 # TODO(estade): port to win/mac. 2553 # TODO(estade): port to win/mac.
2554 'browser/ui/webui/constrained_html_ui_browsertest.cc', 2554 'browser/ui/webui/constrained_html_ui_browsertest.cc',
2555 ], 2555 ],
2556 }], 2556 }],
(...skipping 17 matching lines...) Expand all
2574 ], 2574 ],
2575 'sources': [ 2575 'sources': [
2576 'browser/spellcheck_message_filter_browsertest.cc', 2576 'browser/spellcheck_message_filter_browsertest.cc',
2577 '../content/renderer/external_popup_menu_unittest.cc', 2577 '../content/renderer/external_popup_menu_unittest.cc',
2578 ], 2578 ],
2579 }, { # else: OS != "mac" 2579 }, { # else: OS != "mac"
2580 'sources!': [ 2580 'sources!': [
2581 'browser/extensions/browser_action_test_util_mac.mm', 2581 'browser/extensions/browser_action_test_util_mac.mm',
2582 ], 2582 ],
2583 }], 2583 }],
2584 ['OS=="linux" or OS=="freebsd"', { 2584 ['os_posix==1 and OS!="mac"', {
2585 'conditions': [ 2585 'conditions': [
2586 ['linux_use_tcmalloc==1', { 2586 ['linux_use_tcmalloc==1', {
2587 'dependencies': [ 2587 'dependencies': [
2588 '../base/allocator/allocator.gyp:allocator', 2588 '../base/allocator/allocator.gyp:allocator',
2589 ], 2589 ],
2590 }], 2590 }],
2591 ], 2591 ],
2592 }], 2592 }],
2593 ['toolkit_views==1', { 2593 ['toolkit_views==1', {
2594 'dependencies': [ 2594 'dependencies': [
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
2707 'configurations': { 2707 'configurations': {
2708 'Release': { 2708 'Release': {
2709 'msvs_settings': { 2709 'msvs_settings': {
2710 'VCCLCompilerTool': { 2710 'VCCLCompilerTool': {
2711 'WholeProgramOptimization': 'false', 2711 'WholeProgramOptimization': 'false',
2712 }, 2712 },
2713 }, 2713 },
2714 }, 2714 },
2715 }, 2715 },
2716 },], 2716 },],
2717 ['OS=="linux"', { 2717 ['toolkit_uses_gtk==1', {
2718 'dependencies': [ 2718 'dependencies': [
2719 '../build/linux/system.gyp:gtk', 2719 '../build/linux/system.gyp:gtk',
2720 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 2720 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2721 ], 2721 ],
2722 }], 2722 }],
2723 ['OS=="mac"', { 2723 ['OS=="mac"', {
2724 # See the comment in this section of the unit_tests target for an 2724 # See the comment in this section of the unit_tests target for an
2725 # explanation (crbug.com/43791 - libwebcore.a is too large to mmap). 2725 # explanation (crbug.com/43791 - libwebcore.a is too large to mmap).
2726 'dependencies+++': [ 2726 'dependencies+++': [
2727 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor e', 2727 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor e',
(...skipping 10 matching lines...) Expand all
2738 'configurations': { 2738 'configurations': {
2739 'Debug_Base': { 2739 'Debug_Base': {
2740 'msvs_settings': { 2740 'msvs_settings': {
2741 'VCLinkerTool': { 2741 'VCLinkerTool': {
2742 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', 2742 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
2743 }, 2743 },
2744 }, 2744 },
2745 }, 2745 },
2746 }, 2746 },
2747 },], 2747 },],
2748 ['OS=="linux" or OS=="freebsd"', { 2748 ['os_posix==1 and OS!="mac"', {
2749 'conditions': [ 2749 'conditions': [
2750 ['linux_use_tcmalloc==1', { 2750 ['linux_use_tcmalloc==1', {
2751 'dependencies': [ 2751 'dependencies': [
2752 '../base/allocator/allocator.gyp:allocator', 2752 '../base/allocator/allocator.gyp:allocator',
2753 ], 2753 ],
2754 }], 2754 }],
2755 ], 2755 ],
2756 }], 2756 }],
2757 ['toolkit_views==1', { 2757 ['toolkit_views==1', {
2758 'dependencies': [ 2758 'dependencies': [
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
2809 'configurations': { 2809 'configurations': {
2810 'Debug': { 2810 'Debug': {
2811 'msvs_settings': { 2811 'msvs_settings': {
2812 'VCLinkerTool': { 2812 'VCLinkerTool': {
2813 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', 2813 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
2814 }, 2814 },
2815 }, 2815 },
2816 }, 2816 },
2817 }, 2817 },
2818 },], 2818 },],
2819 ['OS=="linux"', { 2819 ['toolkit_uses_gtk==1', {
2820 'dependencies': [ 2820 'dependencies': [
2821 '../build/linux/system.gyp:gtk', 2821 '../build/linux/system.gyp:gtk',
2822 ], 2822 ],
2823 },], 2823 },],
2824 ], 2824 ],
2825 }, 2825 },
2826 { 2826 {
2827 'target_name': 'page_cycler_tests', 2827 'target_name': 'page_cycler_tests',
2828 'type': 'executable', 2828 'type': 'executable',
2829 'msvs_guid': 'C9E0BD1D-B175-4A91-8380-3FDC81FAB9D7', 2829 'msvs_guid': 'C9E0BD1D-B175-4A91-8380-3FDC81FAB9D7',
(...skipping 16 matching lines...) Expand all
2846 'configurations': { 2846 'configurations': {
2847 'Release': { 2847 'Release': {
2848 'msvs_settings': { 2848 'msvs_settings': {
2849 'VCCLCompilerTool': { 2849 'VCCLCompilerTool': {
2850 'WholeProgramOptimization': 'false', 2850 'WholeProgramOptimization': 'false',
2851 }, 2851 },
2852 }, 2852 },
2853 }, 2853 },
2854 }, 2854 },
2855 },], 2855 },],
2856 ['OS=="linux"', { 2856 ['toolkit_uses_gtk==1', {
2857 'dependencies': [ 2857 'dependencies': [
2858 '../build/linux/system.gyp:gtk', 2858 '../build/linux/system.gyp:gtk',
2859 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 2859 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2860 ], 2860 ],
2861 }], 2861 }],
2862 ['toolkit_views==1', { 2862 ['toolkit_views==1', {
2863 'dependencies': [ 2863 'dependencies': [
2864 '../views/views.gyp:views', 2864 '../views/views.gyp:views',
2865 ], 2865 ],
2866 }], 2866 }],
(...skipping 17 matching lines...) Expand all
2884 '../skia/skia.gyp:skia', 2884 '../skia/skia.gyp:skia',
2885 '../testing/gtest.gyp:gtest', 2885 '../testing/gtest.gyp:gtest',
2886 ], 2886 ],
2887 'include_dirs': [ 2887 'include_dirs': [
2888 '..', 2888 '..',
2889 ], 2889 ],
2890 'sources': [ 2890 'sources': [
2891 'test/tab_switching/tab_switching_test.cc', 2891 'test/tab_switching/tab_switching_test.cc',
2892 ], 2892 ],
2893 'conditions': [ 2893 'conditions': [
2894 ['OS=="linux"', { 2894 ['toolkit_uses_gtk==1', {
2895 'dependencies': [ 2895 'dependencies': [
2896 '../build/linux/system.gyp:gtk', 2896 '../build/linux/system.gyp:gtk',
2897 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 2897 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2898 ], 2898 ],
2899 }], 2899 }],
2900 ['OS=="win" and win_use_allocator_shim==1', { 2900 ['OS=="win" and win_use_allocator_shim==1', {
2901 'dependencies': [ 2901 'dependencies': [
2902 '<(allocator_target)', 2902 '<(allocator_target)',
2903 ], 2903 ],
2904 },], 2904 },],
(...skipping 14 matching lines...) Expand all
2919 '../skia/skia.gyp:skia', 2919 '../skia/skia.gyp:skia',
2920 '../testing/gtest.gyp:gtest', 2920 '../testing/gtest.gyp:gtest',
2921 ], 2921 ],
2922 'include_dirs': [ 2922 'include_dirs': [
2923 '..', 2923 '..',
2924 ], 2924 ],
2925 'sources': [ 2925 'sources': [
2926 'test/memory_test/memory_test.cc', 2926 'test/memory_test/memory_test.cc',
2927 ], 2927 ],
2928 'conditions': [ 2928 'conditions': [
2929 ['OS=="linux"', { 2929 ['toolkit_uses_gtk==1', {
2930 'dependencies': [ 2930 'dependencies': [
2931 '../build/linux/system.gyp:gtk', 2931 '../build/linux/system.gyp:gtk',
2932 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 2932 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2933 ], 2933 ],
2934 }], 2934 }],
2935 ], 2935 ],
2936 }, 2936 },
2937 { 2937 {
2938 'target_name': 'url_fetch_test', 2938 'target_name': 'url_fetch_test',
2939 'type': 'executable', 2939 'type': 'executable',
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
3085 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', 3085 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
3086 }, 3086 },
3087 }, 3087 },
3088 }, 3088 },
3089 }, 3089 },
3090 }, { # else: OS != "win" 3090 }, { # else: OS != "win"
3091 'sources!': [ 3091 'sources!': [
3092 'browser/sync/util/data_encryption_unittest.cc', 3092 'browser/sync/util/data_encryption_unittest.cc',
3093 ], 3093 ],
3094 }], 3094 }],
3095 ['OS=="linux"', { 3095 ['toolkit_uses_gtk==1', {
3096 'dependencies': [ 3096 'dependencies': [
3097 '../build/linux/system.gyp:gtk', 3097 '../build/linux/system.gyp:gtk',
3098 '../build/linux/system.gyp:nss', 3098 '../build/linux/system.gyp:nss',
3099 'packed_resources' 3099 'packed_resources'
3100 ], 3100 ],
3101 }], 3101 }],
3102 ['OS=="mac"', { 3102 ['OS=="mac"', {
3103 # See the comment in this section of the unit_tests target for an 3103 # See the comment in this section of the unit_tests target for an
3104 # explanation (crbug.com/43791 - libwebcore.a is too large to mmap). 3104 # explanation (crbug.com/43791 - libwebcore.a is too large to mmap).
3105 'dependencies+++': [ 3105 'dependencies+++': [
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
3209 'test/live_sync/two_client_live_themes_sync_test.cc', 3209 'test/live_sync/two_client_live_themes_sync_test.cc',
3210 'test/live_sync/two_client_live_typed_urls_sync_test.cc', 3210 'test/live_sync/two_client_live_typed_urls_sync_test.cc',
3211 'test/test_notification_tracker.cc', 3211 'test/test_notification_tracker.cc',
3212 'test/test_notification_tracker.h', 3212 'test/test_notification_tracker.h',
3213 'test/ui_test_utils_linux.cc', 3213 'test/ui_test_utils_linux.cc',
3214 'test/ui_test_utils_mac.mm', 3214 'test/ui_test_utils_mac.mm',
3215 'test/ui_test_utils_win.cc', 3215 'test/ui_test_utils_win.cc',
3216 'test/data/resource.rc', 3216 'test/data/resource.rc',
3217 ], 3217 ],
3218 'conditions': [ 3218 'conditions': [
3219 ['OS=="linux"', { 3219 ['toolkit_uses_gtk==1', {
3220 'dependencies': [ 3220 'dependencies': [
3221 '../build/linux/system.gyp:gtk', 3221 '../build/linux/system.gyp:gtk',
3222 '../build/linux/system.gyp:nss', 3222 '../build/linux/system.gyp:nss',
3223 ], 3223 ],
3224 }], 3224 }],
3225 ['OS=="mac"', { 3225 ['OS=="mac"', {
3226 # See the comment in this section of the unit_tests target for an 3226 # See the comment in this section of the unit_tests target for an
3227 # explanation (crbug.com/43791 - libwebcore.a is too large to mmap). 3227 # explanation (crbug.com/43791 - libwebcore.a is too large to mmap).
3228 'dependencies+++': [ 3228 'dependencies+++': [
3229 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor e', 3229 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor e',
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
3357 }], 3357 }],
3358 ['OS=="mac"', { 3358 ['OS=="mac"', {
3359 # See the comment in this section of the unit_tests target for an 3359 # See the comment in this section of the unit_tests target for an
3360 # explanation (crbug.com/43791 - libwebcore.a is too large to mmap). 3360 # explanation (crbug.com/43791 - libwebcore.a is too large to mmap).
3361 'dependencies+++': [ 3361 'dependencies+++': [
3362 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor e', 3362 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor e',
3363 ], 3363 ],
3364 # See comments about "xcode_settings" elsewhere in this file. 3364 # See comments about "xcode_settings" elsewhere in this file.
3365 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, 3365 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
3366 }], 3366 }],
3367 ['OS=="linux"', { 3367 ['toolkit_uses_gtk==1', {
3368 'dependencies': [ 3368 'dependencies': [
3369 '../build/linux/system.gyp:gtk', 3369 '../build/linux/system.gyp:gtk',
3370 '../build/linux/system.gyp:nss', 3370 '../build/linux/system.gyp:nss',
3371 ], 3371 ],
3372 }], 3372 }],
3373 ['toolkit_views==1', { 3373 ['toolkit_views==1', {
3374 'dependencies': [ 3374 'dependencies': [
3375 '../views/views.gyp:views', 3375 '../views/views.gyp:views',
3376 ], 3376 ],
3377 }], 3377 }],
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
3492 '../webkit/support/webkit_support.gyp:glue', 3492 '../webkit/support/webkit_support.gyp:glue',
3493 ], 3493 ],
3494 'sources': [ 3494 'sources': [
3495 'browser/safe_browsing/filter_false_positive_perftest.cc', 3495 'browser/safe_browsing/filter_false_positive_perftest.cc',
3496 'browser/visitedlink/visitedlink_perftest.cc', 3496 'browser/visitedlink/visitedlink_perftest.cc',
3497 'common/json_value_serializer_perftest.cc', 3497 'common/json_value_serializer_perftest.cc',
3498 'test/perf/perftests.cc', 3498 'test/perf/perftests.cc',
3499 'test/perf/url_parse_perftest.cc', 3499 'test/perf/url_parse_perftest.cc',
3500 ], 3500 ],
3501 'conditions': [ 3501 'conditions': [
3502 ['OS=="linux"', { 3502 ['toolkit_uses_gtk==1', {
3503 'dependencies': [ 3503 'dependencies': [
3504 '../build/linux/system.gyp:gtk', 3504 '../build/linux/system.gyp:gtk',
3505 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 3505 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
3506 ], 3506 ],
3507 'sources!': [ 3507 'sources!': [
3508 # TODO(port): 3508 # TODO(port):
3509 'browser/safe_browsing/filter_false_positive_perftest.cc', 3509 'browser/safe_browsing/filter_false_positive_perftest.cc',
3510 ], 3510 ],
3511 }], 3511 }],
3512 ['OS=="win"', { 3512 ['OS=="win"', {
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
3648 'dependencies': [ 3648 'dependencies': [
3649 '<(allocator_target)', 3649 '<(allocator_target)',
3650 ], 3650 ],
3651 },], 3651 },],
3652 ], 3652 ],
3653 }, 3653 },
3654 ]}, # 'targets' 3654 ]}, # 'targets'
3655 ], # OS=="win" 3655 ], # OS=="win"
3656 # If you change this condition, make sure you also change it in all.gyp 3656 # If you change this condition, make sure you also change it in all.gyp
3657 # for the chromium_builder_qa target. 3657 # for the chromium_builder_qa target.
3658 ['OS=="mac" or OS=="win" or (OS=="linux" and target_arch==python_arch)', { 3658 ['OS=="mac" or OS=="win" or (os_posix==1 and target_arch==python_arch)', {
3659 'targets': [ 3659 'targets': [
3660 { 3660 {
3661 # Documentation: http://dev.chromium.org/developers/testing/pyauto 3661 # Documentation: http://dev.chromium.org/developers/testing/pyauto
3662 'target_name': 'pyautolib', 3662 'target_name': 'pyautolib',
3663 'type': 'shared_library', 3663 'type': 'shared_library',
3664 'product_prefix': '_', 3664 'product_prefix': '_',
3665 'dependencies': [ 3665 'dependencies': [
3666 'chrome', 3666 'chrome',
3667 'debugger', 3667 'debugger',
3668 'syncapi', 3668 'syncapi',
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
3700 # that xcode would generate) 3700 # that xcode would generate)
3701 # Change when gyp can support a platform-neutral way for this 3701 # Change when gyp can support a platform-neutral way for this
3702 # (http://code.google.com/p/gyp/issues/detail?id=135) 3702 # (http://code.google.com/p/gyp/issues/detail?id=135)
3703 'EXECUTABLE_EXTENSION': 'so', 3703 'EXECUTABLE_EXTENSION': 'so',
3704 # When generated, pyautolib_wrap.cc includes some swig support 3704 # When generated, pyautolib_wrap.cc includes some swig support
3705 # files which, as of swig 1.3.31 that comes with 10.5 and 10.6, 3705 # files which, as of swig 1.3.31 that comes with 10.5 and 10.6,
3706 # may not compile cleanly at -Wall. 3706 # may not compile cleanly at -Wall.
3707 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Wno-error 3707 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Wno-error
3708 }, 3708 },
3709 'conditions': [ 3709 'conditions': [
3710 ['OS=="linux"', { 3710 ['os_posix==1 and OS!=="mac"', {
3711 'include_dirs': [ 3711 'include_dirs': [
3712 '..', 3712 '..',
3713 '<(sysroot)/usr/include/python<(python_ver)', 3713 '<(sysroot)/usr/include/python<(python_ver)',
3714 ], 3714 ],
3715 'dependencies': [ 3715 'dependencies': [
3716 '../build/linux/system.gyp:gtk', 3716 '../build/linux/system.gyp:gtk',
3717 ], 3717 ],
3718 'link_settings': { 3718 'link_settings': {
3719 'libraries': [ 3719 'libraries': [
3720 '-lpython<(python_ver)', 3720 '-lpython<(python_ver)',
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
3975 ] 3975 ]
3976 }], # 'coverage!=0' 3976 }], # 'coverage!=0'
3977 ], # 'conditions' 3977 ], # 'conditions'
3978 } 3978 }
3979 3979
3980 # Local Variables: 3980 # Local Variables:
3981 # tab-width:2 3981 # tab-width:2
3982 # indent-tabs-mode:nil 3982 # indent-tabs-mode:nil
3983 # End: 3983 # End:
3984 # vim: set expandtab tabstop=2 shiftwidth=2: 3984 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698