anchor.diff:      } // 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;
  
positive.code:     '';
  
      gnFlags = mkGnFlags ({
        is_official_build = true;
        custom_toolchain = "//build/toolchain/linux/unbundle:default";
        host_toolchain = "//build/toolchain/linux/unbundle:default";
        system_wayland_scanner_path = "${wayland}/bin/wayland-scanner";
  
        use_sysroot = false;
        use_gnome_keyring = gnomeKeyringSupport;
        use_gio = gnomeSupport;
        # ninja: error: '../../native_client/toolchain/linux_x86/pnacl_newlib/bin/x86_64-nacl-objcopy',
        # needed by 'nacl_irt_x86_64.nexe', missing and no known rule to make it
        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;
        use_cups = cupsSupport;
        # Provides the enable-webrtc-pipewire-capturer flag to support Wayland screen capture.
        rtc_use_pipewire = true;
  
        treat_warnings_as_errors = false;
        clang_use_chrome_plugins = false;
        blink_symbol_level = 0;
  
negative.code:       # 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;
  