Index: scripts/copy_data.sh |
diff --git a/scripts/copy_data.sh b/scripts/copy_data.sh |
new file mode 100755 |
index 0000000000000000000000000000000000000000..cfd3e9e38d3657bcc36aa028b8a8530112e67e87 |
--- /dev/null |
+++ b/scripts/copy_data.sh |
@@ -0,0 +1,18 @@ |
+#!/bin/bash |
+# Copyright (c) 2015 The Chromium Authors. All rights reserved. |
+# # Use of this source code is governed by a BSD-style license that can be |
+# # found in the LICENSE file. |
+# |
+# This script is tested ONLY on Linux. It may not work correctly on |
+# Mac OS X. |
+# |
+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}/source/data/in/icudtl.dat" |
+cp "data/out/tmp/icudt${VERSION}l_dat.S" "${TOPSRC}/linux/icudtl_dat.S" |
+ |
+"${TOPSRC}/scripts/make_mac_assembly.sh" |
+ |
+echo "Done with copying pre-built ICU data files." |