Skip to content

Commit 7434a58

Browse files
committed
build[args.gn]: Add build arguments
1 parent a083bf8 commit 7434a58

5 files changed

Lines changed: 177 additions & 0 deletions

File tree

out/android-arm/args.gn

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Build arguments go here.
2+
# See "gn args <out_dir> --list" for available build arguments.
3+
# Standard boilerplate for our usage
4+
target_os = "android"
5+
target_cpu = "arm"
6+
7+
is_component_build = false # Dynamically links dependencies, rather than static
8+
is_debug = false # Sets as "release" build
9+
angle_expose_non_conformant_extensions_and_versions = true # Enables ES3.2
10+
angle_build_tests = false # This is a big portion of the build time that is just never used because this goes into CI, so keep it off
11+
12+
# Stops libs.uncompressed from being built, which is only when symbol_level != 0
13+
symbol_level = 0
14+
15+
# Stops ANGLE APKs from being built (we are never using those)
16+
angle_standalone = false
17+
18+
# Disable all unneeded backends
19+
angle_enable_gl = false
20+
angle_enable_d3d9 = false
21+
angle_enable_d3d11 = false
22+
angle_enable_null = false
23+
angle_enable_metal = false
24+
angle_enable_wgpu = false
25+
angle_enable_swiftshader = false
26+
27+
angle_enable_vulkan = true
28+
angle_enable_essl = true
29+
angle_enable_glsl = true
30+
31+
# Other stuff
32+
angle_has_frame_capture = false # Turns off frame capture (we don't use it, why would you?! Also turns off rapidJSON)
33+
build_angle_deqp_tests = false # This was somehow being set to true, am forcing it false
34+
angle_build_all = false # Why would we need all of it? (yes this is redundant)
35+
# libcxx_abi_unstable = false # Apparently breaks std::string, doesn't seem to anymore. Comments mention this option causing slowdowns.

out/android-arm64/args.gn

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Build arguments go here.
2+
# See "gn args <out_dir> --list" for available build arguments.
3+
# Standard boilerplate for our usage
4+
target_os = "android"
5+
target_cpu = "arm64"
6+
7+
is_component_build = false # Dynamically links dependencies, rather than static
8+
is_debug = false # Sets as "release" build
9+
angle_expose_non_conformant_extensions_and_versions = true # Enables ES3.2
10+
angle_build_tests = false # This is a big portion of the build time that is just never used because this goes into CI, so keep it off
11+
12+
# Stops libs.uncompressed from being built, which is only when symbol_level != 0
13+
symbol_level = 0
14+
15+
# Stops ANGLE APKs from being built (we are never using those)
16+
angle_standalone = false
17+
18+
# Disable all unneeded backends
19+
angle_enable_gl = false
20+
angle_enable_d3d9 = false
21+
angle_enable_d3d11 = false
22+
angle_enable_null = false
23+
angle_enable_metal = false
24+
angle_enable_wgpu = false
25+
angle_enable_swiftshader = false
26+
27+
angle_enable_vulkan = true
28+
angle_enable_essl = true
29+
angle_enable_glsl = true
30+
31+
# Other stuff
32+
angle_has_frame_capture = false # Turns off frame capture (we don't use it, why would you?! Also turns off rapidJSON)
33+
build_angle_deqp_tests = false # This was somehow being set to true, am forcing it false
34+
angle_build_all = false # Why would we need all of it? (yes this is redundant)
35+
# libcxx_abi_unstable = false # Apparently breaks std::string, doesn't seem to anymore. Comments mention this option causing slowdowns.

