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

Unified Diff: scripts/make_mac_assembly.sh

Issue 255943004: Add icudt.dll for Windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/icu52/
Patch Set: Add icudt.dll for Windows Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « patches/data.build.win.patch ('k') | source/data/makedata.mak » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/make_mac_assembly.sh
===================================================================
--- scripts/make_mac_assembly.sh (revision 0)
+++ scripts/make_mac_assembly.sh (working copy)
@@ -0,0 +1,22 @@
+#!/bin/bash
+# Copyright (c) 2014 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.
+
+ICUROOT="$(dirname $0)/.."
+LINUX_SOURCE="${ICUROOT}/linux/icudtl_dat.S"
+MAC_SOURCE="${ICUROOT}/mac/icudtl_dat.S"
+
+cat > ${MAC_SOURCE} <<PREAMBLE
+.globl _icudt52_dat
+#ifdef U_HIDE_DATA_SYMBOL
+ .private_extern _icudt52_dat
+#endif
+ .data
+ .const
+ .align 4
+_icudt52_dat:
+PREAMBLE
+
+PREAMBLE_LENGTH=$(($(egrep -n '^icudt' ${LINUX_SOURCE} | cut -d : -f 1) + 1))
+tail -n +${PREAMBLE_LENGTH} ${LINUX_SOURCE} >> ${MAC_SOURCE}
Property changes on: scripts/make_mac_assembly.sh
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+LF
\ No newline at end of property
« no previous file with comments | « patches/data.build.win.patch ('k') | source/data/makedata.mak » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698