|
| 1 | +import("all.gn") |
| 2 | +is_component_build = false |
| 3 | +is_official_build = false |
| 4 | + |
| 5 | +# This may be guarded behind is_chrome_branded alongside |
| 6 | +# proprietary_codecs https://webrtc-review.googlesource.com/c/src/+/36321, |
| 7 | +# explicitly override here to build OpenH264 encoder/FFmpeg decoder. |
| 8 | +# The initialization of the decoder depends on whether ffmpeg has |
| 9 | +# been built with H.264 support. |
| 10 | +rtc_use_h264 = proprietary_codecs |
| 11 | + |
| 12 | +# By default, Electron builds ffmpeg with proprietary codecs enabled. In order |
| 13 | +# to facilitate users who don't want to ship proprietary codecs in ffmpeg, or |
| 14 | +# who have an LGPL requirement to ship ffmpeg as a dynamically linked library, |
| 15 | +# we build ffmpeg as a shared library. |
| 16 | +is_component_ffmpeg = true |
| 17 | + |
| 18 | +# Build args for loong64 |
| 19 | +is_debug = false |
| 20 | +is_clang = true |
| 21 | +use_lld = true |
| 22 | +use_sysroot = true |
| 23 | + |
| 24 | +enable_widevine = false |
| 25 | +fatal_linker_warnings = false |
| 26 | +clang_use_chrome_plugins = false |
| 27 | +proprietary_codecs = true |
| 28 | +treat_warnings_as_errors = false |
| 29 | +rtc_use_pipewire = false |
| 30 | +dcheck_always_on = false |
| 31 | +disable_fieldtrial_testing_config = true |
| 32 | +enable_rust = true |
| 33 | + |
| 34 | +v8_enable_pointer_compression = true |
| 35 | +v8_enable_pointer_compression_shared_cage = true |
| 36 | +v8_enable_external_code_space = true |
| 37 | +v8_enable_sandbox = true |
| 38 | + |
| 39 | +loongarch64_use_lsx = true |
| 40 | + |
| 41 | +host_cpu = "x64" |
| 42 | +target_cpu = "loong64" |
| 43 | +v8_target_cpu = "loong64" |
0 commit comments