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

Side by Side Diff: chrome/syzygy.gypi

Issue 7464040: Integrate syzygy (optionally) into the chrome build process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Address nits. Created 9 years, 4 months 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
« chrome/chrome_dll.gypi ('K') | « chrome/chrome_exe.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
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 'variables': {
6 'optimize_with_syzygy%': 0,
7 },
8 'conditions': [
9 [ 'OS=="win" and optimize_with_syzygy==1', {
10 'targets': [
11 {
12 'target_name': 'chrome_dll',
13 'type': 'none',
14 'sources' : [],
15 'dependencies': [
16 'original_chrome_dll',
17 'chrome',
18 ],
19 'actions': [
20 {
21 'action_name': 'Optimize Chrome binaries with syzygy',
22 'variables':{
23 'variables': {
24 'syzygy_ver%':
25 '<!(cmd /C type <(DEPTH)\\tools\\syzygy\\LATEST)',
26 },
27 'syzygy_dir%': '<(DEPTH)\\tools\\syzygy\\<(syzygy_ver)',
28 },
29 'msvs_cygwin_shell': 0,
30 'inputs': [
31 '<(PRODUCT_DIR)\\original\\chrome.dll',
32 '<(PRODUCT_DIR)\\original\\chrome_dll.pdb',
33 ],
34 'outputs': [
35 '<(PRODUCT_DIR)\\chrome.dll',
36 '<(PRODUCT_DIR)\\chrome_dll.pdb',
37 ],
38 'action': [
39 '<(syzygy_dir)\\optimize.bat',
40 '--verbose',
41 '--input-dir="<(PRODUCT_DIR)"',
42 '--input-dll="<(PRODUCT_DIR)\\original\\chrome.dll"',
43 '--input-pdb="<(PRODUCT_DIR)\\original\\chrome_dll.pdb"',
44 '--output-dir="<(INTERMEDIATE_DIR)\\optimized"',
45 '--copy-to="<(PRODUCT_DIR)"',
46 ],
47 },
48 ],
49 },
50 ],
51 }],
52 ],
53 }
OLDNEW
« chrome/chrome_dll.gypi ('K') | « chrome/chrome_exe.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698