From 50ae19b382fda01fb851e0b86d23ace93479b896 Mon Sep 17 00:00:00 2001 From: Alexander Frick Date: Wed, 31 Jan 2024 09:24:23 -0600 Subject: [PATCH] update cros args --- other/CrOS/cros_args.gn | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/other/CrOS/cros_args.gn b/other/CrOS/cros_args.gn index 52785ac7..e5350aa7 100644 --- a/other/CrOS/cros_args.gn +++ b/other/CrOS/cros_args.gn @@ -2,6 +2,9 @@ google_api_key = "" google_default_client_id = "" google_default_client_secret = "" # is_chancie_wancie_build = true +# clang_base_path = "/usr/lib/llvm-18" +# clang_version = "18" +# use_polly = true target_os = "chromeos" is_chromeos_device = false target_cpu = "x64" @@ -22,7 +25,12 @@ symbol_level = 0 enable_nacl = false optimize_webui = true enable_webui_tab_strip = true +is_clang = true +treat_warnings_as_errors = false +# llvm_force_head_revision = true use_lld = true +use_icf = true +# is_cfi = true v8_symbol_level = 0 v8_enable_fast_torque = true v8_enable_builtins_optimization = true @@ -34,13 +42,14 @@ blink_symbol_level = 0 enable_precompiled_headers = false media_use_ffmpeg = true media_use_libvpx = true -enable_hls_sample_aes = true +# enable_hls_sample_aes = true enable_hls_demuxer = true enable_ink = false enable_discovery = true enable_cros_media_app = false proprietary_codecs = true ffmpeg_branding = "Chrome" +# Set to false for Polly build clang_use_chrome_plugins = true enable_ffmpeg_video_decoders = true is_component_ffmpeg = true @@ -52,6 +61,8 @@ use_vaapi = true enable_library_cdms = true enable_widevine = true bundle_widevine_cdm = true +# enable_widevine_cdm_component = true +enable_cdm_host_verification = false ignore_missing_widevine_signing_cert = true enable_media_drm_storage = true # enable_media_overlay = true @@ -60,7 +71,7 @@ rtc_use_h264 = true rtc_include_ilbc = true # rtc_build_with_neon = true rtc_build_examples = false -# rtc_enable_avx2 = true +rtc_enable_avx2 = true enable_vr = true # use_vr_assets_component = true enable_platform_hevc = true @@ -68,9 +79,14 @@ enable_hevc_parser_and_hw_decoder = true enable_platform_ac3_eac3_audio = true enable_platform_ac4_audio = true enable_platform_dolby_vision = true +enable_platform_encrypted_dolby_vision = true enable_platform_mpeg_h_audio = true enable_platform_dts_audio = true enable_mse_mpeg2ts_stream_parser = true +use_text_section_splitting = true use_thin_lto = true thin_lto_enable_optimizations = true +# enable_rust = true +# enable_all_rust_features = true init_stack_vars_zero = true +# chrome_pgo_phase = 2