Index: scripts/copy_data.sh |
diff --git a/scripts/copy_data.sh b/scripts/copy_data.sh |
new file mode 100755 |
index 0000000000000000000000000000000000000000..7999a231e45275fef4531e37418e13ce91ab3791 |
--- /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)/.." |
Mark Mentovai
2016/01/28 14:23:33
Same, and in other scripts, too.
jungshik at Google
2016/01/29 08:11:18
Done.
|
+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." |