Skip to content

Instantly share code, notes, and snippets.

@ljsabc
Last active August 21, 2024 20:51
Show Gist options
  • Save ljsabc/e37f131bededb94216cc9f7a244a785a to your computer and use it in GitHub Desktop.
Save ljsabc/e37f131bededb94216cc9f7a244a785a to your computer and use it in GitHub Desktop.
My arguments for building chromium on Win ARM64
# Set build arguments here. See `gn help buildargs`.
is_debug = false
symbol_level = 0
blink_symbol_level = 0
is_component_build = false
# enable_resource_allowlist_generation=true requires symbol_level >= 1
# enable_resource_whitelist_generation = false
enable_resource_allowlist_generation = false
target_cpu = "arm64"
v8_target_cpu = "arm64"
is_official_build = true
# is_chrome_branded = true
use_thin_lto = true
v8_enable_future = true
v8_enable_debugging_features = false
enable_nacl = false
enable_remoting = false
# concurrent_links = -1
angle_enable_d3d11 = true
angle_enable_d3d9 = true
# enable_hevc_demuxing = true
# enable_mpeg_h_audio_demuxing = true
enable_platform_hevc = true
enable_mse_mpeg2ts_stream_parser = true
chromecast_branding = "Chrome"
enable_swiftshader = true
ffmpeg_branding = "Chrome"
proprietary_codecs = true
optimize_webui = true
# Embed resource.pak into binary to simplify deployment.
headless_use_embedded_resources = true
# Use embedded data instead external files for headless in order
# to simplify deployment.
v8_use_external_startup_data = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment