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

Unified 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: Initial review. Created 9 years, 5 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 side-by-side diff with in-line comments
Download patch
« chrome/installer/mini_installer.gyp ('K') | « chrome/installer/mini_installer.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/syzygy.gypi
===================================================================
--- chrome/syzygy.gypi (revision 0)
+++ chrome/syzygy.gypi (revision 0)
@@ -0,0 +1,52 @@
+# Copyright (c) 2011 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+{
+ 'variables': {
+ 'optimize_with_syzygy%': 0,
+ },
+ 'conditions': [
+ [ 'OS=="win" and optimize_with_syzygy==1', {
+ 'targets': [
+ {
+ 'target_name': 'syzygy_optimized_binaries',
+ 'type': 'none',
+ 'sources' : [],
+ 'dependencies': [
+ 'chrome_dll',
+ 'chrome',
+ 'chrome_nacl_win64',
+ 'default_extensions',
+ ],
+ 'actions': [
+ {
+ 'action_name': 'Optimize Chrome binaries with syzygy',
+ 'variables':{
+ 'variables': {
+ 'syzygy_ver%':
+ '<!(cmd /C type <(DEPTH)\\tools\\syzygy\\LATEST)',
+ },
+ 'syzygy_dir%': '<(DEPTH)\\tools\\syzygy\\<(syzygy_ver)',
+ },
+ 'msvs_cygwin_shell': 0,
+ 'inputs': [
+ '<(PRODUCT_DIR)\\chrome.dll',
+ '<(PRODUCT_DIR)\\chrome_dll.pdb',
+ ],
+ 'outputs': [
+ '<(PRODUCT_DIR)\\THIS_SYZYGY_FILE_IS_NEVER_GENERATED_1.txt',
+ ],
+ 'action': [
+ '<(syzygy_dir)\\optimize.bat',
+ '--verbose',
+ '--replace-originals',
Sigurður Ásgeirsson 2011/07/27 11:21:56 Ah. This is going to be flaky. Let's discuss...
+ '--input-dir="<(PRODUCT_DIR)"',
+ '--output-dir="<(INTERMEDIATE_DIR)\\optimized"',
+ ],
+ },
+ ],
+ },
+ ],
+ }],
+ ],
+}
« chrome/installer/mini_installer.gyp ('K') | « chrome/installer/mini_installer.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698