Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 { | |
| 5 'variables': { | |
| 6 'optimize_with_syzygy%': 0, | |
| 7 }, | |
| 8 'conditions': [ | |
| 9 [ 'OS=="win" and optimize_with_syzygy==1', { | |
| 10 'targets': [ | |
| 11 { | |
| 12 'target_name': 'syzygy_optimized_binaries', | |
| 13 'type': 'none', | |
| 14 'sources' : [], | |
| 15 'dependencies': [ | |
| 16 'chrome_dll', | |
| 17 'chrome', | |
| 18 'chrome_nacl_win64', | |
| 19 'default_extensions', | |
| 20 ], | |
| 21 'actions': [ | |
| 22 { | |
| 23 'action_name': 'Optimize Chrome binaries with syzygy', | |
| 24 'variables':{ | |
| 25 'variables': { | |
| 26 'syzygy_ver%': | |
| 27 '<!(cmd /C type <(DEPTH)\\tools\\syzygy\\LATEST)', | |
| 28 }, | |
| 29 'syzygy_dir%': '<(DEPTH)\\tools\\syzygy\\<(syzygy_ver)', | |
| 30 }, | |
| 31 'msvs_cygwin_shell': 0, | |
| 32 'inputs': [ | |
| 33 '<(PRODUCT_DIR)\\chrome.dll', | |
| 34 '<(PRODUCT_DIR)\\chrome_dll.pdb', | |
| 35 ], | |
| 36 'outputs': [ | |
| 37 '<(PRODUCT_DIR)\\THIS_SYZYGY_FILE_IS_NEVER_GENERATED_1.txt', | |
| 38 ], | |
| 39 'action': [ | |
| 40 '<(syzygy_dir)\\optimize.bat', | |
| 41 '--verbose', | |
| 42 '--replace-originals', | |
|
Sigurður Ásgeirsson
2011/07/27 11:21:56
Ah. This is going to be flaky. Let's discuss...
| |
| 43 '--input-dir="<(PRODUCT_DIR)"', | |
| 44 '--output-dir="<(INTERMEDIATE_DIR)\\optimized"', | |
| 45 ], | |
| 46 }, | |
| 47 ], | |
| 48 }, | |
| 49 ], | |
| 50 }], | |
| 51 ], | |
| 52 } | |
| OLD | NEW |