mirror of
https://abf.rosa.ru/djam/chromium-browser-stable-test.git
synced 2025-02-23 17:42:45 +00:00
248 lines
6.5 KiB
Diff
248 lines
6.5 KiB
Diff
--- /dev/null 2016-10-22 17:04:13.204827706 +0200
|
|
+++ chromium-55.0.2883.11/build/linux/unbundle/icu.gn 2016-10-14 00:02:10.000000000 +0200
|
|
@@ -0,0 +1,235 @@
|
|
+# Copyright 2016 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.
|
|
+
|
|
+import("//build/config/linux/pkg_config.gni")
|
|
+import("//build/shim_headers.gni")
|
|
+
|
|
+group("icu") {
|
|
+ public_deps = [
|
|
+ ":icui18n",
|
|
+ ":icuuc",
|
|
+ ]
|
|
+}
|
|
+
|
|
+config("icu_config") {
|
|
+ defines = [
|
|
+ "USING_SYSTEM_ICU=1",
|
|
+ "ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC",
|
|
+ ]
|
|
+}
|
|
+
|
|
+pkg_config("system_icui18n") {
|
|
+ packages = [ "icu-i18n" ]
|
|
+}
|
|
+
|
|
+pkg_config("system_icuuc") {
|
|
+ packages = [ "icu-uc" ]
|
|
+}
|
|
+
|
|
+source_set("icui18n") {
|
|
+ deps = [
|
|
+ ":icui18n_shim",
|
|
+ ]
|
|
+ public_configs = [
|
|
+ ":icu_config",
|
|
+ ":system_icui18n",
|
|
+ ]
|
|
+}
|
|
+
|
|
+source_set("icuuc") {
|
|
+ deps = [
|
|
+ ":icuuc_shim",
|
|
+ ]
|
|
+ public_configs = [
|
|
+ ":icu_config",
|
|
+ ":system_icuuc",
|
|
+ ]
|
|
+}
|
|
+
|
|
+shim_headers("icui18n_shim") {
|
|
+ root_path = "source/i18n"
|
|
+ headers = [
|
|
+ # This list can easily be updated using the command below:
|
|
+ # find third_party/icu/source/i18n/unicode \
|
|
+ # -iname '*.h' -printf '"%p",\n' | \
|
|
+ # sed -e 's|third_party/icu/i18n/common/||' | sort -u
|
|
+ "unicode/alphaindex.h",
|
|
+ "unicode/basictz.h",
|
|
+ "unicode/calendar.h",
|
|
+ "unicode/choicfmt.h",
|
|
+ "unicode/coleitr.h",
|
|
+ "unicode/coll.h",
|
|
+ "unicode/compactdecimalformat.h",
|
|
+ "unicode/curramt.h",
|
|
+ "unicode/currpinf.h",
|
|
+ "unicode/currunit.h",
|
|
+ "unicode/datefmt.h",
|
|
+ "unicode/dcfmtsym.h",
|
|
+ "unicode/decimfmt.h",
|
|
+ "unicode/dtfmtsym.h",
|
|
+ "unicode/dtitvfmt.h",
|
|
+ "unicode/dtitvinf.h",
|
|
+ "unicode/dtptngen.h",
|
|
+ "unicode/dtrule.h",
|
|
+ "unicode/fieldpos.h",
|
|
+ "unicode/fmtable.h",
|
|
+ "unicode/format.h",
|
|
+ "unicode/fpositer.h",
|
|
+ "unicode/gender.h",
|
|
+ "unicode/gregocal.h",
|
|
+ "unicode/locdspnm.h",
|
|
+ "unicode/measfmt.h",
|
|
+ "unicode/measunit.h",
|
|
+ "unicode/measure.h",
|
|
+ "unicode/msgfmt.h",
|
|
+ "unicode/numfmt.h",
|
|
+ "unicode/numsys.h",
|
|
+ "unicode/plurfmt.h",
|
|
+ "unicode/plurrule.h",
|
|
+ "unicode/rbnf.h",
|
|
+ "unicode/rbtz.h",
|
|
+ "unicode/regex.h",
|
|
+ "unicode/region.h",
|
|
+ "unicode/reldatefmt.h",
|
|
+ "unicode/scientificnumberformatter.h",
|
|
+ "unicode/search.h",
|
|
+ "unicode/selfmt.h",
|
|
+ "unicode/simpletz.h",
|
|
+ "unicode/smpdtfmt.h",
|
|
+ "unicode/sortkey.h",
|
|
+ "unicode/stsearch.h",
|
|
+ "unicode/tblcoll.h",
|
|
+ "unicode/timezone.h",
|
|
+ "unicode/tmunit.h",
|
|
+ "unicode/tmutamt.h",
|
|
+ "unicode/tmutfmt.h",
|
|
+ "unicode/translit.h",
|
|
+ "unicode/tzfmt.h",
|
|
+ "unicode/tznames.h",
|
|
+ "unicode/tzrule.h",
|
|
+ "unicode/tztrans.h",
|
|
+ "unicode/ucal.h",
|
|
+ "unicode/ucol.h",
|
|
+ "unicode/ucoleitr.h",
|
|
+ "unicode/ucsdet.h",
|
|
+ "unicode/ucurr.h",
|
|
+ "unicode/udat.h",
|
|
+ "unicode/udateintervalformat.h",
|
|
+ "unicode/udatpg.h",
|
|
+ "unicode/udisplaycontext.h",
|
|
+ "unicode/ufieldpositer.h",
|
|
+ "unicode/uformattable.h",
|
|
+ "unicode/ugender.h",
|
|
+ "unicode/uldnames.h",
|
|
+ "unicode/ulocdata.h",
|
|
+ "unicode/umsg.h",
|
|
+ "unicode/unirepl.h",
|
|
+ "unicode/unum.h",
|
|
+ "unicode/unumsys.h",
|
|
+ "unicode/upluralrules.h",
|
|
+ "unicode/uregex.h",
|
|
+ "unicode/uregion.h",
|
|
+ "unicode/usearch.h",
|
|
+ "unicode/uspoof.h",
|
|
+ "unicode/utmscale.h",
|
|
+ "unicode/utrans.h",
|
|
+ "unicode/vtzone.h",
|
|
+ ]
|
|
+}
|
|
+
|
|
+shim_headers("icuuc_shim") {
|
|
+ root_path = "source/common"
|
|
+ headers = [
|
|
+ # This list can easily be updated using the command below:
|
|
+ # find third_party/icu/source/common/unicode \
|
|
+ # -iname '*.h' -printf '"%p",\n' | \
|
|
+ # sed -e 's|third_party/icu/source/common/||' | sort -u
|
|
+ "unicode/appendable.h",
|
|
+ "unicode/brkiter.h",
|
|
+ "unicode/bytestream.h",
|
|
+ "unicode/bytestrie.h",
|
|
+ "unicode/bytestriebuilder.h",
|
|
+ "unicode/caniter.h",
|
|
+ "unicode/chariter.h",
|
|
+ "unicode/dbbi.h",
|
|
+ "unicode/docmain.h",
|
|
+ "unicode/dtintrv.h",
|
|
+ "unicode/enumset.h",
|
|
+ "unicode/errorcode.h",
|
|
+ "unicode/filteredbrk.h",
|
|
+ "unicode/icudataver.h",
|
|
+ "unicode/icuplug.h",
|
|
+ "unicode/idna.h",
|
|
+ "unicode/listformatter.h",
|
|
+ "unicode/localpointer.h",
|
|
+ "unicode/locid.h",
|
|
+ "unicode/messagepattern.h",
|
|
+ "unicode/normalizer2.h",
|
|
+ "unicode/normlzr.h",
|
|
+ "unicode/parseerr.h",
|
|
+ "unicode/parsepos.h",
|
|
+ "unicode/platform.h",
|
|
+ "unicode/ptypes.h",
|
|
+ "unicode/putil.h",
|
|
+ "unicode/rbbi.h",
|
|
+ "unicode/rep.h",
|
|
+ "unicode/resbund.h",
|
|
+ "unicode/schriter.h",
|
|
+ "unicode/std_string.h",
|
|
+ "unicode/strenum.h",
|
|
+ "unicode/stringpiece.h",
|
|
+ "unicode/stringtriebuilder.h",
|
|
+ "unicode/symtable.h",
|
|
+ "unicode/ubidi.h",
|
|
+ "unicode/ubrk.h",
|
|
+ "unicode/ucasemap.h",
|
|
+ "unicode/ucat.h",
|
|
+ "unicode/uchar.h",
|
|
+ "unicode/ucharstrie.h",
|
|
+ "unicode/ucharstriebuilder.h",
|
|
+ "unicode/uchriter.h",
|
|
+ "unicode/uclean.h",
|
|
+ "unicode/ucnv.h",
|
|
+ "unicode/ucnv_cb.h",
|
|
+ "unicode/ucnv_err.h",
|
|
+ "unicode/ucnvsel.h",
|
|
+ "unicode/uconfig.h",
|
|
+ "unicode/udata.h",
|
|
+ "unicode/uenum.h",
|
|
+ "unicode/uidna.h",
|
|
+ "unicode/uiter.h",
|
|
+ "unicode/ulistformatter.h",
|
|
+ "unicode/uloc.h",
|
|
+ "unicode/umachine.h",
|
|
+ "unicode/umisc.h",
|
|
+ "unicode/unifilt.h",
|
|
+ "unicode/unifunct.h",
|
|
+ "unicode/unimatch.h",
|
|
+ "unicode/uniset.h",
|
|
+ "unicode/unistr.h",
|
|
+ "unicode/unorm.h",
|
|
+ "unicode/unorm2.h",
|
|
+ "unicode/uobject.h",
|
|
+ "unicode/urename.h",
|
|
+ "unicode/urep.h",
|
|
+ "unicode/ures.h",
|
|
+ "unicode/uscript.h",
|
|
+ "unicode/uset.h",
|
|
+ "unicode/usetiter.h",
|
|
+ "unicode/ushape.h",
|
|
+ "unicode/usprep.h",
|
|
+ "unicode/ustring.h",
|
|
+ "unicode/ustringtrie.h",
|
|
+ "unicode/utext.h",
|
|
+ "unicode/utf.h",
|
|
+ "unicode/utf16.h",
|
|
+ "unicode/utf32.h",
|
|
+ "unicode/utf8.h",
|
|
+ "unicode/utf_old.h",
|
|
+ "unicode/utrace.h",
|
|
+ "unicode/utypes.h",
|
|
+ "unicode/uvernum.h",
|
|
+ "unicode/uversion.h",
|
|
+ ]
|
|
+}
|
|
--- chromium-54.0.2840.71/build/linux/unbundle/replace_gn_files.py.gn-system-icu 2016-10-21 00:01:59.000000000 +0200
|
|
+++ chromium-54.0.2840.71/build/linux/unbundle/replace_gn_files.py 2016-10-22 21:31:25.859269944 +0200
|
|
@@ -20,6 +20,7 @@
|
|
'ffmpeg': 'third_party/ffmpeg/BUILD.gn',
|
|
'flac': 'third_party/flac/BUILD.gn',
|
|
'harfbuzz-ng': 'third_party/harfbuzz-ng/BUILD.gn',
|
|
+ 'icu': 'third_party/icu/BUILD.gn',
|
|
'libevent': 'base/third_party/libevent/BUILD.gn',
|
|
'libjpeg': 'build/secondary/third_party/libjpeg_turbo/BUILD.gn',
|
|
'libpng': 'third_party/libpng/BUILD.gn',
|