Up to higher level directory | |||
Name | Date | Size | |
---|---|---|---|
expat.gyp | 06-Dec-2016 | 341 | |
ffmpeg.gn | 06-Dec-2016 | 606 | |
ffmpeg.gyp | 06-Dec-2016 | 2.3K | |
flac.gn | 06-Dec-2016 | 675 | |
flac.gyp | 06-Dec-2016 | 911 | |
harfbuzz-ng.gn | 06-Dec-2016 | 556 | |
harfbuzz.gyp | 06-Dec-2016 | 1.3K | |
icu.gyp | 06-Dec-2016 | 7.1K | |
jsoncpp.gyp | 06-Dec-2016 | 899 | |
libevent.gn | 06-Dec-2016 | 363 | |
libevent.gyp | 06-Dec-2016 | 580 | |
libjpeg.gyp | 06-Dec-2016 | 607 | |
libpng.gyp | 06-Dec-2016 | 876 | |
libusb.gyp | 06-Dec-2016 | 827 | |
libvpx.gyp | 06-Dec-2016 | 1.1K | |
libwebp.gn | 06-Dec-2016 | 233 | |
libwebp.gyp | 06-Dec-2016 | 747 | |
libxml.gn | 06-Dec-2016 | 424 | |
libxml.gyp | 06-Dec-2016 | 908 | |
libXNVCtrl.gyp | 06-Dec-2016 | 832 | |
libxslt.gn | 06-Dec-2016 | 338 | |
libxslt.gyp | 06-Dec-2016 | 597 | |
opus.gyp | 06-Dec-2016 | 903 | |
protobuf.gyp | 06-Dec-2016 | 6.5K | |
re2.gyp | 06-Dec-2016 | 1,003 | |
README | 06-Dec-2016 | 2K | |
remove_bundled_libraries.py | 06-Dec-2016 | 3.2K | |
replace_gn_files.py | 06-Dec-2016 | 2.2K | |
replace_gyp_files.py | 06-Dec-2016 | 2.8K | |
snappy.gn | 06-Dec-2016 | 442 | |
snappy.gyp | 06-Dec-2016 | 634 | |
sqlite.gyp | 06-Dec-2016 | 659 | |
v8.gyp | 06-Dec-2016 | 2.3K | |
yasm.gn | 06-Dec-2016 | 2.6K | |
zlib.gn | 06-Dec-2016 | 1K | |
zlib.gyp | 06-Dec-2016 | 971 |
1 This directory contains files that make it possible to use system libraries. 2 3 For 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 9 For more Chromium-specific context please read 10 http://spot.livejournal.com/312320.html . 11 12 Additional resources which might provide even more context: 13 14 - http://events.linuxfoundation.org/sites/events/files/slides/LinuxCon%202014%20Slides_0.pdf 15 - https://lwn.net/Articles/619158/ 16 17 This directory is provided in the source tree to follow above guidelines. 18 It is a compromise solution which takes into account Chromium developers 19 who want to avoid the perceived burden of more conditional code in build files, 20 and expectations of Open Source community, where using system-provided 21 libraries is the norm. 22 23 Usage: 24 25 1. remove_bundled_libraries.py <preserved-directories> 26 27 For example: remove_bundled_libraries.py third_party/mesa 28 29 The script scans sources looking for third_party directories. 30 Everything that is not explicitly preserved is removed (except for 31 gyp files), and the script fails if any directory passed on command 32 line does not exist (to ensure list is kept up to date). 33 34 This is intended to be used on sources extracted from a tarball, 35 not a repository. 36 37 NOTE: by default this will not remove anything (for safety). Pass 38 --do-remove flag to actually remove files. 39 40 2. Pick the script to run depending on whether you use GYP or GN: 41 42 2a. replace_gyp_files.py <gyp-flags> 43 44 For example: replace_gyp_files.py -Duse_system_harfbuzz=1 45 46 The script ignores flags other than -D for convenience. This makes it 47 possible to have a variable e.g. ${myconf} with all the options, and 48 execute: 49 50 build/linux/unbundle/replace_gyp_files.py ${myconf} 51 build/gyp_chromium ${myconf} 52 53 2b. replace_gn_files.py --system-libraries lib... 54 55 For example: replace_gn_files.py --system-libraries libxml 56