| 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 2559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2570 'app/breakpad_unittest_win.cc', | 2570 'app/breakpad_unittest_win.cc', |
| 2571 'app/hard_error_handler_win.cc', | 2571 'app/hard_error_handler_win.cc', |
| 2572 'app/run_all_unittests.cc' | 2572 'app/run_all_unittests.cc' |
| 2573 ], | 2573 ], |
| 2574 'conditions': [ | 2574 'conditions': [ |
| 2575 ['OS=="mac"', { | 2575 ['OS=="mac"', { |
| 2576 # TODO(mark): We really want this for all non-static library targets, | 2576 # TODO(mark): We really want this for all non-static library targets, |
| 2577 # but when we tried to pull it up to the common.gypi level, it broke | 2577 # but when we tried to pull it up to the common.gypi level, it broke |
| 2578 # other things like the ui, startup, and page_cycler tests. *shrug* | 2578 # other things like the ui, startup, and page_cycler tests. *shrug* |
| 2579 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, | 2579 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, |
| 2580 | |
| 2581 # libwebcore.a is so large that ld may not have a sufficiently large | |
| 2582 # "hole" in its address space into which it can be mmaped by the | |
| 2583 # time it reaches this library. As of May 10, 2010, libwebcore.a is | |
| 2584 # about 1GB in some builds. In the Mac OS X 10.5 toolchain, using | |
| 2585 # Xcode 3.1, ld is only a 32-bit executable, and address space | |
| 2586 # exhaustion is the result, with ld failing and producing | |
| 2587 # the message: | |
| 2588 # ld: in .../libwebcore.a, can't map file, errno=12 | |
| 2589 # | |
| 2590 # As a workaround, ensure that libwebcore.a appears to ld first when | |
| 2591 # linking unit_tests. This allows the library to be mmapped when | |
| 2592 # ld's address space is "wide open." Other libraries are small | |
| 2593 # enough that they'll be able to "squeeze" into the remaining holes. | |
| 2594 # The Mac linker isn't so sensitive that moving this library to the | |
| 2595 # front of the list will cause problems. | |
| 2596 # | |
| 2597 # Enough pluses to make this target get prepended to the target's | |
| 2598 # list of dependencies. | |
| 2599 'dependencies+++': [ | |
| 2600 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor
e', | |
| 2601 ], | |
| 2602 }], | 2580 }], |
| 2603 ['OS=="win"', { | 2581 ['OS=="win"', { |
| 2604 'dependencies': [ | 2582 'dependencies': [ |
| 2605 # breakpad is currently only tested on Windows. | 2583 # breakpad is currently only tested on Windows. |
| 2606 '../breakpad/breakpad.gyp:*', | 2584 '../breakpad/breakpad.gyp:*', |
| 2607 ], | 2585 ], |
| 2608 'conditions': [ | 2586 'conditions': [ |
| 2609 ['win_use_allocator_shim==1', { | 2587 ['win_use_allocator_shim==1', { |
| 2610 'dependencies': [ | 2588 'dependencies': [ |
| 2611 '<(allocator_target)', | 2589 '<(allocator_target)', |
| (...skipping 2140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4752 # Use outputs of this action as inputs for the main target build. | 4730 # Use outputs of this action as inputs for the main target build. |
| 4753 # Seems as a misnomer but makes this happy on Linux (scons). | 4731 # Seems as a misnomer but makes this happy on Linux (scons). |
| 4754 'process_outputs_as_sources': 1, | 4732 'process_outputs_as_sources': 1, |
| 4755 }, | 4733 }, |
| 4756 ], # 'actions' | 4734 ], # 'actions' |
| 4757 }, | 4735 }, |
| 4758 ] | 4736 ] |
| 4759 }], # 'coverage!=0' | 4737 }], # 'coverage!=0' |
| 4760 ], # 'conditions' | 4738 ], # 'conditions' |
| 4761 } | 4739 } |
| OLD | NEW |