Chromium Code Reviews| Index: chrome/installer/mac/sign_versioned_dir.sh.in |
| diff --git a/chrome/installer/mac/sign_versioned_dir.sh.in b/chrome/installer/mac/sign_versioned_dir.sh.in |
| index 4e5640b8b0d830c2aeff73f3ead6d1ba2f332d26..4866e5b256acaf22d11706a05e3b6784fb6045a8 100644 |
| --- a/chrome/installer/mac/sign_versioned_dir.sh.in |
| +++ b/chrome/installer/mac/sign_versioned_dir.sh.in |
| @@ -112,9 +112,14 @@ codesign_with_options "${app_mode_loader_tmp}" \ |
| cp "${app_mode_loader_tmp}" "${app_mode_loader}" |
| rm -f "${app_mode_loader_tmp}" |
| + |
| +xpc_plist="${notification_service}/Contents/Info" |
| +xpc_bundle_id="$(__CFPREFERENCES_AVOID_DAEMON=1 defaults read \ |
| +"${xpc_plist}" "CFBundleIdentifier")" |
|
Mark Mentovai
2017/06/02 12:32:03
Use a hanging indent here, otherwise it looks like
Miguel Garcia
2017/06/02 12:45:14
Done.
|
| + |
| codesign_with_options "${notification_service}" \ |
| "${enforcement_flags_helpers}" \ |
| - "com.google.Chrome.framework.AlertNotificationService" |
| + "${xpc_bundle_id}" |
| # Only sign widevine plugin if it is present in the bundle. |
| # ${enforcement_flags*} are meaningless for dynamic libraries. |