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

Side by Side Diff: scripts/copy_data.sh

Issue 2182883004: Big Endian support part 4 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « README.chromium ('k') | scripts/copy_data_android.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # Copyright (c) 2015 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2015 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 script is tested ONLY on Linux. It may not work correctly on 6 # This script is tested ONLY on Linux. It may not work correctly on
7 # Mac OS X. 7 # Mac OS X.
8 # 8 #
9 TOPSRC="$(dirname "$0")/.." 9 TOPSRC="$(dirname "$0")/.."
10 source "${TOPSRC}/scripts/data_common.sh" 10 source "${TOPSRC}/scripts/data_common.sh"
11 11
12 echo "Copying icudtl.dat and the corresponding assembly source for Linux" 12 DATA_PREFIX="data/out/tmp/icudt${VERSION}"
13 cp "data/out/tmp/icudt${VERSION}l.dat" "${TOPSRC}/common/icudtl.dat"
14 cp "data/out/tmp/icudt${VERSION}l_dat.S" "${TOPSRC}/linux/icudtl_dat.S"
15 13
16 "${TOPSRC}/scripts/make_mac_assembly.sh" 14 echo "Generating the big endian data bundle"
15 LD_LIBRARY_PATH=lib bin/icupkg -tb "${DATA_PREFIX}l.dat" "${DATA_PREFIX}b.dat"
16
17 echo "Copying icudtl.dat and icudtlb.dat"
18 for endian in l b
19 do
20 cp "${DATA_PREFIX}${endian}.dat" "${TOPSRC}/common/icudt${endian}.dat"
21 done
17 22
18 echo "Done with copying pre-built ICU data files." 23 echo "Done with copying pre-built ICU data files."
OLDNEW
« no previous file with comments | « README.chromium ('k') | scripts/copy_data_android.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698