Gentoo Archives: gentoo-commits

From: Stephan Hartmann <sultan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/chromium/
Date: Mon, 04 Apr 2022 16:58:30
Message-Id: 1649091442.76bad991bb78ab12d5acd981c27200d0d9cdedd4.sultan@gentoo
1 commit: 76bad991bb78ab12d5acd981c27200d0d9cdedd4
2 Author: Stephan Hartmann <sultan <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 4 16:57:22 2022 +0000
4 Commit: Stephan Hartmann <sultan <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 4 16:57:22 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76bad991
7
8 www-client/chromium: drop 99.0.4844.82
9
10 Signed-off-by: Stephan Hartmann <sultan <AT> gentoo.org>
11
12 www-client/chromium/Manifest | 1 -
13 www-client/chromium/chromium-99.0.4844.82.ebuild | 1013 ----------------------
14 2 files changed, 1014 deletions(-)
15
16 diff --git a/www-client/chromium/Manifest b/www-client/chromium/Manifest
17 index a247d987afec..b7741cf49d5e 100644
18 --- a/www-client/chromium/Manifest
19 +++ b/www-client/chromium/Manifest
20 @@ -6,5 +6,4 @@ DIST chromium-101.0.4951.15.tar.xz 1400555704 BLAKE2B 2757239c9935af8c8b7a2ed973
21 DIST chromium-102-patchset-1.tar.xz 3804 BLAKE2B 099109dab19ef3e45a1927a893b5d5484d8743458b2027b3cc3aad644f970bbd3fafc2d56f958b33c52b8aaa42f5498ffd4a73baf82374e73e3aaa7deebbefe2 SHA512 1411050d819034e1eeee2918cd8d5daf29982e7a3965d1f0cd9833dfddd488108aa38780f459ec0abc7d5b5dfa395e3f464a3555d6208908966e0c23fb4af01f
22 DIST chromium-102.0.4972.0.tar.xz 1405292324 BLAKE2B 470dc49986b34b7c8c8759a44ab28b5ee562fce6999ec1456a357d16c2fd0239f734937caef658363b04e1e6889410b4d1773325c120545a7537c640c66e6ae2 SHA512 b4e39297c42a51cf7ab52c8022191434bcd583a1ee3b56a6e5dcce9e0c9d3dfd6f12cb09efb1562efb9b29770af7fe930d850eb31a551e7bf41507cec7757167
23 DIST chromium-99-patchset-3.tar.xz 3912 BLAKE2B 79030156e81ebd6b3c348fb429e23d0c866059e047e7cdc0f656a1b1ee290f3afa8b358d0e1df18a86616a35a9a256e7432a5ab4e9b952c7a360aed871236659 SHA512 63d951cb3d17c1d02d9ddbee3a44aca000c5ba2f908012584944ce7fc435aebfe39b9628d4bd043df97c4dd7afa0ad614c65368ca759b64a84654126f06f9ea8
24 -DIST chromium-99.0.4844.82.tar.xz 1316414584 BLAKE2B 6a6ae471c8bc586a936d95c1fd12d9937a4569339e30c771196fdfe7d5e76db69924c37551f09a8f59f573c1b3a8a0a699e68f00bf1eda35c7c28abe8d7a83d9 SHA512 9fa06c40fa99ee5a954667be4f04db1347b4e95583dd40d2a647ba7b6b8551453be78eef28ca6a29d325490fa3555d96fa49ce6e804f041f0b84a3d609bff2a2
25 DIST chromium-99.0.4844.84.tar.xz 1326587000 BLAKE2B 9a59f6f521ed9d1ad5d061f9cad4df969c163b532089a18215b0c92de263f838ae64358cc3c52eaf28843e1eedcfb4009d76cbfa1882f5985d2dc5e2e86365a2 SHA512 7d8bd7e03fc3c8f546f4b9d49fd0191a9b174f1eea4ea53673e0337dbe985ee56b31de132bf0b228ca741416f9b6aa707ee182021fc65df37b193aab75ab05cc
26
27 diff --git a/www-client/chromium/chromium-99.0.4844.82.ebuild b/www-client/chromium/chromium-99.0.4844.82.ebuild
28 deleted file mode 100644
29 index 7c303138d525..000000000000
30 --- a/www-client/chromium/chromium-99.0.4844.82.ebuild
31 +++ /dev/null
32 @@ -1,1013 +0,0 @@
33 -# Copyright 2009-2022 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=8
37 -PYTHON_COMPAT=( python3_{8..10} )
38 -PYTHON_REQ_USE="xml"
39 -
40 -CHROMIUM_LANGS="am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu he
41 - hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr
42 - sv sw ta te th tr uk vi zh-CN zh-TW"
43 -
44 -inherit check-reqs chromium-2 desktop flag-o-matic ninja-utils pax-utils python-any-r1 readme.gentoo-r1 toolchain-funcs xdg-utils
45 -
46 -DESCRIPTION="Open-source version of Google Chrome web browser"
47 -HOMEPAGE="https://chromium.org/"
48 -PATCHSET="3"
49 -PATCHSET_NAME="chromium-$(ver_cut 1)-patchset-${PATCHSET}"
50 -SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.xz
51 - https://github.com/stha09/chromium-patches/releases/download/${PATCHSET_NAME}/${PATCHSET_NAME}.tar.xz"
52 -
53 -LICENSE="BSD"
54 -SLOT="0/stable"
55 -KEYWORDS="~amd64 arm64 ~x86"
56 -IUSE="component-build cups cpu_flags_arm_neon debug gtk4 +hangouts headless +js-type-check kerberos libcxx +official pic +proprietary-codecs pulseaudio screencast selinux +suid +system-ffmpeg +system-harfbuzz +system-icu +system-png vaapi wayland widevine"
57 -REQUIRED_USE="
58 - component-build? ( !suid !libcxx )
59 - screencast? ( wayland )
60 -"
61 -
62 -COMMON_X_DEPEND="
63 - x11-libs/gdk-pixbuf:2
64 - x11-libs/libXcomposite:=
65 - x11-libs/libXcursor:=
66 - x11-libs/libXdamage:=
67 - x11-libs/libXfixes:=
68 - >=x11-libs/libXi-1.6.0:=
69 - x11-libs/libXrandr:=
70 - x11-libs/libXrender:=
71 - x11-libs/libXtst:=
72 - x11-libs/libxshmfence:=
73 - virtual/opengl
74 -"
75 -
76 -COMMON_SNAPSHOT_DEPEND="
77 - system-icu? ( >=dev-libs/icu-69.1:= )
78 - >=dev-libs/libxml2-2.9.4-r3:=[icu]
79 - dev-libs/nspr:=
80 - >=dev-libs/nss-3.26:=
81 - !libcxx? ( >=dev-libs/re2-0.2019.08.01:= )
82 - dev-libs/libxslt:=
83 - media-libs/fontconfig:=
84 - >=media-libs/freetype-2.11.0-r1:=
85 - system-harfbuzz? ( >=media-libs/harfbuzz-3:0=[icu(-)] )
86 - media-libs/libjpeg-turbo:=
87 - system-png? ( media-libs/libpng:=[-apng] )
88 - >=media-libs/libwebp-0.4.0:=
89 - media-libs/mesa:=[gbm(+)]
90 - >=media-libs/openh264-1.6.0:=
91 - sys-libs/zlib:=
92 - x11-libs/libdrm:=
93 - !headless? (
94 - dev-libs/glib:2
95 - >=media-libs/alsa-lib-1.0.19:=
96 - pulseaudio? ( media-sound/pulseaudio:= )
97 - sys-apps/pciutils:=
98 - kerberos? ( virtual/krb5 )
99 - vaapi? ( >=x11-libs/libva-2.7:=[X] )
100 - x11-libs/libX11:=
101 - x11-libs/libXext:=
102 - x11-libs/libxcb:=
103 - x11-libs/libxkbcommon:=
104 - wayland? (
105 - dev-libs/wayland:=
106 - screencast? ( media-video/pipewire:= )
107 - )
108 - )
109 -"
110 -
111 -COMMON_DEPEND="
112 - ${COMMON_SNAPSHOT_DEPEND}
113 - app-arch/bzip2:=
114 - dev-libs/expat:=
115 - system-ffmpeg? (
116 - >=media-video/ffmpeg-4.3:=
117 - || (
118 - media-video/ffmpeg[-samba]
119 - >=net-fs/samba-4.5.10-r1[-debug(-)]
120 - )
121 - >=media-libs/opus-1.3.1:=
122 - )
123 - net-misc/curl[ssl]
124 - sys-apps/dbus:=
125 - media-libs/flac:=
126 - sys-libs/zlib:=[minizip]
127 - !headless? (
128 - ${COMMON_X_DEPEND}
129 - >=app-accessibility/at-spi2-atk-2.26:2
130 - >=app-accessibility/at-spi2-core-2.26:2
131 - >=dev-libs/atk-2.26
132 - cups? ( >=net-print/cups-1.3.11:= )
133 - virtual/udev
134 - x11-libs/cairo:=
135 - x11-libs/pango:=
136 - )
137 -"
138 -RDEPEND="${COMMON_DEPEND}
139 - !headless? (
140 - || (
141 - x11-libs/gtk+:3[X,wayland?]
142 - gui-libs/gtk:4[X,wayland?]
143 - )
144 - )
145 - x11-misc/xdg-utils
146 - virtual/ttf-fonts
147 - selinux? ( sec-policy/selinux-chromium )
148 -"
149 -DEPEND="${COMMON_DEPEND}
150 - !headless? (
151 - gtk4? ( gui-libs/gtk:4[X,wayland?] )
152 - !gtk4? ( x11-libs/gtk+:3[X,wayland?] )
153 - )
154 -"
155 -BDEPEND="
156 - ${COMMON_SNAPSHOT_DEPEND}
157 - ${PYTHON_DEPS}
158 - $(python_gen_any_dep '
159 - dev-python/setuptools[${PYTHON_USEDEP}]
160 - ')
161 - >=app-arch/gzip-1.7
162 - libcxx? ( >=sys-devel/clang-12 )
163 - dev-lang/perl
164 - >=dev-util/gn-0.1807
165 - >=dev-util/gperf-3.0.3
166 - >=dev-util/ninja-1.7.2
167 - >=net-libs/nodejs-7.6.0[inspector]
168 - >=sys-devel/bison-2.4.3
169 - sys-devel/flex
170 - virtual/pkgconfig
171 - js-type-check? ( virtual/jre )
172 -"
173 -
174 -# These are intended for ebuild maintainer use to force clang if GCC is broken.
175 -: ${CHROMIUM_FORCE_CLANG=no}
176 -
177 -if [[ ${CHROMIUM_FORCE_CLANG} == yes ]]; then
178 - BDEPEND+=" >=sys-devel/clang-12"
179 -fi
180 -
181 -if ! has chromium_pkg_die ${EBUILD_DEATH_HOOKS}; then
182 - EBUILD_DEATH_HOOKS+=" chromium_pkg_die";
183 -fi
184 -
185 -DISABLE_AUTOFORMATTING="yes"
186 -DOC_CONTENTS="
187 -Some web pages may require additional fonts to display properly.
188 -Try installing some of the following packages if some characters
189 -are not displayed properly:
190 -- media-fonts/arphicfonts
191 -- media-fonts/droid
192 -- media-fonts/ipamonafont
193 -- media-fonts/noto
194 -- media-fonts/ja-ipafonts
195 -- media-fonts/takao-fonts
196 -- media-fonts/wqy-microhei
197 -- media-fonts/wqy-zenhei
198 -
199 -To fix broken icons on the Downloads page, you should install an icon
200 -theme that covers the appropriate MIME types, and configure this as your
201 -GTK+ icon theme.
202 -
203 -For native file dialogs in KDE, install kde-apps/kdialog.
204 -
205 -To make password storage work with your desktop environment you may
206 -have install one of the supported credentials management applications:
207 -- app-crypt/libsecret (GNOME)
208 -- kde-frameworks/kwallet (KDE)
209 -If you have one of above packages installed, but don't want to use
210 -them in Chromium, then add --password-store=basic to CHROMIUM_FLAGS
211 -in /etc/chromium/default.
212 -"
213 -
214 -python_check_deps() {
215 - has_version -b "dev-python/setuptools[${PYTHON_USEDEP}]"
216 -}
217 -
218 -pre_build_checks() {
219 - if [[ ${MERGE_TYPE} != binary ]]; then
220 - local -x CPP="$(tc-getCXX) -E"
221 - if tc-is-gcc && ! ver_test "$(gcc-version)" -ge 9.2; then
222 - die "At least gcc 9.2 is required"
223 - fi
224 - if [[ ${CHROMIUM_FORCE_CLANG} == yes ]] || tc-is-clang || use libcxx; then
225 - tc-is-cross-compiler && CPP=${CBUILD}-clang++ || CPP=${CHOST}-clang++
226 - CPP+=" -E"
227 - if ! ver_test "$(clang-major-version)" -ge 12; then
228 - die "At least clang 12 is required"
229 - fi
230 - fi
231 - fi
232 -
233 - # Check build requirements, bug #541816 and bug #471810 .
234 - CHECKREQS_MEMORY="4G"
235 - CHECKREQS_DISK_BUILD="9G"
236 - tc-is-cross-compiler && CHECKREQS_DISK_BUILD="12G"
237 - if ( shopt -s extglob; is-flagq '-g?(gdb)?([1-9])' ); then
238 - if use custom-cflags || use component-build; then
239 - CHECKREQS_DISK_BUILD="25G"
240 - fi
241 - if ! use component-build; then
242 - CHECKREQS_MEMORY="16G"
243 - fi
244 - fi
245 - check-reqs_pkg_setup
246 -}
247 -
248 -pkg_pretend() {
249 - pre_build_checks
250 -
251 - if use headless; then
252 - local headless_unused_flags=("cups" "kerberos" "pulseaudio" "vaapi" "wayland")
253 - for myiuse in ${headless_unused_flags[@]}; do
254 - use ${myiuse} && ewarn "Ignoring USE=${myiuse} since USE=headless is set."
255 - done
256 - fi
257 -}
258 -
259 -pkg_setup() {
260 - pre_build_checks
261 -
262 - chromium_suid_sandbox_check_kernel_config
263 -
264 - # nvidia-drivers does not work correctly with Wayland due to unsupported EGLStreams
265 - if use wayland && ! use headless && has_version "x11-drivers/nvidia-drivers"; then
266 - ewarn "Proprietary nVidia driver does not work with Wayland. You can disable"
267 - ewarn "Wayland by setting DISABLE_OZONE_PLATFORM=true in /etc/chromium/default."
268 - fi
269 -}
270 -
271 -src_prepare() {
272 - # Calling this here supports resumption via FEATURES=keepwork
273 - python_setup
274 -
275 - local PATCHES=(
276 - "${WORKDIR}/patches"
277 - "${FILESDIR}/chromium-93-InkDropHost-crash.patch"
278 - "${FILESDIR}/chromium-97-arm-tflite-cast.patch"
279 - "${FILESDIR}/chromium-98-EnumTable-crash.patch"
280 - "${FILESDIR}/chromium-98-system-libdrm.patch"
281 - "${FILESDIR}/chromium-98-gtk4-build.patch"
282 - "${FILESDIR}/chromium-glibc-2.34-r1.patch"
283 - "${FILESDIR}/chromium-use-oauth2-client-switches-as-default.patch"
284 - "${FILESDIR}/chromium-shim_headers.patch"
285 - "${FILESDIR}/chromium-cross-compile.patch"
286 - )
287 -
288 - default
289 -
290 - mkdir -p third_party/node/linux/node-linux-x64/bin || die
291 - ln -s "${EPREFIX}"/usr/bin/node third_party/node/linux/node-linux-x64/bin/node || die
292 -
293 - # adjust python interpreter version
294 - sed -i -e "s|\(^script_executable = \).*|\1\"${EPYTHON}\"|g" .gn || die
295 -
296 - local keeplibs=(
297 - base/third_party/cityhash
298 - base/third_party/double_conversion
299 - base/third_party/dynamic_annotations
300 - base/third_party/icu
301 - base/third_party/nspr
302 - base/third_party/superfasthash
303 - base/third_party/symbolize
304 - base/third_party/valgrind
305 - base/third_party/xdg_mime
306 - base/third_party/xdg_user_dirs
307 - buildtools/third_party/libc++
308 - buildtools/third_party/libc++abi
309 - chrome/third_party/mozilla_security_manager
310 - courgette/third_party
311 - net/third_party/mozilla_security_manager
312 - net/third_party/nss
313 - net/third_party/quic
314 - net/third_party/uri_template
315 - third_party/abseil-cpp
316 - third_party/angle
317 - third_party/angle/src/common/third_party/base
318 - third_party/angle/src/common/third_party/smhasher
319 - third_party/angle/src/common/third_party/xxhash
320 - third_party/angle/src/third_party/libXNVCtrl
321 - third_party/angle/src/third_party/trace_event
322 - third_party/angle/src/third_party/volk
323 - third_party/apple_apsl
324 - third_party/axe-core
325 - third_party/blink
326 - third_party/boringssl
327 - third_party/boringssl/src/third_party/fiat
328 - third_party/breakpad
329 - third_party/breakpad/breakpad/src/third_party/curl
330 - third_party/brotli
331 - third_party/catapult
332 - third_party/catapult/common/py_vulcanize/third_party/rcssmin
333 - third_party/catapult/common/py_vulcanize/third_party/rjsmin
334 - third_party/catapult/third_party/beautifulsoup4-4.9.3
335 - third_party/catapult/third_party/html5lib-1.1
336 - third_party/catapult/third_party/polymer
337 - third_party/catapult/third_party/six
338 - third_party/catapult/tracing/third_party/d3
339 - third_party/catapult/tracing/third_party/gl-matrix
340 - third_party/catapult/tracing/third_party/jpeg-js
341 - third_party/catapult/tracing/third_party/jszip
342 - third_party/catapult/tracing/third_party/mannwhitneyu
343 - third_party/catapult/tracing/third_party/oboe
344 - third_party/catapult/tracing/third_party/pako
345 - third_party/ced
346 - third_party/cld_3
347 - third_party/closure_compiler
348 - third_party/crashpad
349 - third_party/crashpad/crashpad/third_party/lss
350 - third_party/crashpad/crashpad/third_party/zlib
351 - third_party/crc32c
352 - third_party/cros_system_api
353 - third_party/dav1d
354 - third_party/dawn
355 - third_party/dawn/third_party/khronos
356 - third_party/dawn/third_party/tint
357 - third_party/depot_tools
358 - third_party/devscripts
359 - third_party/devtools-frontend
360 - third_party/devtools-frontend/src/front_end/third_party/acorn
361 - third_party/devtools-frontend/src/front_end/third_party/additional_readme_paths.json
362 - third_party/devtools-frontend/src/front_end/third_party/axe-core
363 - third_party/devtools-frontend/src/front_end/third_party/chromium
364 - third_party/devtools-frontend/src/front_end/third_party/codemirror
365 - third_party/devtools-frontend/src/front_end/third_party/diff
366 - third_party/devtools-frontend/src/front_end/third_party/i18n
367 - third_party/devtools-frontend/src/front_end/third_party/intl-messageformat
368 - third_party/devtools-frontend/src/front_end/third_party/lighthouse
369 - third_party/devtools-frontend/src/front_end/third_party/lit-html
370 - third_party/devtools-frontend/src/front_end/third_party/lodash-isequal
371 - third_party/devtools-frontend/src/front_end/third_party/marked
372 - third_party/devtools-frontend/src/front_end/third_party/puppeteer
373 - third_party/devtools-frontend/src/front_end/third_party/wasmparser
374 - third_party/devtools-frontend/src/test/unittests/front_end/third_party/i18n
375 - third_party/devtools-frontend/src/third_party
376 - third_party/distributed_point_functions
377 - third_party/dom_distiller_js
378 - third_party/eigen3
379 - third_party/emoji-segmenter
380 - third_party/farmhash
381 - third_party/fdlibm
382 - third_party/fft2d
383 - third_party/flatbuffers
384 - third_party/freetype
385 - third_party/fusejs
386 - third_party/highway
387 - third_party/libgifcodec
388 - third_party/liburlpattern
389 - third_party/libzip
390 - third_party/gemmlowp
391 - third_party/google_input_tools
392 - third_party/google_input_tools/third_party/closure_library
393 - third_party/google_input_tools/third_party/closure_library/third_party/closure
394 - third_party/googletest
395 - third_party/hunspell
396 - third_party/iccjpeg
397 - third_party/inspector_protocol
398 - third_party/jinja2
399 - third_party/jsoncpp
400 - third_party/jstemplate
401 - third_party/khronos
402 - third_party/leveldatabase
403 - third_party/libXNVCtrl
404 - third_party/libaddressinput
405 - third_party/libaom
406 - third_party/libaom/source/libaom/third_party/fastfeat
407 - third_party/libaom/source/libaom/third_party/vector
408 - third_party/libaom/source/libaom/third_party/x86inc
409 - third_party/libavif
410 - third_party/libgav1
411 - third_party/libjingle
412 - third_party/libjxl
413 - third_party/libphonenumber
414 - third_party/libsecret
415 - third_party/libsrtp
416 - third_party/libsync
417 - third_party/libudev
418 - third_party/libva_protected_content
419 - third_party/libvpx
420 - third_party/libvpx/source/libvpx/third_party/x86inc
421 - third_party/libwebm
422 - third_party/libx11
423 - third_party/libxcb-keysyms
424 - third_party/libxml/chromium
425 - third_party/libyuv
426 - third_party/llvm
427 - third_party/lottie
428 - third_party/lss
429 - third_party/lzma_sdk
430 - third_party/mako
431 - third_party/maldoca
432 - third_party/maldoca/src/third_party/tensorflow_protos
433 - third_party/maldoca/src/third_party/zlibwrapper
434 - third_party/markupsafe
435 - third_party/mesa
436 - third_party/metrics_proto
437 - third_party/minigbm
438 - third_party/modp_b64
439 - third_party/nasm
440 - third_party/nearby
441 - third_party/neon_2_sse
442 - third_party/node
443 - third_party/node/node_modules/polymer-bundler/lib/third_party/UglifyJS2
444 - third_party/one_euro_filter
445 - third_party/opencv
446 - third_party/openscreen
447 - third_party/openscreen/src/third_party/mozilla
448 - third_party/openscreen/src/third_party/tinycbor/src/src
449 - third_party/ots
450 - third_party/pdfium
451 - third_party/pdfium/third_party/agg23
452 - third_party/pdfium/third_party/base
453 - third_party/pdfium/third_party/bigint
454 - third_party/pdfium/third_party/freetype
455 - third_party/pdfium/third_party/lcms
456 - third_party/pdfium/third_party/libopenjpeg20
457 - third_party/pdfium/third_party/libpng16
458 - third_party/pdfium/third_party/libtiff
459 - third_party/pdfium/third_party/skia_shared
460 - third_party/perfetto
461 - third_party/perfetto/protos/third_party/chromium
462 - third_party/pffft
463 - third_party/ply
464 - third_party/polymer
465 - third_party/private-join-and-compute
466 - third_party/private_membership
467 - third_party/protobuf
468 - third_party/protobuf/third_party/six
469 - third_party/pyjson5
470 - third_party/qcms
471 - third_party/rnnoise
472 - third_party/s2cellid
473 - third_party/securemessage
474 - third_party/shell-encryption
475 - third_party/simplejson
476 - third_party/skia
477 - third_party/skia/include/third_party/skcms
478 - third_party/skia/include/third_party/vulkan
479 - third_party/skia/third_party/skcms
480 - third_party/skia/third_party/vulkan
481 - third_party/smhasher
482 - third_party/snappy
483 - third_party/sqlite
484 - third_party/swiftshader
485 - third_party/swiftshader/third_party/astc-encoder
486 - third_party/swiftshader/third_party/llvm-subzero
487 - third_party/swiftshader/third_party/marl
488 - third_party/swiftshader/third_party/subzero
489 - third_party/swiftshader/third_party/SPIRV-Headers/include/spirv/unified1
490 - third_party/tcmalloc
491 - third_party/tensorflow-text
492 - third_party/tflite
493 - third_party/tflite/src/third_party/eigen3
494 - third_party/tflite/src/third_party/fft2d
495 - third_party/ruy
496 - third_party/six
497 - third_party/ukey2
498 - third_party/unrar
499 - third_party/usrsctp
500 - third_party/utf
501 - third_party/vulkan
502 - third_party/web-animations-js
503 - third_party/webdriver
504 - third_party/webgpu-cts
505 - third_party/webrtc
506 - third_party/webrtc/common_audio/third_party/ooura
507 - third_party/webrtc/common_audio/third_party/spl_sqrt_floor
508 - third_party/webrtc/modules/third_party/fft
509 - third_party/webrtc/modules/third_party/g711
510 - third_party/webrtc/modules/third_party/g722
511 - third_party/webrtc/rtc_base/third_party/base64
512 - third_party/webrtc/rtc_base/third_party/sigslot
513 - third_party/widevine
514 - third_party/woff2
515 - third_party/wuffs
516 - third_party/x11proto
517 - third_party/xcbproto
518 - third_party/zxcvbn-cpp
519 - third_party/zlib/google
520 - url/third_party/mozilla
521 - v8/src/third_party/siphash
522 - v8/src/third_party/valgrind
523 - v8/src/third_party/utf8-decoder
524 - v8/third_party/inspector_protocol
525 - v8/third_party/v8
526 -
527 - # gyp -> gn leftovers
528 - base/third_party/libevent
529 - third_party/speech-dispatcher
530 - third_party/usb_ids
531 - third_party/xdg-utils
532 - )
533 - if ! use system-ffmpeg; then
534 - keeplibs+=( third_party/ffmpeg third_party/opus )
535 - fi
536 - if ! use system-icu; then
537 - keeplibs+=( third_party/icu )
538 - fi
539 - if ! use system-png; then
540 - keeplibs+=( third_party/libpng )
541 - fi
542 - if use libcxx; then
543 - keeplibs+=( third_party/re2 )
544 - fi
545 - if use system-harfbuzz; then
546 - keeplibs+=( third_party/harfbuzz-ng/utils )
547 - else
548 - keeplibs+=( third_party/harfbuzz-ng )
549 - fi
550 - if use wayland && ! use headless ; then
551 - keeplibs+=( third_party/wayland )
552 - fi
553 - if use arm64 || use ppc64 ; then
554 - keeplibs+=( third_party/swiftshader/third_party/llvm-10.0 )
555 - fi
556 - # we need to generate ppc64 stuff because upstream does not ship it yet
557 - # it has to be done before unbundling.
558 - if use ppc64; then
559 - pushd third_party/libvpx >/dev/null || die
560 - mkdir -p source/config/linux/ppc64 || die
561 - # requires git and clang, bug #832803
562 - sed -i -e "s|^update_readme||g; s|clang-format|${EPREFIX}/bin/true|g" \
563 - generate_gni.sh || die
564 - ./generate_gni.sh || die
565 - popd >/dev/null || die
566 - fi
567 -
568 - # Remove most bundled libraries. Some are still needed.
569 - build/linux/unbundle/remove_bundled_libraries.py "${keeplibs[@]}" --do-remove || die
570 -
571 - if use js-type-check; then
572 - ln -s "${EPREFIX}"/usr/bin/java third_party/jdk/current/bin/java || die
573 - fi
574 -
575 - # bundled eu-strip is for amd64 only and we don't want to pre-stripped binaries
576 - mkdir -p buildtools/third_party/eu-strip/bin || die
577 - ln -s "${EPREFIX}"/bin/true buildtools/third_party/eu-strip/bin/eu-strip || die
578 -}
579 -
580 -src_configure() {
581 - # Calling this here supports resumption via FEATURES=keepwork
582 - python_setup
583 -
584 - local myconf_gn=""
585 -
586 - # Make sure the build system will use the right tools, bug #340795.
587 - tc-export AR CC CXX NM
588 -
589 - if { [[ ${CHROMIUM_FORCE_CLANG} == yes ]] || use libcxx; } && ! tc-is-clang; then
590 - # Force clang since gcc is either broken or build is using libcxx.
591 - if tc-is-cross-compiler; then
592 - CC="${CBUILD}-clang -target ${CHOST} --sysroot ${ESYSROOT}"
593 - CXX="${CBUILD}-clang++ -target ${CHOST} --sysroot ${ESYSROOT}"
594 - BUILD_CC=${CBUILD}-clang
595 - BUILD_CXX=${CBUILD}-clang++
596 - else
597 - CC=${CHOST}-clang
598 - CXX=${CHOST}-clang++
599 - fi
600 - strip-unsupported-flags
601 - fi
602 -
603 - if tc-is-clang || use libcxx; then
604 - myconf_gn+=" is_clang=true clang_use_chrome_plugins=false"
605 - else
606 - myconf_gn+=" is_clang=false"
607 - fi
608 -
609 - # Define a custom toolchain for GN
610 - myconf_gn+=" custom_toolchain=\"//build/toolchain/linux/unbundle:default\""
611 -
612 - if tc-is-cross-compiler; then
613 - tc-export BUILD_{AR,CC,CXX,NM}
614 - myconf_gn+=" host_toolchain=\"//build/toolchain/linux/unbundle:host\""
615 - myconf_gn+=" v8_snapshot_toolchain=\"//build/toolchain/linux/unbundle:host\""
616 - myconf_gn+=" pkg_config=\"$(tc-getPKG_CONFIG)\""
617 - myconf_gn+=" host_pkg_config=\"$(tc-getBUILD_PKG_CONFIG)\""
618 -
619 - # setup cups-config, build system only uses --libs option
620 - if use cups; then
621 - mkdir "${T}/cups-config" || die
622 - cp "${ESYSROOT}/usr/bin/${CHOST}-cups-config" "${T}/cups-config/cups-config" || die
623 - export PATH="${PATH}:${T}/cups-config"
624 - fi
625 -
626 - # Don't inherit PKG_CONFIG_PATH from environment
627 - local -x PKG_CONFIG_PATH=
628 - else
629 - myconf_gn+=" host_toolchain=\"//build/toolchain/linux/unbundle:default\""
630 - fi
631 -
632 - # GN needs explicit config for Debug/Release as opposed to inferring it from build directory.
633 - myconf_gn+=" is_debug=false"
634 -
635 - # enable DCHECK with USE=debug only, increases chrome binary size by 30%, bug #811138.
636 - # DCHECK is fatal by default, make it configurable at runtime, #bug 807881.
637 - myconf_gn+=" dcheck_always_on=$(usex debug true false)"
638 - myconf_gn+=" dcheck_is_configurable=$(usex debug true false)"
639 -
640 - # Component build isn't generally intended for use by end users. It's mostly useful
641 - # for development and debugging.
642 - myconf_gn+=" is_component_build=$(usex component-build true false)"
643 -
644 - # Disable nacl, we can't build without pnacl (http://crbug.com/269560).
645 - myconf_gn+=" enable_nacl=false"
646 -
647 - # Use system-provided libraries.
648 - # TODO: freetype -- remove sources (https://bugs.chromium.org/p/pdfium/issues/detail?id=733).
649 - # TODO: use_system_hunspell (upstream changes needed).
650 - # TODO: use_system_protobuf (bug #525560).
651 - # TODO: use_system_sqlite (http://crbug.com/22208).
652 -
653 - # libevent: https://bugs.gentoo.org/593458
654 - local gn_system_libraries=(
655 - flac
656 - fontconfig
657 - freetype
658 - # Need harfbuzz_from_pkgconfig target
659 - #harfbuzz-ng
660 - libdrm
661 - libjpeg
662 - libwebp
663 - libxml
664 - libxslt
665 - openh264
666 - zlib
667 - )
668 - if use system-ffmpeg; then
669 - gn_system_libraries+=( ffmpeg opus )
670 - fi
671 - if use system-icu; then
672 - gn_system_libraries+=( icu )
673 - fi
674 - if use system-png; then
675 - gn_system_libraries+=( libpng )
676 - fi
677 - # re2 library interface relies on std::string and std::vector
678 - if ! use libcxx; then
679 - gn_system_libraries+=( re2 )
680 - fi
681 - build/linux/unbundle/replace_gn_files.py --system-libraries "${gn_system_libraries[@]}" || die
682 -
683 - # See dependency logic in third_party/BUILD.gn
684 - myconf_gn+=" use_system_harfbuzz=$(usex system-harfbuzz true false)"
685 -
686 - # Disable deprecated libgnome-keyring dependency, bug #713012
687 - myconf_gn+=" use_gnome_keyring=false"
688 -
689 - # Optional dependencies.
690 - myconf_gn+=" enable_js_type_check=$(usex js-type-check true false)"
691 - myconf_gn+=" enable_hangout_services_extension=$(usex hangouts true false)"
692 - myconf_gn+=" enable_widevine=$(usex widevine true false)"
693 -
694 - if use headless; then
695 - myconf_gn+=" use_cups=false"
696 - myconf_gn+=" use_kerberos=false"
697 - myconf_gn+=" use_pulseaudio=false"
698 - myconf_gn+=" use_vaapi=false"
699 - myconf_gn+=" rtc_use_pipewire=false"
700 - else
701 - myconf_gn+=" use_cups=$(usex cups true false)"
702 - myconf_gn+=" use_kerberos=$(usex kerberos true false)"
703 - myconf_gn+=" use_pulseaudio=$(usex pulseaudio true false)"
704 - myconf_gn+=" use_vaapi=$(usex vaapi true false)"
705 - myconf_gn+=" rtc_use_pipewire=$(usex screencast true false)"
706 - myconf_gn+=" gtk_version=$(usex gtk4 4 3)"
707 - fi
708 -
709 - # TODO: link_pulseaudio=true for GN.
710 -
711 - myconf_gn+=" disable_fieldtrial_testing_config=true"
712 -
713 - # Never use bundled gold binary. Disable gold linker flags for now.
714 - # Do not use bundled clang.
715 - # Trying to use gold results in linker crash.
716 - myconf_gn+=" use_gold=false use_sysroot=false"
717 - myconf_gn+=" use_custom_libcxx=$(usex libcxx true false)"
718 -
719 - # Disable forced lld, bug 641556
720 - myconf_gn+=" use_lld=false"
721 -
722 - # Disable pseudolocales, only used for testing
723 - myconf_gn+=" enable_pseudolocales=false"
724 -
725 - # Disable code formating of generated files
726 - myconf_gn+=" blink_enable_generated_code_formatting=false"
727 -
728 - ffmpeg_branding="$(usex proprietary-codecs Chrome Chromium)"
729 - myconf_gn+=" proprietary_codecs=$(usex proprietary-codecs true false)"
730 - myconf_gn+=" ffmpeg_branding=\"${ffmpeg_branding}\""
731 -
732 - # Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys .
733 - # Note: these are for Gentoo use ONLY. For your own distribution,
734 - # please get your own set of keys. Feel free to contact chromium@g.o
735 - # for more info. The OAuth2 credentials, however, have been left out.
736 - # Those OAuth2 credentials have been broken for quite some time anyway.
737 - # Instead we apply a patch to use the --oauth2-client-id= and
738 - # --oauth2-client-secret= switches for setting GOOGLE_DEFAULT_CLIENT_ID and
739 - # GOOGLE_DEFAULT_CLIENT_SECRET at runtime. This allows signing into
740 - # Chromium without baked-in values.
741 - local google_api_key="AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc"
742 - myconf_gn+=" google_api_key=\"${google_api_key}\""
743 - local myarch="$(tc-arch)"
744 -
745 - # Avoid CFLAGS problems, bug #352457, bug #390147.
746 - if ! use custom-cflags; then
747 - replace-flags "-Os" "-O2"
748 - strip-flags
749 -
750 - # Debug info section overflows without component build
751 - # Prevent linker from running out of address space, bug #471810 .
752 - if ! use component-build || use x86; then
753 - filter-flags "-g*"
754 - fi
755 -
756 - # Prevent libvpx build failures. Bug 530248, 544702, 546984.
757 - if [[ ${myarch} == amd64 || ${myarch} == x86 ]]; then
758 - filter-flags -mno-mmx -mno-sse2 -mno-ssse3 -mno-sse4.1 -mno-avx -mno-avx2 -mno-fma -mno-fma4
759 - fi
760 - fi
761 -
762 - if [[ $myarch = amd64 ]] ; then
763 - myconf_gn+=" target_cpu=\"x64\""
764 - ffmpeg_target_arch=x64
765 - elif [[ $myarch = x86 ]] ; then
766 - myconf_gn+=" target_cpu=\"x86\""
767 - ffmpeg_target_arch=ia32
768 -
769 - # This is normally defined by compiler_cpu_abi in
770 - # build/config/compiler/BUILD.gn, but we patch that part out.
771 - append-flags -msse2 -mfpmath=sse -mmmx
772 - elif [[ $myarch = arm64 ]] ; then
773 - myconf_gn+=" target_cpu=\"arm64\""
774 - ffmpeg_target_arch=arm64
775 - elif [[ $myarch = arm ]] ; then
776 - myconf_gn+=" target_cpu=\"arm\""
777 - ffmpeg_target_arch=$(usex cpu_flags_arm_neon arm-neon arm)
778 - elif [[ $myarch = ppc64 ]] ; then
779 - myconf_gn+=" target_cpu=\"ppc64\""
780 - ffmpeg_target_arch=ppc64
781 - else
782 - die "Failed to determine target arch, got '$myarch'."
783 - fi
784 -
785 - # Make sure that -Werror doesn't get added to CFLAGS by the build system.
786 - # Depending on GCC version the warnings are different and we don't want
787 - # the build to fail because of that.
788 - myconf_gn+=" treat_warnings_as_errors=false"
789 -
790 - # Disable fatal linker warnings, bug 506268.
791 - myconf_gn+=" fatal_linker_warnings=false"
792 -
793 - # Bug 491582.
794 - export TMPDIR="${WORKDIR}/temp"
795 - mkdir -p -m 755 "${TMPDIR}" || die
796 -
797 - # https://bugs.gentoo.org/654216
798 - addpredict /dev/dri/ #nowarn
799 -
800 - #if ! use system-ffmpeg; then
801 - if false; then
802 - local build_ffmpeg_args=""
803 - if use pic && [[ "${ffmpeg_target_arch}" == "ia32" ]]; then
804 - build_ffmpeg_args+=" --disable-asm"
805 - fi
806 -
807 - # Re-configure bundled ffmpeg. See bug #491378 for example reasons.
808 - einfo "Configuring bundled ffmpeg..."
809 - pushd third_party/ffmpeg > /dev/null || die
810 - chromium/scripts/build_ffmpeg.py linux ${ffmpeg_target_arch} \
811 - --branding ${ffmpeg_branding} -- ${build_ffmpeg_args} || die
812 - chromium/scripts/copy_config.sh || die
813 - chromium/scripts/generate_gn.py || die
814 - popd > /dev/null || die
815 - fi
816 -
817 - # Disable unknown warning message from clang.
818 - if tc-is-clang; then
819 - append-flags -Wno-unknown-warning-option
820 - if tc-is-cross-compiler; then
821 - export BUILD_CXXFLAGS+=" -Wno-unknown-warning-option"
822 - export BUILD_CFLAGS+=" -Wno-unknown-warning-option"
823 - fi
824 - fi
825 -
826 - # Explicitly disable ICU data file support for system-icu/headless builds.
827 - if use system-icu || use headless; then
828 - myconf_gn+=" icu_use_data_file=false"
829 - fi
830 -
831 - # Enable ozone wayland and/or headless support
832 - myconf_gn+=" use_ozone=true ozone_auto_platforms=false"
833 - myconf_gn+=" ozone_platform_headless=true"
834 - myconf_gn+=" ozone_platform_x11=$(usex headless false true)"
835 - if use wayland || use headless; then
836 - if use headless; then
837 - myconf_gn+=" ozone_platform=\"headless\""
838 - myconf_gn+=" use_xkbcommon=false use_gtk=false"
839 - myconf_gn+=" use_glib=false use_gio=false"
840 - myconf_gn+=" use_pangocairo=false use_alsa=false"
841 - myconf_gn+=" use_libpci=false use_udev=false"
842 - myconf_gn+=" enable_print_preview=false"
843 - myconf_gn+=" enable_remoting=false"
844 - else
845 - myconf_gn+=" ozone_platform_wayland=true"
846 - myconf_gn+=" use_system_libdrm=true"
847 - myconf_gn+=" use_system_minigbm=true"
848 - myconf_gn+=" use_xkbcommon=true"
849 - myconf_gn+=" ozone_platform=\"wayland\""
850 - fi
851 - else
852 - myconf_gn+=" ozone_platform=\"x11\""
853 - fi
854 -
855 - # Enable official builds
856 - myconf_gn+=" is_official_build=$(usex official true false)"
857 - myconf_gn+=" use_thin_lto=false"
858 - if use official; then
859 - # Allow building against system libraries in official builds
860 - sed -i 's/OFFICIAL_BUILD/GOOGLE_CHROME_BUILD/' \
861 - tools/generate_shim_headers/generate_shim_headers.py || die
862 - # Disable CFI: unsupported for GCC, requires clang+lto+lld
863 - myconf_gn+=" is_cfi=false"
864 - # Disable PGO, because profile data is only compatible with >=clang-11
865 - myconf_gn+=" chrome_pgo_phase=0"
866 - # Don't add symbols to build
867 - myconf_gn+=" symbol_level=0"
868 - fi
869 -
870 - einfo "Configuring Chromium..."
871 - set -- gn gen --args="${myconf_gn} ${EXTRA_GN}" out/Release
872 - echo "$@"
873 - "$@" || die
874 -}
875 -
876 -src_compile() {
877 - # Final link uses lots of file descriptors.
878 - ulimit -n 2048
879 -
880 - # Calling this here supports resumption via FEATURES=keepwork
881 - python_setup
882 -
883 - # Don't inherit PYTHONPATH from environment, bug #789021, #812689
884 - local -x PYTHONPATH=
885 -
886 - #"${EPYTHON}" tools/clang/scripts/update.py --force-local-build --gcc-toolchain /usr --skip-checkout --use-system-cmake --without-android || die
887 -
888 - # Build mksnapshot and pax-mark it.
889 - local x
890 - for x in mksnapshot v8_context_snapshot_generator; do
891 - if tc-is-cross-compiler; then
892 - eninja -C out/Release "host/${x}"
893 - pax-mark m "out/Release/host/${x}"
894 - else
895 - eninja -C out/Release "${x}"
896 - pax-mark m "out/Release/${x}"
897 - fi
898 - done
899 -
900 - # Even though ninja autodetects number of CPUs, we respect
901 - # user's options, for debugging with -j 1 or any other reason.
902 - eninja -C out/Release chrome chromedriver
903 - use suid && eninja -C out/Release chrome_sandbox
904 -
905 - pax-mark m out/Release/chrome
906 -
907 - mv out/Release/chromedriver{.unstripped,} || die
908 -
909 - # Build manpage; bug #684550
910 - sed -e 's|@@PACKAGE@@|chromium-browser|g;
911 - s|@@MENUNAME@@|Chromium|g;' \
912 - chrome/app/resources/manpage.1.in > \
913 - out/Release/chromium-browser.1 || die
914 -
915 - # Build desktop file; bug #706786
916 - sed -e 's|@@MENUNAME@@|Chromium|g;
917 - s|@@USR_BIN_SYMLINK_NAME@@|chromium-browser|g;
918 - s|@@PACKAGE@@|chromium-browser|g;
919 - s|\(^Exec=\)/usr/bin/|\1|g;' \
920 - chrome/installer/linux/common/desktop.template > \
921 - out/Release/chromium-browser-chromium.desktop || die
922 -
923 - # Build vk_swiftshader_icd.json; bug #827861
924 - sed -e 's|${ICD_LIBRARY_PATH}|./libvk_swiftshader.so|g' \
925 - third_party/swiftshader/src/Vulkan/vk_swiftshader_icd.json.tmpl > \
926 - out/Release/vk_swiftshader_icd.json || die
927 -}
928 -
929 -src_install() {
930 - local CHROMIUM_HOME="/usr/$(get_libdir)/chromium-browser"
931 - exeinto "${CHROMIUM_HOME}"
932 - doexe out/Release/chrome
933 -
934 - if use suid; then
935 - newexe out/Release/chrome_sandbox chrome-sandbox
936 - fperms 4755 "${CHROMIUM_HOME}/chrome-sandbox"
937 - fi
938 -
939 - doexe out/Release/chromedriver
940 - doexe out/Release/chrome_crashpad_handler
941 -
942 - ozone_auto_session () {
943 - use wayland && ! use headless && echo true || echo false
944 - }
945 - local sedargs=( -e
946 - "s:/usr/lib/:/usr/$(get_libdir)/:g;
947 - s:@@OZONE_AUTO_SESSION@@:$(ozone_auto_session):g"
948 - )
949 - sed "${sedargs[@]}" "${FILESDIR}/chromium-launcher-r7.sh" > chromium-launcher.sh || die
950 - doexe chromium-launcher.sh
951 -
952 - # It is important that we name the target "chromium-browser",
953 - # xdg-utils expect it; bug #355517.
954 - dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium-browser
955 - # keep the old symlink around for consistency
956 - dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium
957 -
958 - dosym "${CHROMIUM_HOME}/chromedriver" /usr/bin/chromedriver
959 -
960 - # Allow users to override command-line options, bug #357629.
961 - insinto /etc/chromium
962 - newins "${FILESDIR}/chromium.default" "default"
963 -
964 - pushd out/Release/locales > /dev/null || die
965 - chromium_remove_language_paks
966 - popd
967 -
968 - insinto "${CHROMIUM_HOME}"
969 - doins out/Release/*.bin
970 - doins out/Release/*.pak
971 - (
972 - shopt -s nullglob
973 - local files=(out/Release/*.so out/Release/*.so.[0-9])
974 - [[ ${#files[@]} -gt 0 ]] && doins "${files[@]}"
975 - )
976 -
977 - if ! use system-icu && ! use headless; then
978 - doins out/Release/icudtl.dat
979 - fi
980 -
981 - doins -r out/Release/locales
982 - doins -r out/Release/MEIPreload
983 -
984 - # Install vk_swiftshader_icd.json; bug #827861
985 - doins out/Release/vk_swiftshader_icd.json
986 -
987 - if [[ -d out/Release/swiftshader ]]; then
988 - insinto "${CHROMIUM_HOME}/swiftshader"
989 - doins out/Release/swiftshader/*.so
990 - fi
991 -
992 - # Install icons
993 - local branding size
994 - for size in 16 24 32 48 64 128 256 ; do
995 - case ${size} in
996 - 16|32) branding="chrome/app/theme/default_100_percent/chromium" ;;
997 - *) branding="chrome/app/theme/chromium" ;;
998 - esac
999 - newicon -s ${size} "${branding}/product_logo_${size}.png" \
1000 - chromium-browser.png
1001 - done
1002 -
1003 - # Install desktop entry
1004 - domenu out/Release/chromium-browser-chromium.desktop
1005 -
1006 - # Install GNOME default application entry (bug #303100).
1007 - insinto /usr/share/gnome-control-center/default-apps
1008 - newins "${FILESDIR}"/chromium-browser.xml chromium-browser.xml
1009 -
1010 - # Install manpage; bug #684550
1011 - doman out/Release/chromium-browser.1
1012 - dosym chromium-browser.1 /usr/share/man/man1/chromium.1
1013 -
1014 - readme.gentoo_create_doc
1015 -}
1016 -
1017 -pkg_postrm() {
1018 - xdg_icon_cache_update
1019 - xdg_desktop_database_update
1020 -}
1021 -
1022 -pkg_postinst() {
1023 - xdg_icon_cache_update
1024 - xdg_desktop_database_update
1025 - readme.gentoo_print_elog
1026 -
1027 - if ! use headless; then
1028 - if use vaapi; then
1029 - elog "VA-API is disabled by default at runtime. You have to enable it"
1030 - elog "by adding --enable-features=VaapiVideoDecoder to CHROMIUM_FLAGS"
1031 - elog "in /etc/chromium/default."
1032 - fi
1033 - if use screencast; then
1034 - elog "Screencast is disabled by default at runtime. Either enable it"
1035 - elog "by navigating to chrome://flags/#enable-webrtc-pipewire-capturer"
1036 - elog "inside Chromium or add --enable-features=WebRTCPipeWireCapturer"
1037 - elog "to CHROMIUM_FLAGS in /etc/chromium/default."
1038 - fi
1039 - if use gtk4; then
1040 - elog "Chromium prefers GTK3 over GTK4 at runtime. To override this"
1041 - elog "behavior you need to pass --gtk-version=4, e.g. by adding it"
1042 - elog "to CHROMIUM_FLAGS in /etc/chromium/default."
1043 - fi
1044 - fi
1045 -}