|
| 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 | + |
| 8 | +is_component_build = false # Dynamically links dependencies, rather than static |
| 9 | +is_debug = false # Sets as "release" build |
| 10 | +angle_expose_non_conformant_extensions_and_versions = true # Enables ES3.2 |
| 11 | +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 |
| 12 | + |
| 13 | +# Stops libs.uncompressed from being built, which is only when symbol_level != 0 |
| 14 | +symbol_level = 0 |
| 15 | + |
| 16 | +# Stops ANGLE APKs from being built (we are never using those) |
| 17 | +angle_standalone = false |
| 18 | + |
| 19 | +# Disable all unneeded backends |
| 20 | +angle_enable_gl = false |
| 21 | +angle_enable_d3d9 = false |
| 22 | +angle_enable_d3d11 = false |
| 23 | +angle_enable_null = false |
| 24 | +angle_enable_vulkan = false |
| 25 | +angle_enable_wgpu = false |
| 26 | +angle_enable_swiftshader = false |
| 27 | + |
| 28 | +angle_enable_metal = true |
| 29 | +angle_enable_essl = true |
| 30 | +angle_enable_glsl = true |
| 31 | + |
| 32 | +# Other stuff |
| 33 | +angle_has_frame_capture = false # Turns off frame capture (we don't use it, why would you?! Also turns off rapidJSON) |
| 34 | +build_angle_deqp_tests = false # This was somehow being set to true, am forcing it false |
| 35 | +angle_build_all = false # Why would we need all of it? (yes this is redundant) |
| 36 | +# libcxx_abi_unstable = false # Apparently breaks std::string, doesn't seem to anymore. Comments mention this option causing slowdowns. |
0 commit comments