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

Side by Side Diff: patches/data.build.patch

Issue 856153003: ICU update to 54 - step 4 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@step3
Patch Set: add missing locale files Created 5 years, 11 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 unified diff | Download patch
« no previous file with comments | « README.chromium ('k') | patches/locale_google.patch » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 diff --git a/source/data/Makefile.in b/source/data/Makefile.in 1 diff --git a/source/data/Makefile.in b/source/data/Makefile.in
2 index b1b3b36..380cc1a 100644 2 index b1b3b36..88e3c35 100644
3 --- a/source/data/Makefile.in 3 --- a/source/data/Makefile.in
4 +++ b/source/data/Makefile.in 4 +++ b/source/data/Makefile.in
5 @@ -246,7 +246,8 @@ package390: $(OUTTMPDIR)/icudata390.lst $(PKGDATA_LIST) ./ic upkg.inc packagedata 5 @@ -246,7 +246,8 @@ package390: $(OUTTMPDIR)/icudata390.lst $(PKGDATA_LIST) ./ic upkg.inc packagedata
6 # 2010-dec Removed pnames.icu. 6 # 2010-dec Removed pnames.icu.
7 # These are now hardcoded in ICU4C and only loaded in ICU4J. 7 # These are now hardcoded in ICU4C and only loaded in ICU4J.
8 # 8 #
9 -DAT_FILES_SHORT=unames.icu cnvalias.icu coll/ucadata.icu nfkc.nrm nfkc_cf.nrm u ts46.nrm 9 -DAT_FILES_SHORT=unames.icu cnvalias.icu coll/ucadata.icu nfkc.nrm nfkc_cf.nrm u ts46.nrm
10 +# Chromium: Drop unames.icu because we don't need Unicode character names. 10 +# Chromium: Drop unames.icu because we don't need Unicode character names.
11 +DAT_FILES_SHORT=cnvalias.icu coll/ucadata.icu nfkc.nrm nfkc_cf.nrm uts46.nrm 11 +DAT_FILES_SHORT=cnvalias.icu coll/ucadata.icu nfkc.nrm nfkc_cf.nrm uts46.nrm
12 DAT_FILES=$(DAT_FILES_SHORT:%=$(BUILDDIR)/%) 12 DAT_FILES=$(DAT_FILES_SHORT:%=$(BUILDDIR)/%)
13 13
14 ## BRK files 14 ## BRK files
15 @@ -277,7 +278,8 @@ CFU_FILES=$(BUILDDIR)/$(CFU_FILES_SHORT) 15 @@ -277,7 +278,8 @@ CFU_FILES=$(BUILDDIR)/$(CFU_FILES_SHORT)
16 -include $(UCMSRCDIR)/ucmfiles.mk 16 -include $(UCMSRCDIR)/ucmfiles.mk
17 -include $(UCMSRCDIR)/ucmebcdic.mk 17 -include $(UCMSRCDIR)/ucmebcdic.mk
18 -include $(UCMSRCDIR)/ucmlocal.mk 18 -include $(UCMSRCDIR)/ucmlocal.mk
19 -ALL_UCM_SOURCE=ibm-37_P100-1995.ucm ibm-1047_P100-1995.ucm $(UCM_SOURCE_CORE) $ (UCM_SOURCE_FILES) $(UCM_SOURCE_EBCDIC) $(UCM_SOURCE_LOCAL) 19 -ALL_UCM_SOURCE=ibm-37_P100-1995.ucm ibm-1047_P100-1995.ucm $(UCM_SOURCE_CORE) $ (UCM_SOURCE_FILES) $(UCM_SOURCE_EBCDIC) $(UCM_SOURCE_LOCAL)
20 +# Chromium: Drop 2 ibm encodings not necessary. 20 +# Chromium: Drop 2 ibm encodings not necessary.
21 +ALL_UCM_SOURCE=$(UCM_SOURCE_CORE) $(UCM_SOURCE_FILES) $(UCM_SOURCE_EBCDIC) $(UC M_SOURCE_LOCAL) 21 +ALL_UCM_SOURCE=$(UCM_SOURCE_CORE) $(UCM_SOURCE_FILES) $(UCM_SOURCE_EBCDIC) $(UC M_SOURCE_LOCAL)
22 UCM_FILES = $(ALL_UCM_SOURCE:%=$(SRCDATADIR)/%) 22 UCM_FILES = $(ALL_UCM_SOURCE:%=$(SRCDATADIR)/%)
23 CNV_FILES = $(ALL_UCM_SOURCE:%.ucm=$(BUILDDIR)/%.cnv) 23 CNV_FILES = $(ALL_UCM_SOURCE:%.ucm=$(BUILDDIR)/%.cnv)
24 CNV_FILES_SHORT = $(ALL_UCM_SOURCE:%.ucm=%.cnv) 24 CNV_FILES_SHORT = $(ALL_UCM_SOURCE:%.ucm=%.cnv)
25 @@ -529,7 +531,14 @@ $(BUILDDIR)/%.icu: $(SRCDATADIR)/in/%.icu 25 @@ -351,7 +353,9 @@ TRANSLIT_SRC= $(TRANSLIT_SOURCE) $(TRANSLIT_ALIAS_SOURCE) $( TRANSLIT_SOURCE_LOCA
26 TRANSLIT_SRC_FILES = $(TRANSLIT_SRC:%=$(TRANSLITSRCDIR)/%)
27 INSTALLED_TRANSLIT_FILES = $(TRANSLIT_SOURCE:%.txt=%) $(TRANSLIT_SOURCE_LOCAL: %.txt=%)
28 endif
29 -GENRBOPTS=-k
30 +# Chromium : To save space, use '-R' option (exclude collation rules. just
31 +# include the compiled binary data.)
32 +GENRBOPTS=-k -R
33
34 ## MISC files
35 -include $(MISCSRCDIR)/miscfiles.mk
36 @@ -529,7 +533,14 @@ $(BUILDDIR)/%.icu: $(SRCDATADIR)/in/%.icu
26 $(BUILDDIR)/%.nrm: $(SRCDATADIR)/in/%.nrm 37 $(BUILDDIR)/%.nrm: $(SRCDATADIR)/in/%.nrm
27 $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $< $@ 38 $(INVOKE) $(TOOLBINDIR)/icupkg -t$(ICUDATA_CHAR) $< $@
28 39
29 -$(BUILDDIR)/coll/ucadata.icu: $(SRCDATADIR)/in/coll/ucadata-unihan.icu 40 -$(BUILDDIR)/coll/ucadata.icu: $(SRCDATADIR)/in/coll/ucadata-unihan.icu
30 +# Chromium: To cut down the data size by 280kB, 41 +# Chromium: To cut down the data size by 280kB,
31 +# use the code point order for CJK Ideographs in non-CJK locales instead 42 +# use the code point order for CJK Ideographs in non-CJK locales instead
32 +# of the UniHan radical-stroke order. The latter is better, but non-CJK 43 +# of the UniHan radical-stroke order. The latter is better, but non-CJK
33 +# locales do not have a great need for sorting CJK Ideographs. 44 +# locales do not have a great need for sorting CJK Ideographs.
34 +# Moreover, the most common subset (the original CJK Ideograph block) will 45 +# Moreover, the most common subset (the original CJK Ideograph block) will
35 +# still be sorted correctly because the code point order is radical-stroke 46 +# still be sorted correctly because the code point order is radical-stroke
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 "\t.balign 16\n" 79 "\t.balign 16\n"
69 @@ -264,7 +272,7 @@ writeAssemblyCode(const char *filename, const char *destdir, const char *optEntr 80 @@ -264,7 +272,7 @@ writeAssemblyCode(const char *filename, const char *destdir, const char *optEntr
70 exit(U_FILE_ACCESS_ERROR); 81 exit(U_FILE_ACCESS_ERROR);
71 } 82 }
72 83
73 - getOutFilename(filename, destdir, bufferStr, entry, ".s", optFilename); 84 - getOutFilename(filename, destdir, bufferStr, entry, ".s", optFilename);
74 + getOutFilename(filename, destdir, bufferStr, entry, ".S", optFilename); 85 + getOutFilename(filename, destdir, bufferStr, entry, ".S", optFilename);
75 out=T_FileStream_open(bufferStr, "w"); 86 out=T_FileStream_open(bufferStr, "w");
76 if(out==NULL) { 87 if(out==NULL) {
77 fprintf(stderr, "genccode: unable to open output file %s\n", bufferStr) ; 88 fprintf(stderr, "genccode: unable to open output file %s\n", bufferStr) ;
OLDNEW
« no previous file with comments | « README.chromium ('k') | patches/locale_google.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698