• Home
Name Date Size #Lines LOC

..--

READMED03-May-20241.6 KiB4530

expat.gypD03-May-2024341 1816

ffmpeg.gypD03-May-20242 KiB5549

flac.gypD03-May-2024911 3836

harfbuzz.gypD03-May-20241.3 KiB4846

icu.gypD03-May-20247.1 KiB249247

jsoncpp.gypD03-May-2024899 4038

libXNVCtrl.gypD03-May-2024832 3634

libevent.gypD03-May-2024577 2826

libjpeg.gypD03-May-2024607 3028

libpng.gypD03-May-2024876 3937

libusb.gypD03-May-2024827 3533

libvpx.gypD03-May-20241 KiB4342

libwebp.gypD03-May-2024747 2927

libxml.gypD03-May-2024908 3937

libxslt.gypD03-May-2024597 2624

openssl.gypD03-May-2024596 2624

opus.gypD03-May-2024903 3937

protobuf.gypD03-May-20246.5 KiB150147

re2.gypD03-May-20241,003 3836

remove_bundled_libraries.pyD03-May-20243.1 KiB10357

replace_gyp_files.pyD03-May-20242.9 KiB8456

snappy.gypD03-May-2024634 3028

speex.gypD03-May-20241.2 KiB4644

sqlite.gypD03-May-2024659 2927

v8.gypD03-May-20242.3 KiB6563

zlib.gypD03-May-20241.4 KiB6866

README

1This directory contains files that make it possible to use system libraries.
2
3For more info please read the following:
4
5 - https://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries
6 - https://wiki.gentoo.org/wiki/Why_not_bundle_dependencies
7 - http://www.debian.org/doc/debian-policy/ch-source.html#s-embeddedfiles
8
9For more Chromium-specific context please read
10http://spot.livejournal.com/312320.html .
11
12This directory is provided in the source tree to follow above guidelines.
13It is a compromise solution which takes into account Chromium developers
14who want to avoid the perceived burden of more conditional code in gyp,
15and expectations of Open Source community, where using system-provided
16libraries is the norm.
17
18Usage:
19
201. remove_bundled_libraries.py <preserved-directories>
21
22   For example: remove_bundled_libraries.py third_party/mesa
23
24   The script scans sources looking for third_party directories.
25   Everything that is not explicitly preserved is removed (except for
26   gyp files), and the script fails if any directory passed on command
27   line does not exist (to ensure list is kept up to date).
28
29   This is intended to be used on sources extracted from a tarball,
30   not a repository.
31
32   NOTE: by default this will not remove anything (for safety). Pass
33   --do-remove flag to actually remove files.
34
352. replace_gyp_files.py <gyp-flags>
36
37   For example: replace_gyp_files.py -Duse_system_harfbuzz=1
38
39   The script ignores flags other than -D for convenience. This makes it
40   possible to have a variable e.g. ${myconf} with all the options, and
41   execute:
42
43   build/linux/unbundle/replace_gyp_files.py ${myconf}
44   build/gyp_chromium ${myconf}
45