From d8f95d6fb3fd8cc2d53f6316b9c5c7c657568722 Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Mon, 16 Jan 2023 08:18:23 +0100 Subject: [PATCH] disable some tests to speed up the build update readme --- README.fedora | 13 +++++++++---- chromium.spec | 7 +++++-- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/README.fedora b/README.fedora index 2b4c11d1..70ea0d18 100644 --- a/README.fedora +++ b/README.fedora @@ -1,4 +1,9 @@ -Widevine is not a free library and cannot be shipped in fedora. -You have to get it from Google first and install it under -/usr/lib64/chromium-browser or /opt/google/chrome if you want -Chromium to use widevine. +- Widevine is not a free library and cannot be shipped in fedora. + You have to get it from Google first and install it under + /usr/lib64/chromium-browser or /opt/google/chrome if you want + Chromium to use widevine. + +- Chromium uses the system ffmpeg-free library which is included in + fedora >= 36 and centos-stream 9. This library contains free video + codecs. If you want Chromium to use non-free video codecs, you need + to install ffmpeg-libs from rpmfussion-free. diff --git a/chromium.spec b/chromium.spec index f568222e..a4d3da6b 100644 --- a/chromium.spec +++ b/chromium.spec @@ -1259,7 +1259,8 @@ CHROMIUM_CORE_GN_DEFINES+=' use_custom_libcxx=false' CHROMIUM_CORE_GN_DEFINES+=' enable_iterator_debugging=false' CHROMIUM_CORE_GN_DEFINES+=' enable_js_type_check=false' CHROMIUM_CORE_GN_DEFINES+=' enable_vr=false' -CHROMIUM_CORE_GN_DEFINES+=' build_dawn_tests=false' +CHROMIUM_CORE_GN_DEFINES+=' build_dawn_tests=false enable_perfetto_unittests=false' +CHROMIUM_CORE_GN_DEFINES+=' disable_fieldtrial_testing_config=true' CHROMIUM_CORE_GN_DEFINES+=' blink_symbol_level=0 symbol_level=0 v8_symbol_level=0' export CHROMIUM_CORE_GN_DEFINES @@ -1392,7 +1393,9 @@ tools/gn/bootstrap/bootstrap.py --gn-gen-args="$CHROMIUM_CORE_GN_DEFINES $CHROMI %build_target %{headlessbuilddir} headless_shell %endif -%build_target %{builddir} chrome chrome_sandbox chromedriver +%build_target %{builddir} chrome +%build_target %{builddir} chrome_sandbox +%build_target %{builddir} chromedriver %if %{build_clear_key_cdm} %build_target %{builddir} clear_key_cdm