diff options
Diffstat (limited to 'chrome/chrome.gyp')
-rw-r--r-- | chrome/chrome.gyp | 29 |
1 files changed, 21 insertions, 8 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp index 62bb9ac..43d4676 100644 --- a/chrome/chrome.gyp +++ b/chrome/chrome.gyp @@ -1936,14 +1936,10 @@ }], ], 'xcode_settings': { - # chrome/app/app-Info.plist has a CFBundleIdentifier of BUNDLE_ID, - # to be replaced by a properly branded bundle ID in Xcode with - # these settings. - 'INFOPLIST_PREPROCESS': 'YES', - 'INFOPLIST_PREPROCESSOR_DEFINITIONS': [ - 'BUNDLE_ID="<(bundle_id)"', - 'BUNDLE_NAME="<(branding)"' - ], + # chrome/app/app-Info.plist has a CFBundleIdentifier of + # CHROMIUM_BUNDLE_ID to be replaced by a branded bundle ID in Xcode + # with this settings. + 'CHROMIUM_BUNDLE_ID': '<(bundle_id)', }, }, { # else: OS != "mac" 'conditions': [ @@ -1958,6 +1954,23 @@ }], ], }], + ['OS=="mac"', { + # Mac addes an action to modify the Info.plist to meet our needs + # (see the script for why this is done). + 'actions': [ + { + 'action_name': 'tweak_app_infoplist', + # We don't list any inputs or outputs because we always want + # the script to run. Why? Because it does thinks like record + # the svn revision into the info.plist, so there is no file to + # depend on that will change when ever that changes. + 'inputs': [], + 'outputs': [], + 'action': ['<(DEPTH)/build/mac/tweak_app_infoplist', + '<(branding)'], + }, + ], + }], ['OS=="win"', { 'include_dirs': [ 'third_party/wtl/include', |