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

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 added spaces, collapsed one check 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
« no previous file with comments | « chrome/chrome_renderer.gypi ('k') | chrome/common_constants.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 949 matching lines...) Expand 10 before | Expand all | Expand 10 after
1987 ['exclude', 'browser/ui/webui/print_preview_ui_html_source_unittest. cc'], 1987 ['exclude', 'browser/ui/webui/print_preview_ui_html_source_unittest. cc'],
1988 ], 1988 ],
1989 }, { # else: chromeos == 0 1989 }, { # else: chromeos == 0
1990 'sources/': [ 1990 'sources/': [
1991 ['exclude', '^browser/chromeos/'], 1991 ['exclude', '^browser/chromeos/'],
1992 ['exclude', '^browser/policy/device_policy_cache_unittest.cc'], 1992 ['exclude', '^browser/policy/device_policy_cache_unittest.cc'],
1993 ['exclude', '^browser/policy/enterprise_install_attributes_unittest. cc' ], 1993 ['exclude', '^browser/policy/enterprise_install_attributes_unittest. cc' ],
1994 ['exclude', '^browser/ui/webui/chromeos/login'], 1994 ['exclude', '^browser/ui/webui/chromeos/login'],
1995 ], 1995 ],
1996 }], 1996 }],
1997 ['OS=="linux"', { 1997 ['toolkit_uses_gtk == 1', {
1998 'conditions': [ 1998 'conditions': [
1999 ['selinux==0', { 1999 ['selinux==0', {
2000 'dependencies': [ 2000 'dependencies': [
2001 '../sandbox/sandbox.gyp:*', 2001 '../sandbox/sandbox.gyp:*',
2002 ], 2002 ],
2003 }], 2003 }],
2004 ['toolkit_views==1', { 2004 ['toolkit_views==1', {
2005 'sources!': [ 2005 'sources!': [
2006 'browser/autocomplete/autocomplete_popup_view_gtk_unittest.cc', 2006 'browser/autocomplete/autocomplete_popup_view_gtk_unittest.cc',
2007 'browser/ui/gtk/bookmarks/bookmark_bar_gtk_unittest.cc', 2007 'browser/ui/gtk/bookmarks/bookmark_bar_gtk_unittest.cc',
2008 'browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc', 2008 'browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc',
2009 'browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc', 2009 'browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc',
2010 'browser/ui/gtk/gtk_expanded_container_unittest.cc', 2010 'browser/ui/gtk/gtk_expanded_container_unittest.cc',
2011 'browser/ui/gtk/gtk_theme_service_unittest.cc', 2011 'browser/ui/gtk/gtk_theme_service_unittest.cc',
2012 'browser/ui/gtk/options/cookies_view_unittest.cc', 2012 'browser/ui/gtk/options/cookies_view_unittest.cc',
2013 'browser/ui/gtk/options/languages_page_gtk_unittest.cc', 2013 'browser/ui/gtk/options/languages_page_gtk_unittest.cc',
2014 'browser/ui/gtk/reload_button_gtk_unittest.cc', 2014 'browser/ui/gtk/reload_button_gtk_unittest.cc',
2015 'browser/ui/gtk/status_icons/status_tray_gtk_unittest.cc', 2015 'browser/ui/gtk/status_icons/status_tray_gtk_unittest.cc',
2016 ], 2016 ],
2017 }], 2017 }],
2018 ], 2018 ],
2019 'dependencies': [ 2019 'dependencies': [
2020 '../build/linux/system.gyp:gtk', 2020 '../build/linux/system.gyp:gtk',
2021 '../build/linux/system.gyp:nss', 2021 '../build/linux/system.gyp:nss',
2022 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 2022 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2023 ], 2023 ],
2024 'sources!': [ 2024 'sources!': [
2025 'browser/printing/print_job_unittest.cc', 2025 'browser/printing/print_job_unittest.cc',
2026 ], 2026 ],
2027 }, { # else: OS != "linux" 2027 }, { # else: toolkit_uses_gtk != 1
2028 'sources!': [ 2028 'sources!': [
2029 'browser/ui/gtk/tabs/tab_renderer_gtk_unittest.cc', 2029 'browser/ui/gtk/tabs/tab_renderer_gtk_unittest.cc',
2030 'browser/renderer_host/gtk_key_bindings_handler_unittest.cc', 2030 'browser/renderer_host/gtk_key_bindings_handler_unittest.cc',
2031 '../views/focus/accelerator_handler_gtk_unittest.cc', 2031 '../views/focus/accelerator_handler_gtk_unittest.cc',
2032 ], 2032 ],
2033 }], 2033 }],
2034 ['OS=="linux" or OS=="freebsd"', { 2034 ['os_posix == 1 and OS != "mac"', {
2035 'conditions': [ 2035 'conditions': [
2036 ['linux_use_tcmalloc==1', { 2036 ['linux_use_tcmalloc==1', {
2037 'dependencies': [ 2037 'dependencies': [
2038 '../base/allocator/allocator.gyp:allocator', 2038 '../base/allocator/allocator.gyp:allocator',
2039 ], 2039 ],
2040 }], 2040 }],
2041 ], 2041 ],
2042 }], 2042 }],
2043 ['OS=="mac"', { 2043 ['OS=="mac"', {
2044 # The test fetches resources which means Mac need the app bundle to 2044 # The test fetches resources which means Mac need the app bundle to
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
2541 'app/chrome_command_ids.h', 2541 'app/chrome_command_ids.h',
2542 'app/chrome_dll.rc', 2542 'app/chrome_dll.rc',
2543 'app/chrome_dll_resource.h', 2543 'app/chrome_dll_resource.h',
2544 'app/chrome_dll_version.rc.version', 2544 'app/chrome_dll_version.rc.version',
2545 'browser/extensions/extension_rlz_apitest.cc', 2545 'browser/extensions/extension_rlz_apitest.cc',
2546 # http://crbug.com/15101 These tests fail on Linux and Mac. 2546 # http://crbug.com/15101 These tests fail on Linux and Mac.
2547 'browser/renderer_host/web_cache_manager_browsertest.cc', 2547 'browser/renderer_host/web_cache_manager_browsertest.cc',
2548 '../content/browser/child_process_security_policy_browsertest.cc', 2548 '../content/browser/child_process_security_policy_browsertest.cc',
2549 ], 2549 ],
2550 }], 2550 }],
2551 ['OS=="linux"', { 2551 ['toolkit_uses_gtk == 1', {
2552 'dependencies': [ 2552 'dependencies': [
2553 '../build/linux/system.gyp:gtk', 2553 '../build/linux/system.gyp:gtk',
2554 '../build/linux/system.gyp:nss', 2554 '../build/linux/system.gyp:nss',
2555 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 2555 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2556 ], 2556 ],
2557 'sources': [ 2557 'sources': [
2558 # TODO(estade): port to win/mac. 2558 # TODO(estade): port to win/mac.
2559 'browser/ui/webui/constrained_html_ui_browsertest.cc', 2559 'browser/ui/webui/constrained_html_ui_browsertest.cc',
2560 ], 2560 ],
2561 }], 2561 }],
(...skipping 17 matching lines...) Expand all
2579 ], 2579 ],
2580 'sources': [ 2580 'sources': [
2581 'browser/spellcheck_message_filter_browsertest.cc', 2581 'browser/spellcheck_message_filter_browsertest.cc',
2582 '../content/renderer/external_popup_menu_unittest.cc', 2582 '../content/renderer/external_popup_menu_unittest.cc',
2583 ], 2583 ],
2584 }, { # else: OS != "mac" 2584 }, { # else: OS != "mac"
2585 'sources!': [ 2585 'sources!': [
2586 'browser/extensions/browser_action_test_util_mac.mm', 2586 'browser/extensions/browser_action_test_util_mac.mm',
2587 ], 2587 ],
2588 }], 2588 }],
2589 ['OS=="linux" or OS=="freebsd"', { 2589 ['os_posix == 1 and OS != "mac"', {
2590 'conditions': [ 2590 'conditions': [
2591 ['linux_use_tcmalloc==1', { 2591 ['linux_use_tcmalloc==1', {
2592 'dependencies': [ 2592 'dependencies': [
2593 '../base/allocator/allocator.gyp:allocator', 2593 '../base/allocator/allocator.gyp:allocator',
2594 ], 2594 ],
2595 }], 2595 }],
2596 ], 2596 ],
2597 }], 2597 }],
2598 ['toolkit_views==1', { 2598 ['toolkit_views==1', {
2599 'dependencies': [ 2599 'dependencies': [
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
2712 'configurations': { 2712 'configurations': {
2713 'Release': { 2713 'Release': {
2714 'msvs_settings': { 2714 'msvs_settings': {
2715 'VCCLCompilerTool': { 2715 'VCCLCompilerTool': {
2716 'WholeProgramOptimization': 'false', 2716 'WholeProgramOptimization': 'false',
2717 }, 2717 },
2718 }, 2718 },
2719 }, 2719 },
2720 }, 2720 },
2721 },], 2721 },],
2722 ['OS=="linux"', { 2722 ['toolkit_uses_gtk == 1', {
2723 'dependencies': [ 2723 'dependencies': [
2724 '../build/linux/system.gyp:gtk', 2724 '../build/linux/system.gyp:gtk',
2725 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 2725 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2726 ], 2726 ],
2727 }], 2727 }],
2728 ['OS=="mac"', { 2728 ['OS=="mac"', {
2729 # See the comment in this section of the unit_tests target for an 2729 # See the comment in this section of the unit_tests target for an
2730 # explanation (crbug.com/43791 - libwebcore.a is too large to mmap). 2730 # explanation (crbug.com/43791 - libwebcore.a is too large to mmap).
2731 'dependencies+++': [ 2731 'dependencies+++': [
2732 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor e', 2732 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor e',
(...skipping 10 matching lines...) Expand all
2743 'configurations': { 2743 'configurations': {
2744 'Debug_Base': { 2744 'Debug_Base': {
2745 'msvs_settings': { 2745 'msvs_settings': {
2746 'VCLinkerTool': { 2746 'VCLinkerTool': {
2747 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', 2747 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
2748 }, 2748 },
2749 }, 2749 },
2750 }, 2750 },
2751 }, 2751 },
2752 },], 2752 },],
2753 ['OS=="linux" or OS=="freebsd"', { 2753 ['os_posix == 1 and OS != "mac"', {
2754 'conditions': [ 2754 'conditions': [
2755 ['linux_use_tcmalloc==1', { 2755 ['linux_use_tcmalloc==1', {
2756 'dependencies': [ 2756 'dependencies': [
2757 '../base/allocator/allocator.gyp:allocator', 2757 '../base/allocator/allocator.gyp:allocator',
2758 ], 2758 ],
2759 }], 2759 }],
2760 ], 2760 ],
2761 }], 2761 }],
2762 ['toolkit_views==1', { 2762 ['toolkit_views==1', {
2763 'dependencies': [ 2763 'dependencies': [
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
2814 'configurations': { 2814 'configurations': {
2815 'Debug': { 2815 'Debug': {
2816 'msvs_settings': { 2816 'msvs_settings': {
2817 'VCLinkerTool': { 2817 'VCLinkerTool': {
2818 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', 2818 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
2819 }, 2819 },
2820 }, 2820 },
2821 }, 2821 },
2822 }, 2822 },
2823 },], 2823 },],
2824 ['OS=="linux"', { 2824 ['toolkit_uses_gtk == 1', {
2825 'dependencies': [ 2825 'dependencies': [
2826 '../build/linux/system.gyp:gtk', 2826 '../build/linux/system.gyp:gtk',
2827 ], 2827 ],
2828 },], 2828 },],
2829 ], 2829 ],
2830 }, 2830 },
2831 { 2831 {
2832 'target_name': 'page_cycler_tests', 2832 'target_name': 'page_cycler_tests',
2833 'type': 'executable', 2833 'type': 'executable',
2834 'msvs_guid': 'C9E0BD1D-B175-4A91-8380-3FDC81FAB9D7', 2834 'msvs_guid': 'C9E0BD1D-B175-4A91-8380-3FDC81FAB9D7',
(...skipping 16 matching lines...) Expand all
2851 'configurations': { 2851 'configurations': {
2852 'Release': { 2852 'Release': {
2853 'msvs_settings': { 2853 'msvs_settings': {
2854 'VCCLCompilerTool': { 2854 'VCCLCompilerTool': {
2855 'WholeProgramOptimization': 'false', 2855 'WholeProgramOptimization': 'false',
2856 }, 2856 },
2857 }, 2857 },
2858 }, 2858 },
2859 }, 2859 },
2860 },], 2860 },],
2861 ['OS=="linux"', { 2861 ['toolkit_uses_gtk == 1', {
2862 'dependencies': [ 2862 'dependencies': [
2863 '../build/linux/system.gyp:gtk', 2863 '../build/linux/system.gyp:gtk',
2864 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 2864 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2865 ], 2865 ],
2866 }], 2866 }],
2867 ['toolkit_views==1', { 2867 ['toolkit_views==1', {
2868 'dependencies': [ 2868 'dependencies': [
2869 '../views/views.gyp:views', 2869 '../views/views.gyp:views',
2870 ], 2870 ],
2871 }], 2871 }],
(...skipping 17 matching lines...) Expand all
2889 '../skia/skia.gyp:skia', 2889 '../skia/skia.gyp:skia',
2890 '../testing/gtest.gyp:gtest', 2890 '../testing/gtest.gyp:gtest',
2891 ], 2891 ],
2892 'include_dirs': [ 2892 'include_dirs': [
2893 '..', 2893 '..',
2894 ], 2894 ],
2895 'sources': [ 2895 'sources': [
2896 'test/tab_switching/tab_switching_test.cc', 2896 'test/tab_switching/tab_switching_test.cc',
2897 ], 2897 ],
2898 'conditions': [ 2898 'conditions': [
2899 ['OS=="linux"', { 2899 ['toolkit_uses_gtk == 1', {
2900 'dependencies': [ 2900 'dependencies': [
2901 '../build/linux/system.gyp:gtk', 2901 '../build/linux/system.gyp:gtk',
2902 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 2902 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2903 ], 2903 ],
2904 }], 2904 }],
2905 ['OS=="win" and win_use_allocator_shim==1', { 2905 ['OS=="win" and win_use_allocator_shim==1', {
2906 'dependencies': [ 2906 'dependencies': [
2907 '<(allocator_target)', 2907 '<(allocator_target)',
2908 ], 2908 ],
2909 },], 2909 },],
(...skipping 14 matching lines...) Expand all
2924 '../skia/skia.gyp:skia', 2924 '../skia/skia.gyp:skia',
2925 '../testing/gtest.gyp:gtest', 2925 '../testing/gtest.gyp:gtest',
2926 ], 2926 ],
2927 'include_dirs': [ 2927 'include_dirs': [
2928 '..', 2928 '..',
2929 ], 2929 ],
2930 'sources': [ 2930 'sources': [
2931 'test/memory_test/memory_test.cc', 2931 'test/memory_test/memory_test.cc',
2932 ], 2932 ],
2933 'conditions': [ 2933 'conditions': [
2934 ['OS=="linux"', { 2934 ['toolkit_uses_gtk == 1', {
2935 'dependencies': [ 2935 'dependencies': [
2936 '../build/linux/system.gyp:gtk', 2936 '../build/linux/system.gyp:gtk',
2937 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 2937 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
2938 ], 2938 ],
2939 }], 2939 }],
2940 ], 2940 ],
2941 }, 2941 },
2942 { 2942 {
2943 'target_name': 'url_fetch_test', 2943 'target_name': 'url_fetch_test',
2944 'type': 'executable', 2944 'type': 'executable',
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
3090 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', 3090 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
3091 }, 3091 },
3092 }, 3092 },
3093 }, 3093 },
3094 }, 3094 },
3095 }, { # else: OS != "win" 3095 }, { # else: OS != "win"
3096 'sources!': [ 3096 'sources!': [
3097 'browser/sync/util/data_encryption_unittest.cc', 3097 'browser/sync/util/data_encryption_unittest.cc',
3098 ], 3098 ],
3099 }], 3099 }],
3100 ['OS=="linux"', { 3100 ['toolkit_uses_gtk == 1', {
3101 'dependencies': [ 3101 'dependencies': [
3102 '../build/linux/system.gyp:gtk', 3102 '../build/linux/system.gyp:gtk',
3103 '../build/linux/system.gyp:nss', 3103 '../build/linux/system.gyp:nss',
3104 'packed_resources' 3104 'packed_resources'
3105 ], 3105 ],
3106 }], 3106 }],
3107 ['OS=="mac"', { 3107 ['OS=="mac"', {
3108 # See the comment in this section of the unit_tests target for an 3108 # See the comment in this section of the unit_tests target for an
3109 # explanation (crbug.com/43791 - libwebcore.a is too large to mmap). 3109 # explanation (crbug.com/43791 - libwebcore.a is too large to mmap).
3110 'dependencies+++': [ 3110 'dependencies+++': [
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
3214 'test/live_sync/two_client_live_themes_sync_test.cc', 3214 'test/live_sync/two_client_live_themes_sync_test.cc',
3215 'test/live_sync/two_client_live_typed_urls_sync_test.cc', 3215 'test/live_sync/two_client_live_typed_urls_sync_test.cc',
3216 'test/test_notification_tracker.cc', 3216 'test/test_notification_tracker.cc',
3217 'test/test_notification_tracker.h', 3217 'test/test_notification_tracker.h',
3218 'test/ui_test_utils_linux.cc', 3218 'test/ui_test_utils_linux.cc',
3219 'test/ui_test_utils_mac.mm', 3219 'test/ui_test_utils_mac.mm',
3220 'test/ui_test_utils_win.cc', 3220 'test/ui_test_utils_win.cc',
3221 'test/data/resource.rc', 3221 'test/data/resource.rc',
3222 ], 3222 ],
3223 'conditions': [ 3223 'conditions': [
3224 ['OS=="linux"', { 3224 ['toolkit_uses_gtk == 1', {
3225 'dependencies': [ 3225 'dependencies': [
3226 '../build/linux/system.gyp:gtk', 3226 '../build/linux/system.gyp:gtk',
3227 '../build/linux/system.gyp:nss', 3227 '../build/linux/system.gyp:nss',
3228 ], 3228 ],
3229 }], 3229 }],
3230 ['OS=="mac"', { 3230 ['OS=="mac"', {
3231 # See the comment in this section of the unit_tests target for an 3231 # See the comment in this section of the unit_tests target for an
3232 # explanation (crbug.com/43791 - libwebcore.a is too large to mmap). 3232 # explanation (crbug.com/43791 - libwebcore.a is too large to mmap).
3233 'dependencies+++': [ 3233 'dependencies+++': [
3234 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor e', 3234 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor e',
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
3362 }], 3362 }],
3363 ['OS=="mac"', { 3363 ['OS=="mac"', {
3364 # See the comment in this section of the unit_tests target for an 3364 # See the comment in this section of the unit_tests target for an
3365 # explanation (crbug.com/43791 - libwebcore.a is too large to mmap). 3365 # explanation (crbug.com/43791 - libwebcore.a is too large to mmap).
3366 'dependencies+++': [ 3366 'dependencies+++': [
3367 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor e', 3367 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor e',
3368 ], 3368 ],
3369 # See comments about "xcode_settings" elsewhere in this file. 3369 # See comments about "xcode_settings" elsewhere in this file.
3370 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, 3370 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
3371 }], 3371 }],
3372 ['OS=="linux"', { 3372 ['toolkit_uses_gtk == 1', {
3373 'dependencies': [ 3373 'dependencies': [
3374 '../build/linux/system.gyp:gtk', 3374 '../build/linux/system.gyp:gtk',
3375 '../build/linux/system.gyp:nss', 3375 '../build/linux/system.gyp:nss',
3376 ], 3376 ],
3377 }], 3377 }],
3378 ['toolkit_views==1', { 3378 ['toolkit_views==1', {
3379 'dependencies': [ 3379 'dependencies': [
3380 '../views/views.gyp:views', 3380 '../views/views.gyp:views',
3381 ], 3381 ],
3382 }], 3382 }],
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
3497 '../webkit/support/webkit_support.gyp:glue', 3497 '../webkit/support/webkit_support.gyp:glue',
3498 ], 3498 ],
3499 'sources': [ 3499 'sources': [
3500 'browser/safe_browsing/filter_false_positive_perftest.cc', 3500 'browser/safe_browsing/filter_false_positive_perftest.cc',
3501 'browser/visitedlink/visitedlink_perftest.cc', 3501 'browser/visitedlink/visitedlink_perftest.cc',
3502 'common/json_value_serializer_perftest.cc', 3502 'common/json_value_serializer_perftest.cc',
3503 'test/perf/perftests.cc', 3503 'test/perf/perftests.cc',
3504 'test/perf/url_parse_perftest.cc', 3504 'test/perf/url_parse_perftest.cc',
3505 ], 3505 ],
3506 'conditions': [ 3506 'conditions': [
3507 ['OS=="linux"', { 3507 ['toolkit_uses_gtk == 1', {
3508 'dependencies': [ 3508 'dependencies': [
3509 '../build/linux/system.gyp:gtk', 3509 '../build/linux/system.gyp:gtk',
3510 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 3510 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
3511 ], 3511 ],
3512 'sources!': [ 3512 'sources!': [
3513 # TODO(port): 3513 # TODO(port):
3514 'browser/safe_browsing/filter_false_positive_perftest.cc', 3514 'browser/safe_browsing/filter_false_positive_perftest.cc',
3515 ], 3515 ],
3516 }], 3516 }],
3517 ['OS=="win"', { 3517 ['OS=="win"', {
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
3653 'dependencies': [ 3653 'dependencies': [
3654 '<(allocator_target)', 3654 '<(allocator_target)',
3655 ], 3655 ],
3656 },], 3656 },],
3657 ], 3657 ],
3658 }, 3658 },
3659 ]}, # 'targets' 3659 ]}, # 'targets'
3660 ], # OS=="win" 3660 ], # OS=="win"
3661 # If you change this condition, make sure you also change it in all.gyp 3661 # If you change this condition, make sure you also change it in all.gyp
3662 # for the chromium_builder_qa target. 3662 # for the chromium_builder_qa target.
3663 ['OS=="mac" or OS=="win" or (OS=="linux" and target_arch==python_arch)', { 3663 ['OS == "mac" or OS == "win" or (os_posix == 1 and target_arch == python_arc h)', {
3664 'targets': [ 3664 'targets': [
3665 { 3665 {
3666 # Documentation: http://dev.chromium.org/developers/testing/pyauto 3666 # Documentation: http://dev.chromium.org/developers/testing/pyauto
3667 'target_name': 'pyautolib', 3667 'target_name': 'pyautolib',
3668 'type': 'shared_library', 3668 'type': 'shared_library',
3669 'product_prefix': '_', 3669 'product_prefix': '_',
3670 'dependencies': [ 3670 'dependencies': [
3671 'chrome', 3671 'chrome',
3672 'debugger', 3672 'debugger',
3673 'syncapi', 3673 'syncapi',
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
3705 # that xcode would generate) 3705 # that xcode would generate)
3706 # Change when gyp can support a platform-neutral way for this 3706 # Change when gyp can support a platform-neutral way for this
3707 # (http://code.google.com/p/gyp/issues/detail?id=135) 3707 # (http://code.google.com/p/gyp/issues/detail?id=135)
3708 'EXECUTABLE_EXTENSION': 'so', 3708 'EXECUTABLE_EXTENSION': 'so',
3709 # When generated, pyautolib_wrap.cc includes some swig support 3709 # When generated, pyautolib_wrap.cc includes some swig support
3710 # files which, as of swig 1.3.31 that comes with 10.5 and 10.6, 3710 # files which, as of swig 1.3.31 that comes with 10.5 and 10.6,
3711 # may not compile cleanly at -Wall. 3711 # may not compile cleanly at -Wall.
3712 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Wno-error 3712 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Wno-error
3713 }, 3713 },
3714 'conditions': [ 3714 'conditions': [
3715 ['OS=="linux"', { 3715 ['os_posix == 1 and OS!=="mac"', {
tony 2011/05/19 17:03:37 The trybots were complaining about this !==. I've
3716 'include_dirs': [ 3716 'include_dirs': [
3717 '..', 3717 '..',
3718 '<(sysroot)/usr/include/python<(python_ver)', 3718 '<(sysroot)/usr/include/python<(python_ver)',
3719 ], 3719 ],
3720 'dependencies': [ 3720 'dependencies': [
3721 '../build/linux/system.gyp:gtk', 3721 '../build/linux/system.gyp:gtk',
3722 ], 3722 ],
3723 'link_settings': { 3723 'link_settings': {
3724 'libraries': [ 3724 'libraries': [
3725 '-lpython<(python_ver)', 3725 '-lpython<(python_ver)',
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
3980 ] 3980 ]
3981 }], # 'coverage!=0' 3981 }], # 'coverage!=0'
3982 ], # 'conditions' 3982 ], # 'conditions'
3983 } 3983 }
3984 3984
3985 # Local Variables: 3985 # Local Variables:
3986 # tab-width:2 3986 # tab-width:2
3987 # indent-tabs-mode:nil 3987 # indent-tabs-mode:nil
3988 # End: 3988 # End:
3989 # vim: set expandtab tabstop=2 shiftwidth=2: 3989 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « chrome/chrome_renderer.gypi ('k') | chrome/common_constants.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698