| OLD | NEW |
| 1 #!/bin/sh | 1 #!/bin/sh |
| 2 | 2 |
| 3 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 3 # Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
| 6 | 6 |
| 7 # Using codesign, sign the application. Inner components are signed as needed, | 7 # Using codesign, sign the application. Inner components are signed as needed, |
| 8 # then the outermost bundle is signed, and everything is verified. | 8 # then the outermost bundle is signed, and everything is verified. |
| 9 | 9 |
| 10 set -e | 10 set -e |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 "${BROWSER_APP}" --resource-rules "${BROWSER_APP_RULES}" | 42 "${BROWSER_APP}" --resource-rules "${BROWSER_APP_RULES}" |
| 43 | 43 |
| 44 # Verify everything to ensure that signing the outer bundle didn't break an | 44 # Verify everything to ensure that signing the outer bundle didn't break an |
| 45 # inner bundle. | 45 # inner bundle. |
| 46 | 46 |
| 47 echo "${0}: verifying..." | 47 echo "${0}: verifying..." |
| 48 | 48 |
| 49 codesign -v "${FRAMEWORK}" | 49 codesign -v "${FRAMEWORK}" |
| 50 codesign -v "${HELPER_APP}" | 50 codesign -v "${HELPER_APP}" |
| 51 codesign -v "${BROWSER_APP}" | 51 codesign -v "${BROWSER_APP}" |
| OLD | NEW |