Chromium Code Reviews

Unified 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, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « README.chromium ('k') | scripts/copy_data_android.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/copy_data.sh
diff --git a/scripts/copy_data.sh b/scripts/copy_data.sh
index 75fba8293da3b7885140402350bdcb1bab70a3b7..98b4c08606662eab7c5fb337f30192807c177d5b 100755
--- a/scripts/copy_data.sh
+++ b/scripts/copy_data.sh
@@ -9,10 +9,15 @@
TOPSRC="$(dirname "$0")/.."
source "${TOPSRC}/scripts/data_common.sh"
-echo "Copying icudtl.dat and the corresponding assembly source for Linux"
-cp "data/out/tmp/icudt${VERSION}l.dat" "${TOPSRC}/common/icudtl.dat"
-cp "data/out/tmp/icudt${VERSION}l_dat.S" "${TOPSRC}/linux/icudtl_dat.S"
+DATA_PREFIX="data/out/tmp/icudt${VERSION}"
-"${TOPSRC}/scripts/make_mac_assembly.sh"
+echo "Generating the big endian data bundle"
+LD_LIBRARY_PATH=lib bin/icupkg -tb "${DATA_PREFIX}l.dat" "${DATA_PREFIX}b.dat"
+
+echo "Copying icudtl.dat and icudtlb.dat"
+for endian in l b
+do
+ cp "${DATA_PREFIX}${endian}.dat" "${TOPSRC}/common/icudt${endian}.dat"
+done
echo "Done with copying pre-built ICU data files."
« no previous file with comments | « README.chromium ('k') | scripts/copy_data_android.sh » ('j') | no next file with comments »

Powered by Google App Engine