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

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: Works under fastbuild=1 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', {
Roger McFarlane (Chromium) 2011/11/28 15:09:27 & ?
Sigurður Ásgeirsson 2011/11/28 18:55:36 Yeah :(. Fixed.
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 '--output_dir', '<(PRODUCT_DIR)',
40 '--destination_dir', '<(dest_dir)',
41 ],
42 },
43 ],
44 },
45 ],
46 }],
47 ],
48 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698