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

Side by Side Diff: chrome_mac/Google Chrome Packaging/generate_dmgs

Issue 310483004: Roll reference builds to 35.0.1916.114. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/reference_builds/
Patch Set: Created 6 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/bin/bash -p 1 #!/bin/bash -p
2 2
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2012 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 # This is expected to be invoked by the Pulse build step. It takes care of 7 # This is expected to be invoked by the Pulse build step. It takes care of
8 # doing the code signing and building the needed disk images. All needed 8 # doing the code signing and building the needed disk images. All needed
9 # support files are assumed to live next to this script on disk. 9 # support files are assumed to live next to this script on disk.
10 # 10 #
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 --target "${dmg_path}" \ 371 --target "${dmg_path}" \
372 --format UDBZ \ 372 --format UDBZ \
373 --volname "${product_name}" \ 373 --volname "${product_name}" \
374 --icon "${PACKAGING_DIR}/${icon_name}" \ 374 --icon "${PACKAGING_DIR}/${icon_name}" \
375 --copy "${variant_app_path}/:/${app_name}" \ 375 --copy "${variant_app_path}/:/${app_name}" \
376 --copy "${PACKAGING_DIR}/keystone_install.sh:/.keystone_install" \ 376 --copy "${PACKAGING_DIR}/keystone_install.sh:/.keystone_install" \
377 --mkdir "/.background" \ 377 --mkdir "/.background" \
378 --copy \ 378 --copy \
379 "${PACKAGING_DIR}/chrome_dmg_background.png:/.background/background.png" \ 379 "${PACKAGING_DIR}/chrome_dmg_background.png:/.background/background.png" \
380 --copy "${PACKAGING_DIR}/${dsstore_name}:/.DS_Store" \ 380 --copy "${PACKAGING_DIR}/${dsstore_name}:/.DS_Store" \
381 --symlink "/Applications:/ " \ 381 --symlink "/Applications:/ "
382 --mkdir "/.keychain_reauthorize" \
383 --copy \
384 "${PACKAGING_DIR}/.keychain_reauthorize/${app_bundle_id_new}:/.keychain_reauthor ize/${app_bundle_id_new}"
385 382
386 rmdir "${empty_dir}" 383 rmdir "${empty_dir}"
387 rm -rf "${variant_dir}" 384 rm -rf "${variant_dir}"
388 } 385 }
389 386
390 # shell_safe_path ensures that |path| is safe to pass to tools as a 387 # shell_safe_path ensures that |path| is safe to pass to tools as a
391 # command-line argument. If the first character in |path| is "-", "./" is 388 # command-line argument. If the first character in |path| is "-", "./" is
392 # prepended to it. The possibily-modified |path| is output. 389 # prepended to it. The possibily-modified |path| is output.
393 shell_safe_path() { 390 shell_safe_path() {
394 local path="${1}" 391 local path="${1}"
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
704 # arguments. This script's caller may be upgraded to provide more arguments 701 # arguments. This script's caller may be upgraded to provide more arguments
705 # to future versions of this script, but if this version runs, it should be 702 # to future versions of this script, but if this version runs, it should be
706 # able to operate with only the arguments it needs. 703 # able to operate with only the arguments it needs.
707 if [[ ${#} -lt 5 ]]; then 704 if [[ ${#} -lt 5 ]]; then
708 usage 705 usage
709 exit 1 706 exit 1
710 fi 707 fi
711 708
712 main "${@}" 709 main "${@}"
713 exit ${?} 710 exit ${?}
OLDNEW
« no previous file with comments | « chrome_mac/Google Chrome Packaging/dmgdiffer.sh ('k') | chrome_mac/Google Chrome Packaging/goobsdiff » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698