out/android-x64/args.gn

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Build arguments go here.
2+
# See "gn args <out_dir> --list" for available build arguments.
3+
# Standard boilerplate for our usage
4+
target_os = "android"
5+
target_cpu = "x64"
6+
7+
is_component_build = false # Dynamically links dependencies, rather than static
8+
is_debug = false # Sets as "release" build
9+
angle_expose_non_conformant_extensions_and_versions = true # Enables ES3.2
10+
angle_build_tests = false # This is a big portion of the build time that is just never used because this goes into CI, so keep it off
11+
12+
# Stops libs.uncompressed from being built, which is only when symbol_level != 0
13+
symbol_level = 0
14+
15+
# Stops ANGLE APKs from being built (we are never using those)
16+
angle_standalone = false
17+
18+
# Disable all unneeded backends
19+
angle_enable_gl = false
20+
angle_enable_d3d9 = false
21+
angle_enable_d3d11 = false
22+
angle_enable_null = false
23+
angle_enable_metal = false
24+
angle_enable_wgpu = false
25+
angle_enable_swiftshader = false
26+
27+
angle_enable_vulkan = true
28+
angle_enable_essl = true
29+
angle_enable_glsl = true
30+
31+
# Other stuff
32+
angle_has_frame_capture = false # Turns off frame capture (we don't use it, why would you?! Also turns off rapidJSON)
33+
build_angle_deqp_tests = false # This was somehow being set to true, am forcing it false
34+
angle_build_all = false # Why would we need all of it? (yes this is redundant)
35+
# libcxx_abi_unstable = false # Apparently breaks std::string, doesn't seem to anymore. Comments mention this option causing slowdowns.

out/android-x86/args.gn

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Build arguments go here.
2+
# See "gn args <out_dir> --list" for available build arguments.
3+
# Standard boilerplate for our usage
4+
target_os = "android"
5+
target_cpu = "x86"
6+
7+
is_component_build = false # Dynamically links dependencies, rather than static
8+
is_debug = false # Sets as "release" build
9+
angle_expose_non_conformant_extensions_and_versions = true # Enables ES3.2
10+
angle_build_tests = false # This is a big portion of the build time that is just never used because this goes into CI, so keep it off
11+
12+
# Stops libs.uncompressed from being built, which is only when symbol_level != 0
13+
symbol_level = 0
14+
15+
# Stops ANGLE APKs from being built (we are never using those)
16+
angle_standalone = false
17+
18+
# Disable all unneeded backends
19+
angle_enable_gl = false
20+
angle_enable_d3d9 = false
21+
angle_enable_d3d11 = false
22+
angle_enable_null = false
23+
angle_enable_metal = false
24+
angle_enable_wgpu = false
25+
angle_enable_swiftshader = false
26+
27+
angle_enable_vulkan = true
28+
angle_enable_essl = true
29+
angle_enable_glsl = true
30+
31+
# Other stuff
32+
angle_has_frame_capture = false # Turns off frame capture (we don't use it, why would you?! Also turns off rapidJSON)
33+
build_angle_deqp_tests = false # This was somehow being set to true, am forcing it false
34+
angle_build_all = false # Why would we need all of it? (yes this is redundant)
35+
# libcxx_abi_unstable = false # Apparently breaks std::string, doesn't seem to anymore. Comments mention this option causing slowdowns.

out/ios-arm64/args.gn

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Build arguments go here.
2+
# See "gn args <out_dir> --list" for available build arguments.
3+
# Standard boilerplate for our usage
4+
target_os = "ios"
5+
target_cpu = "arm64"
6+
target_environment = "device"
7+
ios_enable_code_signing = false # The github workflow isn't configured for this
8+
9+
is_component_build = false # Dynamically links dependencies, rather than static
10+
is_debug = false # Sets as "release" build
11+
angle_expose_non_conformant_extensions_and_versions = true # Enables ES3.2
12+
angle_build_tests = false # This is a big portion of the build time that is just never used because this goes into CI, so keep it off
13+
14+
# Stops libs.uncompressed from being built, which is only when symbol_level != 0
15+
symbol_level = 0
16+
17+
# Stops ANGLE APKs from being built (we are never using those)
18+
angle_standalone = false
19+
20+
# Disable all unneeded backends
21+
angle_enable_gl = false
22+
angle_enable_d3d9 = false
23+
angle_enable_d3d11 = false
24+
angle_enable_null = false
25+
angle_enable_vulkan = false
26+
angle_enable_wgpu = false
27+
angle_enable_swiftshader = false
28+
29+
angle_enable_metal = true
30+
angle_enable_essl = true
31+
angle_enable_glsl = true
32+
33+
# Other stuff
34+
angle_has_frame_capture = false # Turns off frame capture (we don't use it, why would you?! Also turns off rapidJSON)
35+
build_angle_deqp_tests = false # This was somehow being set to true, am forcing it false
36+
angle_build_all = false # Why would we need all of it? (yes this is redundant)
37+
# libcxx_abi_unstable = false # Apparently breaks std::string, doesn't seem to anymore. Comments mention this option causing slowdowns.

0 commit comments

Comments
 (0)