| Index: build/linux/unbundle/README
|
| diff --git a/build/linux/unbundle/README b/build/linux/unbundle/README
|
| index 7027b9ad2c11232235bb33b3527092eaed05c11a..d1b2a966eff7deb8bea8bfbe0f87e111d111a6cf 100644
|
| --- a/build/linux/unbundle/README
|
| +++ b/build/linux/unbundle/README
|
| @@ -17,12 +17,28 @@ libraries is the norm.
|
|
|
| Usage:
|
|
|
| -replace_gyp_files.py <gyp-flags>
|
| +1. remove_bundled_libraries.py <preserved-directories>
|
|
|
| -For example: replace_gyp_files.py -Duse_system_harfbuzz=1
|
| + For example: remove_bundled_libraries.py third_party/mesa
|
|
|
| -The script ignores flags other than -D for convenience. This makes it possible
|
| -to have a variable e.g. ${myconf} with all the options, and execute:
|
| + The script scans sources looking for third_party directories.
|
| + Everything that is not explicitly preserved is removed (except for
|
| + gyp files), and the script fails if any directory passed on command
|
| + line does not exist (to ensure list is kept up to date).
|
|
|
| -build/linux/unbundle/replace_gyp_files.py ${myconf}
|
| -build/gyp_chromium ${myconf}
|
| + This is intended to be used on sources extracted from a tarball,
|
| + not a repository.
|
| +
|
| + NOTE: by default this will not remove anything (for safety). Pass
|
| + --do-remove flag to actually remove files.
|
| +
|
| +2. replace_gyp_files.py <gyp-flags>
|
| +
|
| + For example: replace_gyp_files.py -Duse_system_harfbuzz=1
|
| +
|
| + The script ignores flags other than -D for convenience. This makes it
|
| + possible to have a variable e.g. ${myconf} with all the options, and
|
| + execute:
|
| +
|
| + build/linux/unbundle/replace_gyp_files.py ${myconf}
|
| + build/gyp_chromium ${myconf}
|
|
|