Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(238)

Side by Side Diff: chrome/chrome_syzygy.gyp

Issue 8698009: Build a Syzygy-reordered mini_installer.exe. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Robert's comments. Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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 'conditions': [
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.
13 'targets': [
14 {
15 'target_name': 'chrome_dll_syzygy',
16 'type': 'none',
17 'sources' : [],
18 'dependencies': [
19 '<(DEPTH)/chrome/chrome.gyp:chrome_dll',
20 ],
21 'variables': {
22 'dest_dir': '<(PRODUCT_DIR)\\syzygy',
23 },
24 'actions': [
25 {
26 'action_name': 'Reorder Chrome with Syzygy',
27 'msvs_cygwin_shell': 0,
28 'inputs': [
29 '<(PRODUCT_DIR)\\chrome.dll',
30 '<(PRODUCT_DIR)\\chrome_dll.pdb',
31 ],
32 'outputs': [
33 '<(dest_dir)\\chrome.dll',
34 '<(dest_dir)\\chrome_dll.pdb',
35 ],
36 'action': [
37 'python',
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)',
42 ],
43 },
44 ],
45 },
46 ],
47 }],
48 ],
49 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698