summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorthomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-20 19:44:42 +0000
committerthomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-20 19:44:42 +0000
commit36a1abf0163a7c762149eae9dc827ab7ffb309df (patch)
tree35dab79940a83088b013e8969d17888dab6173d3 /chrome
parent61bd7d155e1ce5a3e14198b6170157faddf336e3 (diff)
downloadchromium_src-36a1abf0163a7c762149eae9dc827ab7ffb309df.zip
chromium_src-36a1abf0163a7c762149eae9dc827ab7ffb309df.tar.gz
chromium_src-36a1abf0163a7c762149eae9dc827ab7ffb309df.tar.bz2
Added a script to remove headers from the target.
Added a default in common.gypi to remove headers from all mac applications that are bundles. Added a var to control the inclusion of keystone to chrome.gyp defaulted on branding and then honor it for the shipping work. Review URL: http://codereview.chromium.org/113652 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16510 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/chrome.gyp19
1 files changed, 15 insertions, 4 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index cce4985..ef6a616 100644
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -2022,6 +2022,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': {
@@ -2062,7 +2070,8 @@
'inputs': [],
'outputs': [],
'action': ['<(DEPTH)/build/mac/tweak_app_infoplist',
- '-b', '<(mac_breakpad)',
+ '-b<(mac_breakpad)',
+ '-k<(mac_keystone)',
'<(branding)'],
},
],
@@ -3024,9 +3033,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
@@ -3036,11 +3045,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',
}
}],