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.
6 ['OS=="win" and fastbuild==0', {
7 # Reorder the initial chrome DLL executable, placing the optimized
8 # output and corresponding PDB file into the "syzygy" subdirectory.
9 # If there's a matching chrome.dll-ordering.json file present in
10 # the output directory, chrome.dll will be ordered according to that,
11 # otherwise it will be randomized.
12 # This target won't build in fastbuild, since there are no PDBs.
15 'target_name': 'chrome_dll_syzygy',
19 '<(DEPTH)/chrome/chrome.gyp:chrome_dll',
22 'dest_dir': '<(PRODUCT_DIR)\\syzygy',
26 'action_name': 'Reorder Chrome with Syzygy',
27 'msvs_cygwin_shell': 0,
29 '<(PRODUCT_DIR)\\chrome.dll',
30 '<(PRODUCT_DIR)\\chrome.dll.pdb',
33 '<(dest_dir)\\chrome.dll',
34 '<(dest_dir)\\chrome.dll.pdb',
38 '<(DEPTH)/chrome/tools/build/win/syzygy_reorder.py',
39 '--input_executable', '<(PRODUCT_DIR)\\chrome.dll',
40 '--input_symbol', '<(PRODUCT_DIR)\\chrome.dll.pdb',
41 '--destination_dir', '<(dest_dir)',