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

Side by Side Diff: scripts/update.sh

Issue 1639543006: ICU 56 step 6: Check in the pre-built ICU data (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@56local_patches
Patch Set: minor clean up of README.chromium Created 4 years, 10 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
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # Copyright (c) 2016 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2016 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 # This is used to prepare for a major version update of ICU (e.g. from 6 # This is used to prepare for a major version update of ICU (e.g. from
7 # 54.1 to 56.1). Running this script is step 1 in README.chromium. 7 # 54.1 to 56.1). Running this script is step 1 in README.chromium.
8 8
9 if [ $# -lt 1 ]; 9 if [ $# -lt 1 ];
10 then 10 then
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 do 44 do
45 # $line is not quoted to expand "*html.ucm". 45 # $line is not quoted to expand "*html.ucm".
46 git checkout -- "${treeroot}/source/data/"${line} 46 git checkout -- "${treeroot}/source/data/"${line}
47 done < "${treeroot}/scripts/data_files_to_preserve.txt" 47 done < "${treeroot}/scripts/data_files_to_preserve.txt"
48 48
49 echo "Patching configure to work without source/layout(ex) directories ..." 49 echo "Patching configure to work without source/layout(ex) directories ..."
50 sed -i.orig -e '/^ac_config_files=/ s:\ layout\(ex\)\{0,1\}/Makefile::g' \ 50 sed -i.orig -e '/^ac_config_files=/ s:\ layout\(ex\)\{0,1\}/Makefile::g' \
51 "${treeroot}/source/configure" 51 "${treeroot}/source/configure"
52 rm -f "${treeroot}/source/configure.orig" 52 rm -f "${treeroot}/source/configure.orig"
53 53
54 # TODO(jshin): Automatically update BUILd.gn and icu.gypi with the updated
Mark Mentovai 2016/01/28 14:23:33 BUILD.gn
55 # list of source files.
56
54 echo "Done" 57 echo "Done"
OLDNEW
« scripts/data_common.sh ('K') | « scripts/make_mac_assembly.sh ('k') | scripts/update_tz.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698