build: [gn] centralize GN args under build/args/*.gn
Devs can still locally override or add settings by adding lines after the `import` statement in args.gn. This will help make sure that everyone has a common set of build args, and will allow us to update everyone's build args in git.
This commit is contained in:
parent
d1cb8b7d67
commit
0efb5853d6
5 changed files with 20 additions and 12 deletions
|
@ -38,7 +38,7 @@ $ gclient sync --with_branch_heads --with_tags
|
|||
```sh
|
||||
$ cd src
|
||||
$ export CHROMIUM_BUILDTOOLS_PATH=`pwd`/buildtools
|
||||
$ gn gen out/Default --args='root_extra_deps=["//electron"] is_electron_build=true is_component_build=true use_jumbo_build=true v8_promise_internal_field_count=1 v8_typed_array_max_size_in_heap=0'
|
||||
$ gn gen out/Default --args='import("//electron/build/args/debug.gn")'
|
||||
```
|
||||
|
||||
This will generate all the ninja files needed for the build. You shouldn't have
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue