|
1 | 1 | # Build arguments go here. |
2 | 2 | # See "gn args <out_dir> --list" for available build arguments. |
| 3 | +# Standard boilerplate for our usage |
3 | 4 | target_os = "android" |
4 | 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 | + |
5 | 27 | angle_enable_vulkan = true |
6 | | -is_component_build = false |
7 | | -is_debug = false |
8 | | -angle_build_tests=false |
| 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. |
0 commit comments