| 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 2497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2508 # RendererWebKitPlatformSupportImpl, which subclasses stuff in | 2508 # RendererWebKitPlatformSupportImpl, which subclasses stuff in |
| 2509 # glue, which refers to symbols defined in these files. | 2509 # glue, which refers to symbols defined in these files. |
| 2510 # Hopefully this can be resolved with http://crbug.com/98755. | 2510 # Hopefully this can be resolved with http://crbug.com/98755. |
| 2511 'sources': [ | 2511 'sources': [ |
| 2512 '../content/common/socket_stream_dispatcher.cc', | 2512 '../content/common/socket_stream_dispatcher.cc', |
| 2513 ]}, | 2513 ]}, |
| 2514 ], | 2514 ], |
| 2515 ], | 2515 ], |
| 2516 }, | 2516 }, |
| 2517 { | 2517 { |
| 2518 'target_name': 'chrome_app_unittests', |
| 2519 'type': 'executable', |
| 2520 'dependencies': [ |
| 2521 # unit tests should only depend on |
| 2522 # 1) everything that the chrome binaries depend on: |
| 2523 '<@(chromium_dependencies)', |
| 2524 # 2) test-specific support libraries: |
| 2525 '../testing/gmock.gyp:gmock', |
| 2526 '../testing/gtest.gyp:gtest', |
| 2527 'test_support_common', |
| 2528 # 3) anything tests directly depend on |
| 2529 '../breakpad/breakpad.gyp:*', |
| 2530 ], |
| 2531 'include_dirs': [ |
| 2532 '..', |
| 2533 ], |
| 2534 'sources': [ |
| 2535 'app/breakpad_win.cc', |
| 2536 'app/breakpad_win_unittest.cc', |
| 2537 'app/hard_error_handler_win.cc', |
| 2538 'app/run_all_unittests.cc' |
| 2539 ], |
| 2540 'conditions': [ |
| 2541 ['OS=="mac"', { |
| 2542 # TODO(mark): We really want this for all non-static library targets, |
| 2543 # but when we tried to pull it up to the common.gypi level, it broke |
| 2544 # other things like the ui, startup, and page_cycler tests. *shrug* |
| 2545 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, |
| 2546 |
| 2547 # libwebcore.a is so large that ld may not have a sufficiently large |
| 2548 # "hole" in its address space into which it can be mmaped by the |
| 2549 # time it reaches this library. As of May 10, 2010, libwebcore.a is |
| 2550 # about 1GB in some builds. In the Mac OS X 10.5 toolchain, using |
| 2551 # Xcode 3.1, ld is only a 32-bit executable, and address space |
| 2552 # exhaustion is the result, with ld failing and producing |
| 2553 # the message: |
| 2554 # ld: in .../libwebcore.a, can't map file, errno=12 |
| 2555 # |
| 2556 # As a workaround, ensure that libwebcore.a appears to ld first when |
| 2557 # linking unit_tests. This allows the library to be mmapped when |
| 2558 # ld's address space is "wide open." Other libraries are small |
| 2559 # enough that they'll be able to "squeeze" into the remaining holes. |
| 2560 # The Mac linker isn't so sensitive that moving this library to the |
| 2561 # front of the list will cause problems. |
| 2562 # |
| 2563 # Enough pluses to make get this target prepended to the target's |
| 2564 # list of dependencies. |
| 2565 'dependencies+++': [ |
| 2566 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor
e', |
| 2567 ], |
| 2568 }], |
| 2569 ['OS=="win"', { |
| 2570 'conditions': [ |
| 2571 ['win_use_allocator_shim==1', { |
| 2572 'dependencies': [ |
| 2573 '<(allocator_target)', |
| 2574 ], |
| 2575 }], |
| 2576 ], |
| 2577 'configurations': { |
| 2578 'Debug_Base': { |
| 2579 'msvs_settings': { |
| 2580 'VCLinkerTool': { |
| 2581 # Forcing incremental build off to try to avoid incremental |
| 2582 # linking errors on 64-bit bots too. http://crbug.com/52555 |
| 2583 'LinkIncremental': '1', |
| 2584 }, |
| 2585 }, |
| 2586 }, |
| 2587 }, |
| 2588 }, { # else: OS != "win" |
| 2589 'sources!': [ |
| 2590 'app/breakpad_win.cc', |
| 2591 'app/breakpad_win_unittest.cc', |
| 2592 'app/hard_error_handler_win.cc', |
| 2593 ], |
| 2594 }], |
| 2595 ], |
| 2596 }, |
| 2597 { |
| 2518 # Executable that runs each browser test in a new process. | 2598 # Executable that runs each browser test in a new process. |
| 2519 'target_name': 'browser_tests', | 2599 'target_name': 'browser_tests', |
| 2520 'type': 'executable', | 2600 'type': 'executable', |
| 2521 'msvs_cygwin_shell': 0, | 2601 'msvs_cygwin_shell': 0, |
| 2522 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], | 2602 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], |
| 2523 'dependencies': [ | 2603 'dependencies': [ |
| 2524 'browser', | 2604 'browser', |
| 2525 'browser/sync/protocol/sync_proto.gyp:sync_proto', | 2605 'browser/sync/protocol/sync_proto.gyp:sync_proto', |
| 2526 'chrome', | 2606 'chrome', |
| 2527 'chrome_resources.gyp:chrome_resources', | 2607 'chrome_resources.gyp:chrome_resources', |
| (...skipping 2186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4714 # Use outputs of this action as inputs for the main target build. | 4794 # Use outputs of this action as inputs for the main target build. |
| 4715 # Seems as a misnomer but makes this happy on Linux (scons). | 4795 # Seems as a misnomer but makes this happy on Linux (scons). |
| 4716 'process_outputs_as_sources': 1, | 4796 'process_outputs_as_sources': 1, |
| 4717 }, | 4797 }, |
| 4718 ], # 'actions' | 4798 ], # 'actions' |
| 4719 }, | 4799 }, |
| 4720 ] | 4800 ] |
| 4721 }], # 'coverage!=0' | 4801 }], # 'coverage!=0' |
| 4722 ], # 'conditions' | 4802 ], # 'conditions' |
| 4723 } | 4803 } |
| OLD | NEW |