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

Unified Diff: icu52/patches/data.build.patch

Issue 224943002: icu local change part1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/
Patch Set: function indentation changed 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 | « icu52/patches/csetdet.patch ('k') | icu52/patches/gcc46.patch » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: icu52/patches/data.build.patch
===================================================================
--- icu52/patches/data.build.patch (revision 261238)
+++ icu52/patches/data.build.patch (working copy)
@@ -1,10 +1,12 @@
---- source/data/Makefile.in 2010-10-29 13:21:33.000000000 -0700
-+++ source/data/Makefile.in 2011-01-25 17:20:34.534195000 -0800
-@@ -227,7 +227,14 @@
- # 2005-may-05 Removed Unicode properties files (unorm.icu, uprops.icu, ucase.icu, ubidi.icu)
- # from data build. See Jitterbug 4497. (makedata.mak revision 1.117)
+Index: source/data/Makefile.in
+===================================================================
+--- source/data/Makefile.in (revision 259715)
++++ source/data/Makefile.in (working copy)
+@@ -240,7 +240,14 @@
+ # 2010-dec Removed pnames.icu.
+ # These are now hardcoded in ICU4C and only loaded in ICU4J.
#
--DAT_FILES_SHORT=pnames.icu unames.icu cnvalias.icu coll/ucadata.icu coll/invuca.icu nfc.nrm nfkc.nrm nfkc_cf.nrm uts46.nrm
+-DAT_FILES_SHORT=unames.icu cnvalias.icu coll/ucadata.icu coll/invuca.icu nfc.nrm nfkc.nrm nfkc_cf.nrm uts46.nrm
+# CHROME: unames.icu is excluded from the data file.
+# coll/invuca.icu is also excluded. When building a ICU data file to check in,
+# we need to copy data/in/coll/invuca.icu to the build location (expected
@@ -12,11 +14,11 @@
+# presence when compiling coll/root.txt. We have to put it back if Webkit
+# begins to use it.
+# See https://bugs.webkit.org/show_bug.cgi?id=30437#c32 about invuca.icu.
-+DAT_FILES_SHORT=pnames.icu cnvalias.icu coll/ucadata.icu nfc.nrm nfkc.nrm nfkc_cf.nrm uts46.nrm
++DAT_FILES_SHORT=cnvalias.icu coll/ucadata.icu nfc.nrm nfkc.nrm nfkc_cf.nrm uts46.nrm
DAT_FILES=$(DAT_FILES_SHORT:%=$(BUILDDIR)/%)
## BRK files
-@@ -258,7 +265,8 @@
+@@ -271,7 +278,8 @@
-include $(UCMSRCDIR)/ucmfiles.mk
-include $(UCMSRCDIR)/ucmebcdic.mk
-include $(UCMSRCDIR)/ucmlocal.mk
@@ -26,7 +28,7 @@
UCM_FILES = $(ALL_UCM_SOURCE:%=$(SRCDATADIR)/%)
CNV_FILES = $(ALL_UCM_SOURCE:%.ucm=$(BUILDDIR)/%.cnv)
CNV_FILES_SHORT = $(ALL_UCM_SOURCE:%.ucm=%.cnv)
-@@ -325,7 +333,8 @@
+@@ -338,7 +346,8 @@
TRANSLIT_SRC_FILES = $(TRANSLIT_SRC:%=$(TRANSLITSRCDIR)/%)
INSTALLED_TRANSLIT_FILES = $(TRANSLIT_SOURCE:%.txt=%) $(TRANSLIT_SOURCE_LOCAL:%.txt=%)
endif
@@ -36,22 +38,16 @@
## MISC files
-include $(MISCSRCDIR)/miscfiles.mk
-@@ -494,7 +503,8 @@
- #################################################### SPP
- # SPP FILES
-
--$(BUILDDIR)/%.spp: $(SPREPSRCDIR)/%.txt $(TOOLBINDIR)/gensprep$(TOOLEXEEXT) $(BUILDDIR)/unames.icu $(BUILDDIR)/pnames.icu
-+# CHROME: We don't build unames.icu.
-+$(BUILDDIR)/%.spp: $(SPREPSRCDIR)/%.txt $(TOOLBINDIR)/gensprep$(TOOLEXEEXT) $(BUILDDIR)/pnames.icu
- $(INVOKE) $(TOOLBINDIR)/gensprep -d $(BUILDDIR) -i $(BUILDDIR) -s $(SPREPSRCDIR) -b $(@F:%.spp=%) -m $(UNICODEDATADIR) -u 3.2.0 $(<F)
-
- #################################################### BRK
---- source/tools/toolutil/pkg_genc.c 2010-07-12 11:03:29.000000000 -0700
-+++ source/tools/toolutil/pkg_genc.c 2011-01-27 17:16:33.624596000 -0800
-@@ -121,6 +121,10 @@
+Index: source/tools/toolutil/pkg_genc.c
+===================================================================
+--- source/tools/toolutil/pkg_genc.c (revision 259715)
++++ source/tools/toolutil/pkg_genc.c (working copy)
+@@ -119,7 +119,11 @@
+ ".globl %s\n"
"\t.section .note.GNU-stack,\"\",%%progbits\n"
"\t.section .rodata\n"
- "\t.align 8\n" /* Either align 8 bytes or 2^8 (256) bytes. 8 bytes is needed. */
+- "\t.balign 16\n"
++ "\t.balign 16\n"
+ /* The 3 lines below are added for Chrome. */
+ "#ifdef U_HIDE_DATA_SYMBOL\n"
+ "\t.hidden %s\n"
@@ -59,7 +55,7 @@
"\t.type %s,%%object\n"
"%s:\n\n",
-@@ -130,6 +134,10 @@
+@@ -129,6 +133,10 @@
/*"\t.section __TEXT,__text,regular,pure_instructions\n"
"\t.section __TEXT,__picsymbolstub1,symbol_stubs,pure_instructions,32\n"*/
".globl _%s\n"
@@ -69,8 +65,8 @@
+ "#endif\n"
"\t.data\n"
"\t.const\n"
- "\t.align 4\n" /* 1<<4 = 16 */
-@@ -249,7 +257,7 @@
+ "\t.balign 16\n"
+@@ -264,7 +272,7 @@
exit(U_FILE_ACCESS_ERROR);
}
« no previous file with comments | « icu52/patches/csetdet.patch ('k') | icu52/patches/gcc46.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698