mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
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:
10
build/args/all.gn
Normal file
10
build/args/all.gn
Normal file
@@ -0,0 +1,10 @@
|
||||
is_electron_build = true
|
||||
is_electron_gn_build = true
|
||||
root_extra_deps = [ "//electron" ]
|
||||
|
||||
v8_promise_internal_field_count = 1
|
||||
v8_typed_array_max_size_in_heap = 0
|
||||
|
||||
enable_widevine = true
|
||||
proprietary_codecs = true
|
||||
ffmpeg_branding = "Chrome"
|
||||
4
build/args/debug.gn
Normal file
4
build/args/debug.gn
Normal file
@@ -0,0 +1,4 @@
|
||||
import("all.gn")
|
||||
is_debug = true
|
||||
is_component_build = true
|
||||
use_jumbo_build = true
|
||||
4
build/args/release.gn
Normal file
4
build/args/release.gn
Normal file
@@ -0,0 +1,4 @@
|
||||
import("all.gn")
|
||||
is_component_build = false
|
||||
is_official_build = true
|
||||
is_component_ffmpeg = true
|
||||
Reference in New Issue
Block a user