OLD | NEW |
---|---|
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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
188 '../content/browser/renderer_host/test_render_view_host.cc', | 188 '../content/browser/renderer_host/test_render_view_host.cc', |
189 '../content/browser/renderer_host/test_render_view_host.h', | 189 '../content/browser/renderer_host/test_render_view_host.h', |
190 '../content/browser/tab_contents/test_tab_contents.cc', | 190 '../content/browser/tab_contents/test_tab_contents.cc', |
191 '../content/browser/tab_contents/test_tab_contents.h', | 191 '../content/browser/tab_contents/test_tab_contents.h', |
192 '../content/common/notification_observer_mock.cc', | 192 '../content/common/notification_observer_mock.cc', |
193 '../content/common/notification_observer_mock.h', | 193 '../content/common/notification_observer_mock.h', |
194 '../ui/gfx/image_unittest_util.h', | 194 '../ui/gfx/image_unittest_util.h', |
195 '../ui/gfx/image_unittest_util.cc', | 195 '../ui/gfx/image_unittest_util.cc', |
196 ], | 196 ], |
197 'conditions': [ | 197 'conditions': [ |
198 ['OS=="linux"', { | 198 ['toolkit_uses_gtk==1', { |
199 'dependencies': [ | 199 'dependencies': [ |
200 '../build/linux/system.gyp:gtk', | 200 '../build/linux/system.gyp:gtk', |
201 '../build/linux/system.gyp:nss', | 201 '../build/linux/system.gyp:nss', |
202 ], | 202 ], |
203 }], | 203 }], |
204 ['OS=="win"', { | 204 ['OS=="win"', { |
205 'include_dirs': [ | 205 'include_dirs': [ |
206 '<(DEPTH)/third_party/wtl/include', | 206 '<(DEPTH)/third_party/wtl/include', |
207 ], | 207 ], |
208 }], | 208 }], |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
243 'test/ui/ui_test.h', | 243 'test/ui/ui_test.h', |
244 'test/ui/ui_test_suite.cc', | 244 'test/ui/ui_test_suite.cc', |
245 'test/ui/ui_test_suite.h', | 245 'test/ui/ui_test_suite.h', |
246 ], | 246 ], |
247 'conditions': [ | 247 'conditions': [ |
248 ['OS=="win"', { | 248 ['OS=="win"', { |
249 'dependencies': [ | 249 'dependencies': [ |
250 'chrome.gyp:crash_service', # run time dependency | 250 'chrome.gyp:crash_service', # run time dependency |
251 ], | 251 ], |
252 }], | 252 }], |
253 ['OS=="linux"', { | 253 ['toolkit_uses_gtk==1', { |
254 'dependencies': [ | 254 'dependencies': [ |
255 '../build/linux/system.gyp:gtk', | 255 '../build/linux/system.gyp:gtk', |
256 ], | 256 ], |
257 }], | 257 }], |
258 ], | 258 ], |
259 }, | 259 }, |
260 { | 260 { |
261 'target_name': 'test_support_sync', | 261 'target_name': 'test_support_sync', |
262 'type': '<(library)', | 262 'type': '<(library)', |
263 'dependencies': [ | 263 'dependencies': [ |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
328 '../skia/skia.gyp:skia', | 328 '../skia/skia.gyp:skia', |
329 '../testing/gtest.gyp:gtest', | 329 '../testing/gtest.gyp:gtest', |
330 ], | 330 ], |
331 'include_dirs': [ | 331 'include_dirs': [ |
332 '..', | 332 '..', |
333 ], | 333 ], |
334 'sources': [ | 334 'sources': [ |
335 'test/unit/run_all_unittests.cc', | 335 'test/unit/run_all_unittests.cc', |
336 ], | 336 ], |
337 'conditions': [ | 337 'conditions': [ |
338 ['OS=="linux"', { | 338 ['toolkit_uses_gtk==1', { |
339 'dependencies': [ | 339 'dependencies': [ |
340 # Needed for the following #include chain: | 340 # Needed for the following #include chain: |
341 # test/unit/run_all_unittests.cc | 341 # test/unit/run_all_unittests.cc |
342 # test/unit/chrome_test_suite.h | 342 # test/unit/chrome_test_suite.h |
343 # gtk/gtk.h | 343 # gtk/gtk.h |
344 '../build/linux/system.gyp:gtk', | 344 '../build/linux/system.gyp:gtk', |
345 ], | 345 ], |
346 }], | 346 }], |
347 ], | 347 ], |
348 }, | 348 }, |
(...skipping 26 matching lines...) Expand all Loading... | |
375 'configurations': { | 375 'configurations': { |
376 'Release': { | 376 'Release': { |
377 'msvs_settings': { | 377 'msvs_settings': { |
378 'VCCLCompilerTool': { | 378 'VCCLCompilerTool': { |
379 'WholeProgramOptimization': 'false', | 379 'WholeProgramOptimization': 'false', |
380 }, | 380 }, |
381 }, | 381 }, |
382 }, | 382 }, |
383 }, | 383 }, |
384 },], | 384 },], |
385 ['OS=="linux"', { | 385 ['use_x11==1', { |
386 'dependencies': [ | 386 'dependencies': [ |
387 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 387 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
388 ], | 388 ], |
389 }], | 389 }], |
390 ['OS=="win"', { | 390 ['OS=="win"', { |
391 'include_dirs': [ | 391 'include_dirs': [ |
392 '<(DEPTH)/third_party/wtl/include', | 392 '<(DEPTH)/third_party/wtl/include', |
393 ], | 393 ], |
394 'conditions': [ | 394 'conditions': [ |
395 ['win_use_allocator_shim==1', { | 395 ['win_use_allocator_shim==1', { |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
448 'test/interactive_ui/infobars_uitest.cc', | 448 'test/interactive_ui/infobars_uitest.cc', |
449 'test/interactive_ui/keyboard_access_uitest.cc', | 449 'test/interactive_ui/keyboard_access_uitest.cc', |
450 'test/interactive_ui/mouseleave_interactive_uitest.cc', | 450 'test/interactive_ui/mouseleave_interactive_uitest.cc', |
451 'test/interactive_ui/npapi_interactive_test.cc', | 451 'test/interactive_ui/npapi_interactive_test.cc', |
452 'test/interactive_ui/view_event_test_base.cc', | 452 'test/interactive_ui/view_event_test_base.cc', |
453 'test/interactive_ui/view_event_test_base.h', | 453 'test/interactive_ui/view_event_test_base.h', |
454 'test/out_of_proc_test_runner.cc', | 454 'test/out_of_proc_test_runner.cc', |
455 'test/unit/chrome_test_suite.h', | 455 'test/unit/chrome_test_suite.h', |
456 ], | 456 ], |
457 'conditions': [ | 457 'conditions': [ |
458 ['OS=="linux"', { | 458 ['toolkit_uses_gtk==1', { |
459 'dependencies': [ | 459 'dependencies': [ |
460 '../build/linux/system.gyp:gtk', | 460 '../build/linux/system.gyp:gtk', |
461 '../build/linux/system.gyp:nss', | 461 '../build/linux/system.gyp:nss', |
462 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 462 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
463 ], | 463 ], |
464 }], | 464 }], |
465 ['OS=="linux" and toolkit_views==0', { | 465 ['toolkit_uses_gtk==1 and toolkit_views==0', { |
466 'sources!': [ | 466 'sources!': [ |
467 # TODO(port) | 467 # TODO(port) |
468 'browser/ui/views/bookmarks/bookmark_bar_view_test.cc', | 468 'browser/ui/views/bookmarks/bookmark_bar_view_test.cc', |
469 'browser/ui/views/find_bar_host_interactive_uitest.cc', | 469 'browser/ui/views/find_bar_host_interactive_uitest.cc', |
470 'browser/ui/views/tabs/tab_dragging_test.cc', | 470 'browser/ui/views/tabs/tab_dragging_test.cc', |
471 'browser/ui/views/tabs/tab_strip_interactive_uitest.cc', | 471 'browser/ui/views/tabs/tab_strip_interactive_uitest.cc', |
472 'test/interactive_ui/npapi_interactive_test.cc', | 472 'test/interactive_ui/npapi_interactive_test.cc', |
473 'test/interactive_ui/view_event_test_base.cc', | 473 'test/interactive_ui/view_event_test_base.cc', |
474 'test/interactive_ui/view_event_test_base.h', | 474 'test/interactive_ui/view_event_test_base.h', |
475 ], | 475 ], |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
657 '../content/browser/in_process_webkit/dom_storage_uitest.cc', | 657 '../content/browser/in_process_webkit/dom_storage_uitest.cc', |
658 '../content/browser/renderer_host/resource_dispatcher_host_uitest.cc', | 658 '../content/browser/renderer_host/resource_dispatcher_host_uitest.cc', |
659 '../content/worker/worker_uitest.cc', | 659 '../content/worker/worker_uitest.cc', |
660 ], | 660 ], |
661 'conditions': [ | 661 'conditions': [ |
662 ['target_arch!="arm"', { | 662 ['target_arch!="arm"', { |
663 'dependencies': [ | 663 'dependencies': [ |
664 '../webkit/webkit.gyp:copy_npapi_test_plugin', | 664 '../webkit/webkit.gyp:copy_npapi_test_plugin', |
665 ], | 665 ], |
666 }], | 666 }], |
667 ['OS=="linux"', { | 667 ['toolkit_uses_gtk==1', { |
668 'dependencies': [ | 668 'dependencies': [ |
669 '../build/linux/system.gyp:gtk', | 669 '../build/linux/system.gyp:gtk', |
670 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 670 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
671 ], | 671 ], |
672 }, { # else: OS != "linux" | 672 }, { # else: toolkit_uses_gtk != 1 |
673 'sources!': [ | 673 'sources!': [ |
674 'browser/process_singleton_linux_uitest.cc', | 674 'browser/process_singleton_linux_uitest.cc', |
675 ], | 675 ], |
676 }], | 676 }], |
677 ['toolkit_views==1', { | 677 ['toolkit_views==1', { |
678 'dependencies': [ | 678 'dependencies': [ |
679 '../views/views.gyp:views', | 679 '../views/views.gyp:views', |
680 ], | 680 ], |
681 }], | 681 }], |
682 ['OS=="mac"', { | 682 ['OS=="mac"', { |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
723 'sources!': [ | 723 'sources!': [ |
724 # TODO(dtu): port to windows http://crosbug.com/8515 | 724 # TODO(dtu): port to windows http://crosbug.com/8515 |
725 'test/ui/named_interface_uitest.cc', | 725 'test/ui/named_interface_uitest.cc', |
726 ], | 726 ], |
727 }, { # else: OS != "win" | 727 }, { # else: OS != "win" |
728 'sources!': [ | 728 'sources!': [ |
729 # TODO(port): http://crbug.com/45770 | 729 # TODO(port): http://crbug.com/45770 |
730 'browser/printing/printing_layout_uitest.cc', | 730 'browser/printing/printing_layout_uitest.cc', |
731 ], | 731 ], |
732 }], | 732 }], |
733 ['OS=="linux" or OS=="freebsd"', { | 733 ['os_posix==1 and OS!="mac"', { |
734 'conditions': [ | 734 'conditions': [ |
735 ['linux_use_tcmalloc==1', { | 735 ['linux_use_tcmalloc==1', { |
736 'dependencies': [ | 736 'dependencies': [ |
737 '../base/allocator/allocator.gyp:allocator', | 737 '../base/allocator/allocator.gyp:allocator', |
738 ], | 738 ], |
739 }], | 739 }], |
740 ], | 740 ], |
741 }], | 741 }], |
742 ['chromeos==1', { | 742 ['chromeos==1', { |
743 'sources!': [ | 743 'sources!': [ |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
839 'test/webdriver/commands/title_command.h', | 839 'test/webdriver/commands/title_command.h', |
840 'test/webdriver/commands/title_command.cc', | 840 'test/webdriver/commands/title_command.cc', |
841 'test/webdriver/commands/url_command.h', | 841 'test/webdriver/commands/url_command.h', |
842 'test/webdriver/commands/url_command.cc', | 842 'test/webdriver/commands/url_command.cc', |
843 'test/webdriver/commands/webdriver_command.h', | 843 'test/webdriver/commands/webdriver_command.h', |
844 'test/webdriver/commands/webdriver_command.cc', | 844 'test/webdriver/commands/webdriver_command.cc', |
845 'test/webdriver/commands/webelement_commands.h', | 845 'test/webdriver/commands/webelement_commands.h', |
846 'test/webdriver/commands/webelement_commands.cc', | 846 'test/webdriver/commands/webelement_commands.cc', |
847 ], | 847 ], |
848 'conditions': [ | 848 'conditions': [ |
849 ['OS=="linux"', { | 849 ['toolkit_uses_gtk==1', { |
850 'dependencies': [ | 850 'dependencies': [ |
851 '../build/linux/system.gyp:gtk', | 851 '../build/linux/system.gyp:gtk', |
852 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 852 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
853 ], | 853 ], |
854 }], | 854 }], |
855 ['OS=="linux" and toolkit_views==1', { | 855 ['OS=="linux" and toolkit_views==1', { |
856 'dependencies': [ | 856 'dependencies': [ |
857 '../views/views.gyp:views', | 857 '../views/views.gyp:views', |
858 ], | 858 ], |
859 }], | 859 }], |
860 ['OS=="linux" or OS=="freebsd"', { | 860 ['os_posix==1 and OS!="mac"', { |
861 'conditions': [ | 861 'conditions': [ |
862 ['linux_use_tcmalloc==1', { | 862 ['linux_use_tcmalloc==1', { |
863 'dependencies': [ | 863 'dependencies': [ |
864 '../base/allocator/allocator.gyp:allocator', | 864 '../base/allocator/allocator.gyp:allocator', |
865 ], | 865 ], |
866 }], | 866 }], |
867 ], | 867 ], |
868 }], | 868 }], |
869 ], | 869 ], |
870 }, | 870 }, |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
999 ['OS=="win"', { | 999 ['OS=="win"', { |
1000 'sources': [ | 1000 'sources': [ |
1001 '../sandbox/tests/validation_tests/commands.cc', | 1001 '../sandbox/tests/validation_tests/commands.cc', |
1002 '../sandbox/tests/validation_tests/commands.h', | 1002 '../sandbox/tests/validation_tests/commands.h', |
1003 '../sandbox/tests/common/controller.h', | 1003 '../sandbox/tests/common/controller.h', |
1004 'test/nacl_security_tests/nacl_security_tests_win.h', | 1004 'test/nacl_security_tests/nacl_security_tests_win.h', |
1005 'test/nacl_security_tests/nacl_security_tests_win.cc', | 1005 'test/nacl_security_tests/nacl_security_tests_win.cc', |
1006 ], | 1006 ], |
1007 },], | 1007 },], |
1008 # Set fPIC in case it isn't set. | 1008 # Set fPIC in case it isn't set. |
1009 ['(OS=="linux" or OS=="openbsd" or OS=="freebsd" or OS=="solaris")' | 1009 ['os_posix==1 and OS!="mac"' |
1010 'and (target_arch=="x64" or target_arch=="arm") and linux_fpic!=1', { | 1010 'and (target_arch=="x64" or target_arch=="arm") and linux_fpic!=1', { |
1011 'cflags': ['-fPIC'], | 1011 'cflags': ['-fPIC'], |
1012 },], | 1012 },], |
1013 ], | 1013 ], |
1014 }, | 1014 }, |
1015 { | 1015 { |
1016 'target_name': 'nacl_sandbox_tests', | 1016 'target_name': 'nacl_sandbox_tests', |
1017 'type': 'executable', | 1017 'type': 'executable', |
1018 'msvs_guid': '3087FC25-2C24-44B2-8253-44065EB47ACD', | 1018 'msvs_guid': '3087FC25-2C24-44B2-8253-44065EB47ACD', |
1019 'dependencies': [ | 1019 'dependencies': [ |
(...skipping 938 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1958 ['exclude', 'browser/ui/webui/print_preview_ui_html_source_unittest. cc'], | 1958 ['exclude', 'browser/ui/webui/print_preview_ui_html_source_unittest. cc'], |
1959 ], | 1959 ], |
1960 }, { # else: chromeos == 0 | 1960 }, { # else: chromeos == 0 |
1961 'sources/': [ | 1961 'sources/': [ |
1962 ['exclude', '^browser/chromeos/'], | 1962 ['exclude', '^browser/chromeos/'], |
1963 ['exclude', '^browser/policy/device_policy_cache_unittest.cc'], | 1963 ['exclude', '^browser/policy/device_policy_cache_unittest.cc'], |
1964 ['exclude', '^browser/policy/enterprise_install_attributes_unittest. cc' ], | 1964 ['exclude', '^browser/policy/enterprise_install_attributes_unittest. cc' ], |
1965 ['exclude', '^browser/ui/webui/chromeos/login'], | 1965 ['exclude', '^browser/ui/webui/chromeos/login'], |
1966 ], | 1966 ], |
1967 }], | 1967 }], |
1968 ['OS=="linux"', { | 1968 ['toolkit_uses_gtk==1', { |
1969 'conditions': [ | 1969 'conditions': [ |
1970 ['selinux==0', { | 1970 ['selinux==0', { |
1971 'dependencies': [ | 1971 'dependencies': [ |
1972 '../sandbox/sandbox.gyp:*', | 1972 '../sandbox/sandbox.gyp:*', |
1973 ], | 1973 ], |
1974 }], | 1974 }], |
1975 ['toolkit_views==1', { | 1975 ['toolkit_views==1', { |
1976 'sources!': [ | 1976 'sources!': [ |
1977 'browser/autocomplete/autocomplete_popup_view_gtk_unittest.cc', | 1977 'browser/autocomplete/autocomplete_popup_view_gtk_unittest.cc', |
1978 'browser/ui/gtk/bookmarks/bookmark_bar_gtk_unittest.cc', | 1978 'browser/ui/gtk/bookmarks/bookmark_bar_gtk_unittest.cc', |
1979 'browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc', | 1979 'browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc', |
1980 'browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc', | 1980 'browser/ui/gtk/gtk_chrome_shrinkable_hbox_unittest.cc', |
1981 'browser/ui/gtk/gtk_expanded_container_unittest.cc', | 1981 'browser/ui/gtk/gtk_expanded_container_unittest.cc', |
1982 'browser/ui/gtk/gtk_theme_service_unittest.cc', | 1982 'browser/ui/gtk/gtk_theme_service_unittest.cc', |
1983 'browser/ui/gtk/options/cookies_view_unittest.cc', | 1983 'browser/ui/gtk/options/cookies_view_unittest.cc', |
1984 'browser/ui/gtk/options/languages_page_gtk_unittest.cc', | 1984 'browser/ui/gtk/options/languages_page_gtk_unittest.cc', |
1985 'browser/ui/gtk/reload_button_gtk_unittest.cc', | 1985 'browser/ui/gtk/reload_button_gtk_unittest.cc', |
1986 'browser/ui/gtk/status_icons/status_tray_gtk_unittest.cc', | 1986 'browser/ui/gtk/status_icons/status_tray_gtk_unittest.cc', |
1987 ], | 1987 ], |
1988 }], | 1988 }], |
1989 ], | 1989 ], |
1990 'dependencies': [ | 1990 'dependencies': [ |
1991 '../build/linux/system.gyp:gtk', | 1991 '../build/linux/system.gyp:gtk', |
1992 '../build/linux/system.gyp:nss', | 1992 '../build/linux/system.gyp:nss', |
1993 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 1993 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
1994 ], | 1994 ], |
1995 'sources!': [ | 1995 'sources!': [ |
1996 'browser/printing/print_job_unittest.cc', | 1996 'browser/printing/print_job_unittest.cc', |
1997 ], | 1997 ], |
1998 }, { # else: OS != "linux" | 1998 }, { # else: toolkit_uses_gtk != 1 |
1999 'sources!': [ | 1999 'sources!': [ |
2000 'browser/ui/gtk/tabs/tab_renderer_gtk_unittest.cc', | 2000 'browser/ui/gtk/tabs/tab_renderer_gtk_unittest.cc', |
2001 'browser/renderer_host/gtk_key_bindings_handler_unittest.cc', | 2001 'browser/renderer_host/gtk_key_bindings_handler_unittest.cc', |
2002 '../views/focus/accelerator_handler_gtk_unittest.cc', | 2002 '../views/focus/accelerator_handler_gtk_unittest.cc', |
2003 ], | 2003 ], |
2004 }], | 2004 }], |
2005 ['OS=="linux" or OS=="freebsd"', { | 2005 ['os_posix==1 and OS!="mac"', { |
2006 'conditions': [ | 2006 'conditions': [ |
2007 ['linux_use_tcmalloc==1', { | 2007 ['linux_use_tcmalloc==1', { |
2008 'dependencies': [ | 2008 'dependencies': [ |
2009 '../base/allocator/allocator.gyp:allocator', | 2009 '../base/allocator/allocator.gyp:allocator', |
2010 ], | 2010 ], |
2011 }], | 2011 }], |
2012 ], | 2012 ], |
2013 }], | 2013 }], |
2014 ['OS=="mac"', { | 2014 ['OS=="mac"', { |
2015 # The test fetches resources which means Mac need the app bundle to | 2015 # The test fetches resources which means Mac need the app bundle to |
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2499 'app/chrome_command_ids.h', | 2499 'app/chrome_command_ids.h', |
2500 'app/chrome_dll.rc', | 2500 'app/chrome_dll.rc', |
2501 'app/chrome_dll_resource.h', | 2501 'app/chrome_dll_resource.h', |
2502 'app/chrome_dll_version.rc.version', | 2502 'app/chrome_dll_version.rc.version', |
2503 'browser/extensions/extension_rlz_apitest.cc', | 2503 'browser/extensions/extension_rlz_apitest.cc', |
2504 # http://crbug.com/15101 These tests fail on Linux and Mac. | 2504 # http://crbug.com/15101 These tests fail on Linux and Mac. |
2505 'browser/renderer_host/web_cache_manager_browsertest.cc', | 2505 'browser/renderer_host/web_cache_manager_browsertest.cc', |
2506 '../content/browser/child_process_security_policy_browsertest.cc', | 2506 '../content/browser/child_process_security_policy_browsertest.cc', |
2507 ], | 2507 ], |
2508 }], | 2508 }], |
2509 ['OS=="linux"', { | 2509 ['toolkit_uses_gtk==1', { |
2510 'dependencies': [ | 2510 'dependencies': [ |
2511 '../build/linux/system.gyp:gtk', | 2511 '../build/linux/system.gyp:gtk', |
2512 '../build/linux/system.gyp:nss', | 2512 '../build/linux/system.gyp:nss', |
2513 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 2513 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
2514 ], | 2514 ], |
2515 'sources': [ | 2515 'sources': [ |
2516 # TODO(estade): port to win/mac. | 2516 # TODO(estade): port to win/mac. |
2517 'browser/ui/webui/constrained_html_ui_browsertest.cc', | 2517 'browser/ui/webui/constrained_html_ui_browsertest.cc', |
2518 ], | 2518 ], |
2519 }], | 2519 }], |
(...skipping 17 matching lines...) Expand all Loading... | |
2537 ], | 2537 ], |
2538 'sources': [ | 2538 'sources': [ |
2539 'browser/spellcheck_message_filter_browsertest.cc', | 2539 'browser/spellcheck_message_filter_browsertest.cc', |
2540 '../content/renderer/external_popup_menu_unittest.cc', | 2540 '../content/renderer/external_popup_menu_unittest.cc', |
2541 ], | 2541 ], |
2542 }, { # else: OS != "mac" | 2542 }, { # else: OS != "mac" |
2543 'sources!': [ | 2543 'sources!': [ |
2544 'browser/extensions/browser_action_test_util_mac.mm', | 2544 'browser/extensions/browser_action_test_util_mac.mm', |
2545 ], | 2545 ], |
2546 }], | 2546 }], |
2547 ['OS=="linux" or OS=="freebsd"', { | 2547 ['os_posix==1 and OS!="mac"', { |
2548 'conditions': [ | 2548 'conditions': [ |
2549 ['linux_use_tcmalloc==1', { | 2549 ['linux_use_tcmalloc==1', { |
2550 'dependencies': [ | 2550 'dependencies': [ |
2551 '../base/allocator/allocator.gyp:allocator', | 2551 '../base/allocator/allocator.gyp:allocator', |
2552 ], | 2552 ], |
2553 }], | 2553 }], |
2554 ], | 2554 ], |
2555 }], | 2555 }], |
2556 ['toolkit_views==1', { | 2556 ['toolkit_views==1', { |
2557 'dependencies': [ | 2557 'dependencies': [ |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2670 'configurations': { | 2670 'configurations': { |
2671 'Release': { | 2671 'Release': { |
2672 'msvs_settings': { | 2672 'msvs_settings': { |
2673 'VCCLCompilerTool': { | 2673 'VCCLCompilerTool': { |
2674 'WholeProgramOptimization': 'false', | 2674 'WholeProgramOptimization': 'false', |
2675 }, | 2675 }, |
2676 }, | 2676 }, |
2677 }, | 2677 }, |
2678 }, | 2678 }, |
2679 },], | 2679 },], |
2680 ['OS=="linux"', { | 2680 ['toolkit_uses_gtk==1', { |
2681 'dependencies': [ | 2681 'dependencies': [ |
2682 '../build/linux/system.gyp:gtk', | 2682 '../build/linux/system.gyp:gtk', |
2683 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 2683 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
2684 ], | 2684 ], |
2685 }], | 2685 }], |
2686 ['OS=="mac"', { | 2686 ['OS=="mac"', { |
2687 # See the comment in this section of the unit_tests target for an | 2687 # See the comment in this section of the unit_tests target for an |
2688 # explanation (crbug.com/43791 - libwebcore.a is too large to mmap). | 2688 # explanation (crbug.com/43791 - libwebcore.a is too large to mmap). |
2689 'dependencies+++': [ | 2689 'dependencies+++': [ |
2690 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor e', | 2690 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor e', |
(...skipping 10 matching lines...) Expand all Loading... | |
2701 'configurations': { | 2701 'configurations': { |
2702 'Debug_Base': { | 2702 'Debug_Base': { |
2703 'msvs_settings': { | 2703 'msvs_settings': { |
2704 'VCLinkerTool': { | 2704 'VCLinkerTool': { |
2705 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', | 2705 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', |
2706 }, | 2706 }, |
2707 }, | 2707 }, |
2708 }, | 2708 }, |
2709 }, | 2709 }, |
2710 },], | 2710 },], |
2711 ['OS=="linux" or OS=="freebsd"', { | 2711 ['os_posix==1 and OS!="mac"', { |
2712 'conditions': [ | 2712 'conditions': [ |
2713 ['linux_use_tcmalloc==1', { | 2713 ['linux_use_tcmalloc==1', { |
2714 'dependencies': [ | 2714 'dependencies': [ |
2715 '../base/allocator/allocator.gyp:allocator', | 2715 '../base/allocator/allocator.gyp:allocator', |
2716 ], | 2716 ], |
2717 }], | 2717 }], |
2718 ], | 2718 ], |
2719 }], | 2719 }], |
2720 ['toolkit_views==1', { | 2720 ['toolkit_views==1', { |
2721 'dependencies': [ | 2721 'dependencies': [ |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2772 'configurations': { | 2772 'configurations': { |
2773 'Debug': { | 2773 'Debug': { |
2774 'msvs_settings': { | 2774 'msvs_settings': { |
2775 'VCLinkerTool': { | 2775 'VCLinkerTool': { |
2776 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', | 2776 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', |
2777 }, | 2777 }, |
2778 }, | 2778 }, |
2779 }, | 2779 }, |
2780 }, | 2780 }, |
2781 },], | 2781 },], |
2782 ['OS=="linux"', { | 2782 ['toolkit_uses_gtk==1', { |
2783 'dependencies': [ | 2783 'dependencies': [ |
2784 '../build/linux/system.gyp:gtk', | 2784 '../build/linux/system.gyp:gtk', |
2785 ], | 2785 ], |
2786 },], | 2786 },], |
2787 ], | 2787 ], |
2788 }, | 2788 }, |
2789 { | 2789 { |
2790 'target_name': 'page_cycler_tests', | 2790 'target_name': 'page_cycler_tests', |
2791 'type': 'executable', | 2791 'type': 'executable', |
2792 'msvs_guid': 'C9E0BD1D-B175-4A91-8380-3FDC81FAB9D7', | 2792 'msvs_guid': 'C9E0BD1D-B175-4A91-8380-3FDC81FAB9D7', |
(...skipping 16 matching lines...) Expand all Loading... | |
2809 'configurations': { | 2809 'configurations': { |
2810 'Release': { | 2810 'Release': { |
2811 'msvs_settings': { | 2811 'msvs_settings': { |
2812 'VCCLCompilerTool': { | 2812 'VCCLCompilerTool': { |
2813 'WholeProgramOptimization': 'false', | 2813 'WholeProgramOptimization': 'false', |
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 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 2822 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
2823 ], | 2823 ], |
2824 }], | 2824 }], |
2825 ['toolkit_views==1', { | 2825 ['toolkit_views==1', { |
2826 'dependencies': [ | 2826 'dependencies': [ |
2827 '../views/views.gyp:views', | 2827 '../views/views.gyp:views', |
2828 ], | 2828 ], |
2829 }], | 2829 }], |
(...skipping 17 matching lines...) Expand all Loading... | |
2847 '../skia/skia.gyp:skia', | 2847 '../skia/skia.gyp:skia', |
2848 '../testing/gtest.gyp:gtest', | 2848 '../testing/gtest.gyp:gtest', |
2849 ], | 2849 ], |
2850 'include_dirs': [ | 2850 'include_dirs': [ |
2851 '..', | 2851 '..', |
2852 ], | 2852 ], |
2853 'sources': [ | 2853 'sources': [ |
2854 'test/tab_switching/tab_switching_test.cc', | 2854 'test/tab_switching/tab_switching_test.cc', |
2855 ], | 2855 ], |
2856 'conditions': [ | 2856 'conditions': [ |
2857 ['OS=="linux"', { | 2857 ['toolkit_uses_gtk==1', { |
2858 'dependencies': [ | 2858 'dependencies': [ |
2859 '../build/linux/system.gyp:gtk', | 2859 '../build/linux/system.gyp:gtk', |
2860 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 2860 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
2861 ], | 2861 ], |
2862 }], | 2862 }], |
2863 ['OS=="win" and win_use_allocator_shim==1', { | 2863 ['OS=="win" and win_use_allocator_shim==1', { |
2864 'dependencies': [ | 2864 'dependencies': [ |
2865 '<(allocator_target)', | 2865 '<(allocator_target)', |
2866 ], | 2866 ], |
2867 },], | 2867 },], |
(...skipping 14 matching lines...) Expand all Loading... | |
2882 '../skia/skia.gyp:skia', | 2882 '../skia/skia.gyp:skia', |
2883 '../testing/gtest.gyp:gtest', | 2883 '../testing/gtest.gyp:gtest', |
2884 ], | 2884 ], |
2885 'include_dirs': [ | 2885 'include_dirs': [ |
2886 '..', | 2886 '..', |
2887 ], | 2887 ], |
2888 'sources': [ | 2888 'sources': [ |
2889 'test/memory_test/memory_test.cc', | 2889 'test/memory_test/memory_test.cc', |
2890 ], | 2890 ], |
2891 'conditions': [ | 2891 'conditions': [ |
2892 ['OS=="linux"', { | 2892 ['toolkit_uses_gtk==1', { |
2893 'dependencies': [ | 2893 'dependencies': [ |
2894 '../build/linux/system.gyp:gtk', | 2894 '../build/linux/system.gyp:gtk', |
2895 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 2895 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
2896 ], | 2896 ], |
2897 }], | 2897 }], |
2898 ], | 2898 ], |
2899 }, | 2899 }, |
2900 { | 2900 { |
2901 'target_name': 'url_fetch_test', | 2901 'target_name': 'url_fetch_test', |
2902 'type': 'executable', | 2902 'type': 'executable', |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3048 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', | 3048 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', |
3049 }, | 3049 }, |
3050 }, | 3050 }, |
3051 }, | 3051 }, |
3052 }, | 3052 }, |
3053 }, { # else: OS != "win" | 3053 }, { # else: OS != "win" |
3054 'sources!': [ | 3054 'sources!': [ |
3055 'browser/sync/util/data_encryption_unittest.cc', | 3055 'browser/sync/util/data_encryption_unittest.cc', |
3056 ], | 3056 ], |
3057 }], | 3057 }], |
3058 ['OS=="linux"', { | 3058 ['toolkit_uses_gtk==1', { |
3059 'dependencies': [ | 3059 'dependencies': [ |
3060 '../build/linux/system.gyp:gtk', | 3060 '../build/linux/system.gyp:gtk', |
3061 '../build/linux/system.gyp:nss', | 3061 '../build/linux/system.gyp:nss', |
3062 'packed_resources' | 3062 'packed_resources' |
3063 ], | 3063 ], |
3064 }], | 3064 }], |
3065 ['OS=="mac"', { | 3065 ['OS=="mac"', { |
3066 # See the comment in this section of the unit_tests target for an | 3066 # See the comment in this section of the unit_tests target for an |
3067 # explanation (crbug.com/43791 - libwebcore.a is too large to mmap). | 3067 # explanation (crbug.com/43791 - libwebcore.a is too large to mmap). |
3068 'dependencies+++': [ | 3068 'dependencies+++': [ |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3172 'test/live_sync/two_client_live_themes_sync_test.cc', | 3172 'test/live_sync/two_client_live_themes_sync_test.cc', |
3173 'test/live_sync/two_client_live_typed_urls_sync_test.cc', | 3173 'test/live_sync/two_client_live_typed_urls_sync_test.cc', |
3174 'test/test_notification_tracker.cc', | 3174 'test/test_notification_tracker.cc', |
3175 'test/test_notification_tracker.h', | 3175 'test/test_notification_tracker.h', |
3176 'test/ui_test_utils_linux.cc', | 3176 'test/ui_test_utils_linux.cc', |
3177 'test/ui_test_utils_mac.mm', | 3177 'test/ui_test_utils_mac.mm', |
3178 'test/ui_test_utils_win.cc', | 3178 'test/ui_test_utils_win.cc', |
3179 'test/data/resource.rc', | 3179 'test/data/resource.rc', |
3180 ], | 3180 ], |
3181 'conditions': [ | 3181 'conditions': [ |
3182 ['OS=="linux"', { | 3182 ['toolkit_uses_gtk==1', { |
3183 'dependencies': [ | 3183 'dependencies': [ |
3184 '../build/linux/system.gyp:gtk', | 3184 '../build/linux/system.gyp:gtk', |
3185 '../build/linux/system.gyp:nss', | 3185 '../build/linux/system.gyp:nss', |
3186 ], | 3186 ], |
3187 }], | 3187 }], |
3188 ['OS=="mac"', { | 3188 ['OS=="mac"', { |
3189 # See the comment in this section of the unit_tests target for an | 3189 # See the comment in this section of the unit_tests target for an |
3190 # explanation (crbug.com/43791 - libwebcore.a is too large to mmap). | 3190 # explanation (crbug.com/43791 - libwebcore.a is too large to mmap). |
3191 'dependencies+++': [ | 3191 'dependencies+++': [ |
3192 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor e', | 3192 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor e', |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3320 }], | 3320 }], |
3321 ['OS=="mac"', { | 3321 ['OS=="mac"', { |
3322 # See the comment in this section of the unit_tests target for an | 3322 # See the comment in this section of the unit_tests target for an |
3323 # explanation (crbug.com/43791 - libwebcore.a is too large to mmap). | 3323 # explanation (crbug.com/43791 - libwebcore.a is too large to mmap). |
3324 'dependencies+++': [ | 3324 'dependencies+++': [ |
3325 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor e', | 3325 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor e', |
3326 ], | 3326 ], |
3327 # See comments about "xcode_settings" elsewhere in this file. | 3327 # See comments about "xcode_settings" elsewhere in this file. |
3328 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, | 3328 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, |
3329 }], | 3329 }], |
3330 ['OS=="linux"', { | 3330 ['toolkit_uses_gtk==1', { |
3331 'dependencies': [ | 3331 'dependencies': [ |
3332 '../build/linux/system.gyp:gtk', | 3332 '../build/linux/system.gyp:gtk', |
3333 '../build/linux/system.gyp:nss', | 3333 '../build/linux/system.gyp:nss', |
3334 ], | 3334 ], |
3335 }], | 3335 }], |
3336 ['toolkit_views==1', { | 3336 ['toolkit_views==1', { |
3337 'dependencies': [ | 3337 'dependencies': [ |
3338 '../views/views.gyp:views', | 3338 '../views/views.gyp:views', |
3339 ], | 3339 ], |
3340 }], | 3340 }], |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3439 '../webkit/support/webkit_support.gyp:glue', | 3439 '../webkit/support/webkit_support.gyp:glue', |
3440 ], | 3440 ], |
3441 'sources': [ | 3441 'sources': [ |
3442 'browser/safe_browsing/filter_false_positive_perftest.cc', | 3442 'browser/safe_browsing/filter_false_positive_perftest.cc', |
3443 'browser/visitedlink/visitedlink_perftest.cc', | 3443 'browser/visitedlink/visitedlink_perftest.cc', |
3444 'common/json_value_serializer_perftest.cc', | 3444 'common/json_value_serializer_perftest.cc', |
3445 'test/perf/perftests.cc', | 3445 'test/perf/perftests.cc', |
3446 'test/perf/url_parse_perftest.cc', | 3446 'test/perf/url_parse_perftest.cc', |
3447 ], | 3447 ], |
3448 'conditions': [ | 3448 'conditions': [ |
3449 ['OS=="linux"', { | 3449 ['toolkit_uses_gtk==1', { |
3450 'dependencies': [ | 3450 'dependencies': [ |
3451 '../build/linux/system.gyp:gtk', | 3451 '../build/linux/system.gyp:gtk', |
3452 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 3452 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
3453 ], | 3453 ], |
3454 'sources!': [ | 3454 'sources!': [ |
3455 # TODO(port): | 3455 # TODO(port): |
3456 'browser/safe_browsing/filter_false_positive_perftest.cc', | 3456 'browser/safe_browsing/filter_false_positive_perftest.cc', |
3457 ], | 3457 ], |
3458 }], | 3458 }], |
3459 ['OS=="win"', { | 3459 ['OS=="win"', { |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3595 'dependencies': [ | 3595 'dependencies': [ |
3596 '<(allocator_target)', | 3596 '<(allocator_target)', |
3597 ], | 3597 ], |
3598 },], | 3598 },], |
3599 ], | 3599 ], |
3600 }, | 3600 }, |
3601 ]}, # 'targets' | 3601 ]}, # 'targets' |
3602 ], # OS=="win" | 3602 ], # OS=="win" |
3603 # If you change this condition, make sure you also change it in all.gyp | 3603 # If you change this condition, make sure you also change it in all.gyp |
3604 # for the chromium_builder_qa target. | 3604 # for the chromium_builder_qa target. |
3605 ['OS=="mac" or OS=="win" or (OS=="linux" and target_arch==python_arch)', { | 3605 ['OS=="mac" or OS=="win" or (os_posix==1 and target_arch==python_arch)', { |
3606 'targets': [ | 3606 'targets': [ |
3607 { | 3607 { |
3608 # Documentation: http://dev.chromium.org/developers/testing/pyauto | 3608 # Documentation: http://dev.chromium.org/developers/testing/pyauto |
3609 'target_name': 'pyautolib', | 3609 'target_name': 'pyautolib', |
3610 'type': 'shared_library', | 3610 'type': 'shared_library', |
3611 'product_prefix': '_', | 3611 'product_prefix': '_', |
3612 'dependencies': [ | 3612 'dependencies': [ |
3613 'chrome', | 3613 'chrome', |
3614 'debugger', | 3614 'debugger', |
3615 'syncapi', | 3615 'syncapi', |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3647 # that xcode would generate) | 3647 # that xcode would generate) |
3648 # Change when gyp can support a platform-neutral way for this | 3648 # Change when gyp can support a platform-neutral way for this |
3649 # (http://code.google.com/p/gyp/issues/detail?id=135) | 3649 # (http://code.google.com/p/gyp/issues/detail?id=135) |
3650 'EXECUTABLE_EXTENSION': 'so', | 3650 'EXECUTABLE_EXTENSION': 'so', |
3651 # When generated, pyautolib_wrap.cc includes some swig support | 3651 # When generated, pyautolib_wrap.cc includes some swig support |
3652 # files which, as of swig 1.3.31 that comes with 10.5 and 10.6, | 3652 # files which, as of swig 1.3.31 that comes with 10.5 and 10.6, |
3653 # may not compile cleanly at -Wall. | 3653 # may not compile cleanly at -Wall. |
3654 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Wno-error | 3654 'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO', # -Wno-error |
3655 }, | 3655 }, |
3656 'conditions': [ | 3656 'conditions': [ |
3657 ['OS=="linux"', { | 3657 ['toolkit_uses_gtk==1', { |
tony
2011/05/16 19:25:11
This also looks like os_posix==1 and OS!="mac".
| |
3658 'include_dirs': [ | 3658 'include_dirs': [ |
3659 '..', | 3659 '..', |
3660 '<(sysroot)/usr/include/python<(python_ver)', | 3660 '<(sysroot)/usr/include/python<(python_ver)', |
3661 ], | 3661 ], |
3662 'dependencies': [ | 3662 'dependencies': [ |
3663 '../build/linux/system.gyp:gtk', | 3663 '../build/linux/system.gyp:gtk', |
3664 ], | 3664 ], |
3665 'link_settings': { | 3665 'link_settings': { |
3666 'libraries': [ | 3666 'libraries': [ |
3667 '-lpython<(python_ver)', | 3667 '-lpython<(python_ver)', |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3922 ] | 3922 ] |
3923 }], # 'coverage!=0' | 3923 }], # 'coverage!=0' |
3924 ], # 'conditions' | 3924 ], # 'conditions' |
3925 } | 3925 } |
3926 | 3926 |
3927 # Local Variables: | 3927 # Local Variables: |
3928 # tab-width:2 | 3928 # tab-width:2 |
3929 # indent-tabs-mode:nil | 3929 # indent-tabs-mode:nil |
3930 # End: | 3930 # End: |
3931 # vim: set expandtab tabstop=2 shiftwidth=2: | 3931 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |