Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(371)

Side by Side Diff: build/linux/unbundle/README

Issue 2343883002: unbundle: remove obsolete GYP script (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | build/linux/unbundle/replace_gyp_files.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 This directory contains files that make it possible to use system libraries. 1 This directory contains files that make it possible to use system libraries.
2 2
3 For more info please read the following: 3 For more info please read the following:
4 4
5 - https://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries 5 - https://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries
6 - https://wiki.gentoo.org/wiki/Why_not_bundle_dependencies 6 - https://wiki.gentoo.org/wiki/Why_not_bundle_dependencies
7 - http://www.debian.org/doc/debian-policy/ch-source.html#s-embeddedfiles 7 - http://www.debian.org/doc/debian-policy/ch-source.html#s-embeddedfiles
8 8
9 For more Chromium-specific context please read 9 For more Chromium-specific context please read
10 http://spot.livejournal.com/312320.html . 10 http://spot.livejournal.com/312320.html .
(...skipping 19 matching lines...) Expand all
30 Everything that is not explicitly preserved is removed (except for 30 Everything that is not explicitly preserved is removed (except for
31 gyp files), and the script fails if any directory passed on command 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). 32 line does not exist (to ensure list is kept up to date).
33 33
34 This is intended to be used on sources extracted from a tarball, 34 This is intended to be used on sources extracted from a tarball,
35 not a repository. 35 not a repository.
36 36
37 NOTE: by default this will not remove anything (for safety). Pass 37 NOTE: by default this will not remove anything (for safety). Pass
38 --do-remove flag to actually remove files. 38 --do-remove flag to actually remove files.
39 39
40 2. Pick the script to run depending on whether you use GYP or GN: 40 2. replace_gn_files.py --system-libraries lib...
41 41
42 2a. replace_gyp_files.py <gyp-flags> 42 For example: replace_gn_files.py --system-libraries libxml
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
OLDNEW
« no previous file with comments | « no previous file | build/linux/unbundle/replace_gyp_files.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698