Chrome Release Bot (LUCI) 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
..
README 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
absl_algorithm.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
absl_base.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
absl_cleanup.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
absl_container.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
absl_debugging.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
absl_flags.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
absl_functional.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
absl_hash.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
absl_memory.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
absl_meta.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
absl_numeric.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
absl_random.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
absl_status.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
absl_strings.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
absl_synchronization.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
absl_time.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
absl_types.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
brotli.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
crc32c.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
dav1d.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
double-conversion.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
ffmpeg.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
flac.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
fontconfig.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
freetype.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
harfbuzz-ng.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
icu.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
jsoncpp.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
libXNVCtrl.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
libaom.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
libavif.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
libdrm.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
libevent.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
libjpeg.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
libjxl.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
libpng.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
libvpx.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
libwebp.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
libxml.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
libxslt.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
libyuv.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
openh264.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
opus.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
re2.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
remove_bundled_libraries.py 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
replace_gn_files.py 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
snappy.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
swiftshader-SPIRV-Headers.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
swiftshader-SPIRV-Tools.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
vulkan-SPIRV-Headers.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
vulkan-SPIRV-Tools.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
woff2.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan
zlib.gn 4762b62e7d Publish DEPS for 106.0.5249.13 1 år sedan

README

This directory contains files that make it possible for Linux
distributions to build Chromium using system libraries and exclude the
source code for Chromium's bundled copies of system libraries in a
consistent manner. Nothing here is used in normal developer builds.


For more info on the Linux distros' philosophy on bundling system
libraries and why this exists, please read the following:

- https://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries
- https://wiki.gentoo.org/wiki/Why_not_bundle_dependencies
- http://www.debian.org/doc/debian-policy/ch-source.html#s-embeddedfiles

For more Chromium-specific context please read
http://spot.livejournal.com/312320.html .

Additional resources which might provide even more context:

- http://events.linuxfoundation.org/sites/events/files/slides/LinuxCon%202014%20Slides_0.pdf
- https://lwn.net/Articles/619158/


This directory is provided in the source tree so one can follow the
above guidelines without having to download additional tools and worry
about having the right version of the tool. It is a compromise solution
which takes into account Chromium developers who want to avoid the
perceived burden of more conditional code in build files, and
expectations of Open Source community, where using system-provided
libraries is the norm.

Usage:

1. remove_bundled_libraries.py

For example: remove_bundled_libraries.py third_party/zlib

The script scans sources looking for third_party directories.
Everything that is not explicitly preserved is removed (except for
GYP/GN build files), and the script fails if any directory passed on
command line does not exist (to ensure list is kept up to date).

This is intended to be used on source code extracted from a tarball,
not on a git repository.

NOTE: by default this will not remove anything (for safety). Pass
the --do-remove flag to actually remove files.

2. replace_gn_files.py --system-libraries lib...

This swaps out a normal library GN build file that is intended for
use with a bundled library for a build file that is set up to use
the system library. While some build files have use_system_libfoo
build flags, using unbundled build files has the advantage that Linux
distros can build Chromium without having to specify many additional
build flags.

For example: replace_gn_files.py --system-libraries libxml