OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'variables' : { | 5 'variables' : { |
6 'pyautolib_sources': [ | 6 'pyautolib_sources': [ |
7 'app/chrome_command_ids.h', | 7 'app/chrome_command_ids.h', |
8 'app/chrome_dll_resource.h', | 8 'app/chrome_dll_resource.h', |
9 'common/automation_constants.h', | 9 'common/automation_constants.h', |
10 'common/pref_names.cc', | 10 'common/pref_names.cc', |
(...skipping 844 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
855 ['use_aura==1', { | 855 ['use_aura==1', { |
856 'sources!': [ | 856 'sources!': [ |
857 'test/automation/automation_proxy_uitest.cc', | 857 'test/automation/automation_proxy_uitest.cc', |
858 'test/ui/npapi_uitest.cc', | 858 'test/ui/npapi_uitest.cc', |
859 ], | 859 ], |
860 'dependencies': [ | 860 'dependencies': [ |
861 '../ui/aura/aura.gyp:aura', | 861 '../ui/aura/aura.gyp:aura', |
862 ], | 862 ], |
863 }], | 863 }], |
864 ['OS=="mac"', { | 864 ['OS=="mac"', { |
865 # See the comment in this section of the unit_tests target for an | |
866 # explanation (crbug.com/43791 - libwebcore.a is too large to mmap). | |
867 'dependencies+++': [ | |
868 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor
e', | |
869 ], | |
870 'sources!': [ | 865 'sources!': [ |
871 # ProcessSingletonMac doesn't do anything. | 866 # ProcessSingletonMac doesn't do anything. |
872 'browser/process_singleton_uitest.cc', | 867 'browser/process_singleton_uitest.cc', |
873 ], | 868 ], |
874 }], | 869 }], |
875 ['OS=="win"', { | 870 ['OS=="win"', { |
876 'include_dirs': [ | 871 'include_dirs': [ |
877 '<(DEPTH)/third_party/wtl/include', | 872 '<(DEPTH)/third_party/wtl/include', |
878 ], | 873 ], |
879 'dependencies': [ | 874 'dependencies': [ |
(...skipping 1426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2306 'browser/ui/tests/ui_gfx_image_unittest.cc', | 2301 'browser/ui/tests/ui_gfx_image_unittest.cc', |
2307 'browser/ui/gtk/reload_button_gtk_unittest.cc', | 2302 'browser/ui/gtk/reload_button_gtk_unittest.cc', |
2308 'browser/password_manager/password_store_default_unittest.cc', | 2303 'browser/password_manager/password_store_default_unittest.cc', |
2309 'tools/convert_dict/convert_dict_unittest.cc', | 2304 'tools/convert_dict/convert_dict_unittest.cc', |
2310 'renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc', | 2305 'renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc', |
2311 ], | 2306 ], |
2312 # TODO(mark): We really want this for all non-static library targets, | 2307 # TODO(mark): We really want this for all non-static library targets, |
2313 # but when we tried to pull it up to the common.gypi level, it broke | 2308 # but when we tried to pull it up to the common.gypi level, it broke |
2314 # other things like the ui, startup, and page_cycler tests. *shrug* | 2309 # other things like the ui, startup, and page_cycler tests. *shrug* |
2315 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, | 2310 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, |
2316 | |
2317 # libwebcore.a is so large that ld may not have a sufficiently large | |
2318 # "hole" in its address space into which it can be mmaped by the | |
2319 # time it reaches this library. As of May 10, 2010, libwebcore.a is | |
2320 # about 1GB in some builds. In the Mac OS X 10.5 toolchain, using | |
2321 # Xcode 3.1, ld is only a 32-bit executable, and address space | |
2322 # exhaustion is the result, with ld failing and producing | |
2323 # the message: | |
2324 # ld: in .../libwebcore.a, can't map file, errno=12 | |
2325 # | |
2326 # As a workaround, ensure that libwebcore.a appears to ld first when | |
2327 # linking unit_tests. This allows the library to be mmapped when | |
2328 # ld's address space is "wide open." Other libraries are small | |
2329 # enough that they'll be able to "squeeze" into the remaining holes. | |
2330 # The Mac linker isn't so sensitive that moving this library to the | |
2331 # front of the list will cause problems. | |
2332 # | |
2333 # Enough pluses to make get this target prepended to the target's | |
2334 # list of dependencies. | |
2335 'dependencies+++': [ | |
2336 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor
e', | |
2337 ], | |
2338 }, { # OS != "mac" | 2311 }, { # OS != "mac" |
2339 'dependencies': [ | 2312 'dependencies': [ |
2340 'chrome_resources.gyp:packed_extra_resources', | 2313 'chrome_resources.gyp:packed_extra_resources', |
2341 'chrome_resources.gyp:packed_resources', | 2314 'chrome_resources.gyp:packed_resources', |
2342 'convert_dict_lib', | 2315 'convert_dict_lib', |
2343 '../third_party/hunspell/hunspell.gyp:hunspell', | 2316 '../third_party/hunspell/hunspell.gyp:hunspell', |
2344 ], | 2317 ], |
2345 'sources!': [ | 2318 'sources!': [ |
2346 'browser/spellchecker/spellchecker_platform_engine_unittest.cc', | 2319 'browser/spellchecker/spellchecker_platform_engine_unittest.cc', |
2347 ], | 2320 ], |
(...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3140 ], | 3113 ], |
3141 # TODO(mark): We really want this for all non-static library | 3114 # TODO(mark): We really want this for all non-static library |
3142 # targets, but when we tried to pull it up to the common.gypi | 3115 # targets, but when we tried to pull it up to the common.gypi |
3143 # level, it broke other things like the ui, startup, and | 3116 # level, it broke other things like the ui, startup, and |
3144 # page_cycler tests. *shrug* | 3117 # page_cycler tests. *shrug* |
3145 'xcode_settings': { | 3118 'xcode_settings': { |
3146 'OTHER_LDFLAGS': [ | 3119 'OTHER_LDFLAGS': [ |
3147 '-Wl,-ObjC', | 3120 '-Wl,-ObjC', |
3148 ], | 3121 ], |
3149 }, | 3122 }, |
3150 # See the comment in this section of the unit_tests target for an | |
3151 # explanation (crbug.com/43791 - libwebcore.a is too large to mmap). | |
3152 'dependencies+++': [ | |
3153 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor
e', | |
3154 ], | |
3155 'sources': [ | 3123 'sources': [ |
3156 'browser/spellchecker/spellcheck_message_filter_mac_browsertest.cc', | 3124 'browser/spellchecker/spellcheck_message_filter_mac_browsertest.cc', |
3157 '../content/renderer/external_popup_menu_browsertest.cc', | 3125 '../content/renderer/external_popup_menu_browsertest.cc', |
3158 ], | 3126 ], |
3159 'sources!': [ | 3127 'sources!': [ |
3160 # TODO(hbono): This test depends on hunspell and we cannot run it on | 3128 # TODO(hbono): This test depends on hunspell and we cannot run it on |
3161 # Mac, which does not use hunspell by default. | 3129 # Mac, which does not use hunspell by default. |
3162 'browser/spellchecker/spellcheck_host_browsertest.cc', | 3130 'browser/spellchecker/spellcheck_host_browsertest.cc', |
3163 ], | 3131 ], |
3164 }, { # else: OS != "mac" | 3132 }, { # else: OS != "mac" |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3372 ], | 3340 ], |
3373 # TODO(mark): We really want this for all non-static library | 3341 # TODO(mark): We really want this for all non-static library |
3374 # targets, but when we tried to pull it up to the common.gypi | 3342 # targets, but when we tried to pull it up to the common.gypi |
3375 # level, it broke other things like the ui, startup, and | 3343 # level, it broke other things like the ui, startup, and |
3376 # page_cycler tests. *shrug* | 3344 # page_cycler tests. *shrug* |
3377 'xcode_settings': { | 3345 'xcode_settings': { |
3378 'OTHER_LDFLAGS': [ | 3346 'OTHER_LDFLAGS': [ |
3379 '-Wl,-ObjC', | 3347 '-Wl,-ObjC', |
3380 ], | 3348 ], |
3381 }, | 3349 }, |
3382 # See the comment in this section of the unit_tests target for an | |
3383 # explanation (crbug.com/43791 - libwebcore.a is too large to mmap). | |
3384 'dependencies+++': [ | |
3385 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor
e', | |
3386 ], | |
3387 }, { # else: OS != "mac" | 3350 }, { # else: OS != "mac" |
3388 'sources!': [ | 3351 'sources!': [ |
3389 'browser/extensions/browser_action_test_util_mac.mm', | 3352 'browser/extensions/browser_action_test_util_mac.mm', |
3390 ], | 3353 ], |
3391 }], | 3354 }], |
3392 ['os_posix == 1 and OS != "mac"', { | 3355 ['os_posix == 1 and OS != "mac"', { |
3393 'conditions': [ | 3356 'conditions': [ |
3394 ['linux_use_tcmalloc==1', { | 3357 ['linux_use_tcmalloc==1', { |
3395 'dependencies': [ | 3358 'dependencies': [ |
3396 '../base/allocator/allocator.gyp:allocator', | 3359 '../base/allocator/allocator.gyp:allocator', |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3461 'Debug_Base': { | 3424 'Debug_Base': { |
3462 'msvs_settings': { | 3425 'msvs_settings': { |
3463 'VCLinkerTool': { | 3426 'VCLinkerTool': { |
3464 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', | 3427 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', |
3465 }, | 3428 }, |
3466 }, | 3429 }, |
3467 }, | 3430 }, |
3468 }, | 3431 }, |
3469 }], | 3432 }], |
3470 ['OS=="mac"', { | 3433 ['OS=="mac"', { |
3471 # See crbug.com/43791 - libwebcore.a is too large to mmap on Mac. | |
3472 'dependencies+++': [ | |
3473 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor
e', | |
3474 ], | |
3475 # These flags are needed to run the test on Mac. | 3434 # These flags are needed to run the test on Mac. |
3476 # Search for comments about "xcode_settings" elsewhere in this file. | 3435 # Search for comments about "xcode_settings" elsewhere in this file. |
3477 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, | 3436 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, |
3478 }], | 3437 }], |
3479 ], | 3438 ], |
3480 }, # target safe_browsing_tests | 3439 }, # target safe_browsing_tests |
3481 { | 3440 { |
3482 # To run the tests from page_load_test.cc on Linux, we need to: | 3441 # To run the tests from page_load_test.cc on Linux, we need to: |
3483 # | 3442 # |
3484 # a) Build with Breakpad (GYP_DEFINES="linux_chromium_breakpad=1") | 3443 # a) Build with Breakpad (GYP_DEFINES="linux_chromium_breakpad=1") |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3588 'Debug_Base': { | 3547 'Debug_Base': { |
3589 'msvs_settings': { | 3548 'msvs_settings': { |
3590 'VCLinkerTool': { | 3549 'VCLinkerTool': { |
3591 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', | 3550 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', |
3592 }, | 3551 }, |
3593 }, | 3552 }, |
3594 }, | 3553 }, |
3595 }, | 3554 }, |
3596 }], | 3555 }], |
3597 ['OS=="mac"', { | 3556 ['OS=="mac"', { |
3598 # See the comment in this section of the unit_tests target for an | |
3599 # explanation (crbug.com/43791 - libwebcore.a is too large to mmap). | |
3600 'dependencies+++': [ | |
3601 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor
e', | |
3602 ], | |
3603 'sources': [ | 3557 'sources': [ |
3604 'test/perf/mach_ports_test.cc', | 3558 'test/perf/mach_ports_test.cc', |
3605 ], | 3559 ], |
3606 }], | 3560 }], |
3607 ['toolkit_uses_gtk == 1', { | 3561 ['toolkit_uses_gtk == 1', { |
3608 'dependencies': [ | 3562 'dependencies': [ |
3609 '../build/linux/system.gyp:gtk', | 3563 '../build/linux/system.gyp:gtk', |
3610 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 3564 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
3611 ], | 3565 ], |
3612 }], | 3566 }], |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3788 'dependencies': [ | 3742 'dependencies': [ |
3789 '../build/linux/system.gyp:gtk', | 3743 '../build/linux/system.gyp:gtk', |
3790 ], | 3744 ], |
3791 }], | 3745 }], |
3792 ['toolkit_uses_gtk == 1 or chromeos==1 or (OS=="linux" and use_aura==1)'
, { | 3746 ['toolkit_uses_gtk == 1 or chromeos==1 or (OS=="linux" and use_aura==1)'
, { |
3793 'dependencies': [ | 3747 'dependencies': [ |
3794 '../build/linux/system.gyp:ssl', | 3748 '../build/linux/system.gyp:ssl', |
3795 ], | 3749 ], |
3796 }], | 3750 }], |
3797 ['OS=="mac"', { | 3751 ['OS=="mac"', { |
3798 # See the comment in this section of the unit_tests target for an | |
3799 # explanation (crbug.com/43791 - libwebcore.a is too large to mmap). | |
3800 'dependencies+++': [ | |
3801 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor
e', | |
3802 ], | |
3803 # The sync_integration_tests do not run on mac without this flag. | 3752 # The sync_integration_tests do not run on mac without this flag. |
3804 # Search for comments about "xcode_settings" elsewhere in this file. | 3753 # Search for comments about "xcode_settings" elsewhere in this file. |
3805 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, | 3754 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, |
3806 }], | 3755 }], |
3807 ['OS=="win"', { | 3756 ['OS=="win"', { |
3808 'sources': [ | 3757 'sources': [ |
3809 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc', | 3758 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc', |
3810 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc', | 3759 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc', |
3811 '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources.rc', | 3760 '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources.rc', |
3812 '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources_standard.rc', | 3761 '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources_standard.rc', |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3917 'dependencies': [ | 3866 'dependencies': [ |
3918 '../build/linux/system.gyp:gtk', | 3867 '../build/linux/system.gyp:gtk', |
3919 ], | 3868 ], |
3920 }], | 3869 }], |
3921 ['toolkit_uses_gtk == 1 or chromeos==1 or (OS=="linux" and use_aura==1)'
, { | 3870 ['toolkit_uses_gtk == 1 or chromeos==1 or (OS=="linux" and use_aura==1)'
, { |
3922 'dependencies': [ | 3871 'dependencies': [ |
3923 '../build/linux/system.gyp:ssl', | 3872 '../build/linux/system.gyp:ssl', |
3924 ], | 3873 ], |
3925 }], | 3874 }], |
3926 ['OS=="mac"', { | 3875 ['OS=="mac"', { |
3927 # See the comment in this section of the unit_tests target for an | |
3928 # explanation (crbug.com/43791 - libwebcore.a is too large to mmap). | |
3929 'dependencies+++': [ | |
3930 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor
e', | |
3931 ], | |
3932 # The sync_integration_tests do not run on mac without this flag. | 3876 # The sync_integration_tests do not run on mac without this flag. |
3933 # Search for comments about "xcode_settings" elsewhere in this file. | 3877 # Search for comments about "xcode_settings" elsewhere in this file. |
3934 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, | 3878 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, |
3935 }], | 3879 }], |
3936 ['OS=="win"', { | 3880 ['OS=="win"', { |
3937 'sources': [ | 3881 'sources': [ |
3938 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc', | 3882 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc', |
3939 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc', | 3883 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc', |
3940 '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources.rc', | 3884 '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources.rc', |
3941 '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources_standard.rc', | 3885 '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources_standard.rc', |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4068 'Debug': { | 4012 'Debug': { |
4069 'msvs_settings': { | 4013 'msvs_settings': { |
4070 'VCLinkerTool': { | 4014 'VCLinkerTool': { |
4071 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', | 4015 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', |
4072 }, | 4016 }, |
4073 }, | 4017 }, |
4074 }, | 4018 }, |
4075 }, | 4019 }, |
4076 }], | 4020 }], |
4077 ['OS=="mac"', { | 4021 ['OS=="mac"', { |
4078 # See the comment in this section of the unit_tests target for an | |
4079 # explanation (crbug.com/43791 - libwebcore.a is too large to mmap). | |
4080 'dependencies+++': [ | |
4081 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor
e', | |
4082 ], | |
4083 # See comments about "xcode_settings" elsewhere in this file. | 4022 # See comments about "xcode_settings" elsewhere in this file. |
4084 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, | 4023 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, |
4085 }], | 4024 }], |
4086 ['toolkit_uses_gtk == 1', { | 4025 ['toolkit_uses_gtk == 1', { |
4087 'dependencies': [ | 4026 'dependencies': [ |
4088 '../build/linux/system.gyp:gtk', | 4027 '../build/linux/system.gyp:gtk', |
4089 ], | 4028 ], |
4090 }], | 4029 }], |
4091 ['toolkit_uses_gtk == 1 or chromeos==1 or (OS=="linux" and use_aura==1)'
, { | 4030 ['toolkit_uses_gtk == 1 or chromeos==1 or (OS=="linux" and use_aura==1)'
, { |
4092 'dependencies': [ | 4031 'dependencies': [ |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4383 'dependencies': [ | 4322 'dependencies': [ |
4384 '../build/linux/system.gyp:gtk', | 4323 '../build/linux/system.gyp:gtk', |
4385 ], | 4324 ], |
4386 'link_settings': { | 4325 'link_settings': { |
4387 'libraries': [ | 4326 'libraries': [ |
4388 '-lpython<(python_ver)', | 4327 '-lpython<(python_ver)', |
4389 ], | 4328 ], |
4390 }, | 4329 }, |
4391 }], | 4330 }], |
4392 ['OS=="mac"', { | 4331 ['OS=="mac"', { |
4393 # See the comment in this section of the unit_tests target for an | |
4394 # explanation (crbug.com/43791 - libwebcore.a is too large to | |
4395 # mmap). | |
4396 'dependencies+++': [ | |
4397 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:we
bcore', | |
4398 ], | |
4399 'include_dirs': [ | 4332 'include_dirs': [ |
4400 '..', | 4333 '..', |
4401 '/usr/include/python2.6', | 4334 '/usr/include/python2.6', |
4402 ], | 4335 ], |
4403 }], | 4336 }], |
4404 ['OS=="win"', { | 4337 ['OS=="win"', { |
4405 'product_extension': 'pyd', | 4338 'product_extension': 'pyd', |
4406 'include_dirs': [ | 4339 'include_dirs': [ |
4407 '..', | 4340 '..', |
4408 '../third_party/python_26/include', | 4341 '../third_party/python_26/include', |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4615 # Use outputs of this action as inputs for the main target build. | 4548 # Use outputs of this action as inputs for the main target build. |
4616 # Seems as a misnomer but makes this happy on Linux (scons). | 4549 # Seems as a misnomer but makes this happy on Linux (scons). |
4617 'process_outputs_as_sources': 1, | 4550 'process_outputs_as_sources': 1, |
4618 }, | 4551 }, |
4619 ], # 'actions' | 4552 ], # 'actions' |
4620 }, | 4553 }, |
4621 ] | 4554 ] |
4622 }], # 'coverage!=0' | 4555 }], # 'coverage!=0' |
4623 ], # 'conditions' | 4556 ], # 'conditions' |
4624 } | 4557 } |
OLD | NEW |