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 2548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2559 # RendererWebKitPlatformSupportImpl, which subclasses stuff in | 2559 # RendererWebKitPlatformSupportImpl, which subclasses stuff in |
2560 # glue, which refers to symbols defined in these files. | 2560 # glue, which refers to symbols defined in these files. |
2561 # Hopefully this can be resolved with http://crbug.com/98755. | 2561 # Hopefully this can be resolved with http://crbug.com/98755. |
2562 'sources': [ | 2562 'sources': [ |
2563 '../content/common/socket_stream_dispatcher.cc', | 2563 '../content/common/socket_stream_dispatcher.cc', |
2564 ]}, | 2564 ]}, |
2565 ], | 2565 ], |
2566 ], | 2566 ], |
2567 }, | 2567 }, |
2568 { | 2568 { |
| 2569 'target_name': 'chrome_app_unittests', |
| 2570 'type': 'executable', |
| 2571 'dependencies': [ |
| 2572 # unit tests should only depend on |
| 2573 # 1) everything that the chrome binaries depend on: |
| 2574 '<@(chromium_dependencies)', |
| 2575 # 2) test-specific support libraries: |
| 2576 '../testing/gmock.gyp:gmock', |
| 2577 '../testing/gtest.gyp:gtest', |
| 2578 'test_support_common', |
| 2579 ], |
| 2580 'include_dirs': [ |
| 2581 '..', |
| 2582 ], |
| 2583 'sources': [ |
| 2584 'app/breakpad_field_trial_win.cc', |
| 2585 'app/breakpad_win.cc', |
| 2586 'app/breakpad_unittest_win.cc', |
| 2587 'app/hard_error_handler_win.cc', |
| 2588 'app/run_all_unittests.cc' |
| 2589 ], |
| 2590 'conditions': [ |
| 2591 ['OS=="mac"', { |
| 2592 # TODO(mark): We really want this for all non-static library targets, |
| 2593 # but when we tried to pull it up to the common.gypi level, it broke |
| 2594 # other things like the ui, startup, and page_cycler tests. *shrug* |
| 2595 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, |
| 2596 |
| 2597 # libwebcore.a is so large that ld may not have a sufficiently large |
| 2598 # "hole" in its address space into which it can be mmaped by the |
| 2599 # time it reaches this library. As of May 10, 2010, libwebcore.a is |
| 2600 # about 1GB in some builds. In the Mac OS X 10.5 toolchain, using |
| 2601 # Xcode 3.1, ld is only a 32-bit executable, and address space |
| 2602 # exhaustion is the result, with ld failing and producing |
| 2603 # the message: |
| 2604 # ld: in .../libwebcore.a, can't map file, errno=12 |
| 2605 # |
| 2606 # As a workaround, ensure that libwebcore.a appears to ld first when |
| 2607 # linking unit_tests. This allows the library to be mmapped when |
| 2608 # ld's address space is "wide open." Other libraries are small |
| 2609 # enough that they'll be able to "squeeze" into the remaining holes. |
| 2610 # The Mac linker isn't so sensitive that moving this library to the |
| 2611 # front of the list will cause problems. |
| 2612 # |
| 2613 # Enough pluses to make this target get prepended to the target's |
| 2614 # list of dependencies. |
| 2615 'dependencies+++': [ |
| 2616 '../third_party/WebKit/Source/WebCore/WebCore.gyp/WebCore.gyp:webcor
e', |
| 2617 ], |
| 2618 }], |
| 2619 ['OS=="win"', { |
| 2620 'dependencies': [ |
| 2621 # breakpad is currently only tested on Windows. |
| 2622 '../breakpad/breakpad.gyp:*', |
| 2623 ], |
| 2624 'conditions': [ |
| 2625 ['win_use_allocator_shim==1', { |
| 2626 'dependencies': [ |
| 2627 '<(allocator_target)', |
| 2628 ], |
| 2629 }], |
| 2630 ], |
| 2631 'configurations': { |
| 2632 'Debug_Base': { |
| 2633 'msvs_settings': { |
| 2634 'VCLinkerTool': { |
| 2635 # Forcing incremental build off to try to avoid incremental |
| 2636 # linking errors on 64-bit bots too. http://crbug.com/52555 |
| 2637 'LinkIncremental': '1', |
| 2638 }, |
| 2639 }, |
| 2640 }, |
| 2641 }, |
| 2642 }], |
| 2643 ], |
| 2644 }, |
| 2645 { |
2569 # Executable that runs each browser test in a new process. | 2646 # Executable that runs each browser test in a new process. |
2570 'target_name': 'browser_tests', | 2647 'target_name': 'browser_tests', |
2571 'type': 'executable', | 2648 'type': 'executable', |
2572 'msvs_cygwin_shell': 0, | 2649 'msvs_cygwin_shell': 0, |
2573 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], | 2650 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], |
2574 'copies': [ | 2651 'copies': [ |
2575 { | 2652 { |
2576 'destination': '<(PRODUCT_DIR)', | 2653 'destination': '<(PRODUCT_DIR)', |
2577 'files': [ | 2654 'files': [ |
2578 # Keep 'test_case.html.mock-http-headers' with 'test_case.html'. | 2655 # Keep 'test_case.html.mock-http-headers' with 'test_case.html'. |
(...skipping 2105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4684 # Use outputs of this action as inputs for the main target build. | 4761 # Use outputs of this action as inputs for the main target build. |
4685 # Seems as a misnomer but makes this happy on Linux (scons). | 4762 # Seems as a misnomer but makes this happy on Linux (scons). |
4686 'process_outputs_as_sources': 1, | 4763 'process_outputs_as_sources': 1, |
4687 }, | 4764 }, |
4688 ], # 'actions' | 4765 ], # 'actions' |
4689 }, | 4766 }, |
4690 ] | 4767 ] |
4691 }], # 'coverage!=0' | 4768 }], # 'coverage!=0' |
4692 ], # 'conditions' | 4769 ], # 'conditions' |
4693 } | 4770 } |
OLD | NEW |