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

Unified Diff: docs/linux_faster_builds.md

Issue 1877013002: Update Linux build docs to remove GYP references. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « docs/linux_eclipse_dev.md ('k') | docs/linux_suid_sandbox.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: docs/linux_faster_builds.md
diff --git a/docs/linux_faster_builds.md b/docs/linux_faster_builds.md
index ccad74e1668404bb8a5a71bebb1f19dc11cf2eb0..53f2e5a2ef633524ca287dc73a6ac027f34583db 100644
--- a/docs/linux_faster_builds.md
+++ b/docs/linux_faster_builds.md
@@ -66,13 +66,8 @@ enormous (nearly 1gb in debug mode) files. If you dynamically link, you save a
lot of time linking for a bit of time during startup, which is fine especially
when you're in an edit/compile/test cycle.
-Run gyp with the `-Dcomponent=shared_library` flag to put it in this
-configuration. (Or set those flags via the `GYP_DEFINES` environment variable.)
-
-e.g.
-
- build/gyp_chromium -D component=shared_library
- ninja -C out/Debug chrome
+Add the flag `is_component_build=true` in your build args (to edit build args
+run `gn args out/foo` where `out/foo` is your build directory).
See the
[component build page](http://www.chromium.org/developers/how-tos/component-build)
@@ -103,17 +98,8 @@ If you're working on UI bits where you don't care to trace into WebKit you can
cut down the size and slowness of debug builds significantly by building WebKit
without debug symbols.
-Set the gyp variable `remove_webcore_debug_symbols=1`, either via the
-`GYP_DEFINES` environment variable, the `-D` flag to gyp, or by adding the
-following to `~/.gyp/include.gypi`:
-
-```
-{
- 'variables': {
- 'remove_webcore_debug_symbols': 1,
- },
-}
-```
+Set the GN build arg `remove_webcore_debug_symbols=true` (to edit build args
+run `gn args out/foo` where `out/foo` is your build directory).
## Tune ccache for multiple working directories
« no previous file with comments | « docs/linux_eclipse_dev.md ('k') | docs/linux_suid_sandbox.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698