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

Unified Diff: chrome/chrome.gyp

Issue 113652: Added a script to remove headers from the target.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 7 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
« build/mac/tweak_app_infoplist ('K') | « build/mac/tweak_app_infoplist ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/chrome.gyp
===================================================================
--- chrome/chrome.gyp (revision 16417)
+++ chrome/chrome.gyp (working copy)
@@ -2024,6 +2024,14 @@
}],
],
}], # mac_breakpad
+ ['mac_keystone==1', {
+ 'copies': [
+ {
+ 'destination': '<(PRODUCT_DIR)/<(mac_product_name).app/Contents/Frameworks/',
+ 'files': ['../third_party/googlemac/Releases/Keystone/KeystoneRegistration.framework'],
+ },
+ ],
+ }], # mac_keystone
],
'product_name': '<(mac_product_name)',
'xcode_settings': {
@@ -2064,7 +2072,8 @@
'inputs': [],
'outputs': [],
'action': ['<(DEPTH)/build/mac/tweak_app_infoplist',
- '-b', '<(mac_breakpad)',
+ '-b<(mac_breakpad)',
+ '-k<(mac_keystone)',
'<(branding)'],
},
],
@@ -3026,9 +3035,9 @@
},
],
'conditions': [
- # We set a feature variable so the different parts that need to check for
- # the mac build use of breakpad, check that flag instead of coding it based
- # on branding.
+ # We set feature variables so the different parts that need to check for
+ # the mac build use of breakpad/keystone, check that flag instead of coding
+ # it based on branding.
# We need the Mac app name on disk, so we stick this into a variable so
# the different places that need it can use the common variable.
# NOTE: chrome/app/theme/chromium/BRANDING and
@@ -3038,11 +3047,13 @@
['OS=="mac" and branding=="Chrome"', {
'variables': {
'mac_breakpad%': 1,
+ 'mac_keystone%': 1,
'mac_product_name%': 'Google Chrome',
}
}, {
'variables': {
'mac_breakpad%': 0,
+ 'mac_keystone%': 0,
'mac_product_name%': 'Chromium',
}
}],
« build/mac/tweak_app_infoplist ('K') | « build/mac/tweak_app_infoplist ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698