anchor.diff:        # Note: The API key is for NixOS/nixpkgs use ONLY.
         # For your own distribution, please get your own set of keys.
         google_api_key = "AIzaSyDGi15Zwl11UNe6Y-5XW_upsfyw31qwZPI";
  +
  +      # Optional features:
  +      use_cups = cupsSupport;
  +      use_gio = gnomeSupport;
  +      use_gnome_keyring = gnomeKeyringSupport;
  +
  +      # Feature overrides:
  +      # Native Client support was deprecated in 2020 and support will end in June 2021:
  +      enable_nacl = false;
  +      # Enabling the Widevine component here doesn't affect whether we can
  +      # redistribute the chromium package; the Widevine component is either
  +      # added later in the wrapped -wv build or downloaded from Google:
  +      enable_widevine = true;
  +      # Provides the enable-webrtc-pipewire-capturer flag to support Wayland screen capture:
  +      rtc_use_pipewire = true;
  +
  +      # TODOs:
  +      # Disable PGO (defaults to 2 since M89) because it fails without additional changes:
  +      # error: Could not read profile ../../chrome/build/pgo_profiles/chrome-linux-master-1610647094-405a32bcf15e5a84949640f99f84a5b9f61e2f2e.profdata: Unsupported instrumentation profile format version
  +      chrome_pgo_phase = 0; # TODO
  +      # Disable build with TFLite library because it fails without additional changes:
  +      # ninja: error: '../../chrome/test/data/simple_test.tflite', needed by 'test_data/simple_test.tflite', missing and no known rule to make it
  +      # Note: chrome/test/data/simple_test.tflite is in the Git repository but not in chromium-90.0.4400.8.tar.xz
  +      # See also chrome/services/machine_learning/README.md
  +      build_with_tflite_lib = false; # TODO
       } // optionalAttrs proprietaryCodecs {
         # enable support for the H.264 codec
         proprietary_codecs = true;
  
positive.code:     } // optionalAttrs pulseSupport {
        use_pulseaudio = true;
        link_pulseaudio = true;
        # Disable PGO (defaults to 2 since M89) because it fails without additional changes:
        # error: Could not read profile ../../chrome/build/pgo_profiles/chrome-linux-master-1610647094-405a32bcf15e5a84949640f99f84a5b9f61e2f2e.profdata: Unsupported instrumentation profile format version
        chrome_pgo_phase = 0;
        # Disable build with TFLite library because it fails without additional changes:
        # ninja: error: '../../chrome/test/data/simple_test.tflite', needed by 'test_data/simple_test.tflite', missing and no known rule to make it
        # Note: chrome/test/data/simple_test.tflite is in the Git repository but not in chromium-90.0.4400.8.tar.xz
        # See also chrome/services/machine_learning/README.md
        build_with_tflite_lib = false;
      } // optionalAttrs ungoogled {
        chrome_pgo_phase = 0;
        enable_hangout_services_extension = false;
  
negative.code:     '';
  
      gnFlags = mkGnFlags ({
        # Main build and toolchain settings:
        is_official_build = true;
        custom_toolchain = "//build/toolchain/linux/unbundle:default";
        host_toolchain = "//build/toolchain/linux/unbundle:default";
        use_sysroot = false;
        system_wayland_scanner_path = "${wayland}/bin/wayland-scanner";
        treat_warnings_as_errors = false;
        clang_use_chrome_plugins = false;
        blink_symbol_level = 0;
  