Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Latest commit

 

History

History
39 lines (30 loc) · 1.82 KB

PREREQUISITES.md

File metadata and controls

39 lines (30 loc) · 1.82 KB
  • Node.js v16 (use fnm or nvm)
    • v18+ will cause the build to fail

macOS:

  • macOS 12.0 or newer
  • Xcode 13.4.1
    • Before you run any commands, use export DEVELOPER_DIR=/Applications/Xcode13.4.1.app/Contents/Developer where /Applications/Xcode13.4.1.app is the path to the extracted Xcode

Ubuntu/popOS

sudo apt-get install build-essential clang libdbus-1-dev libgtk-3-dev \
  libnotify-dev libasound2-dev libcap-dev libcups2-dev libxtst-dev \
  libxss1 libnss3-dev gcc-multilib g++-multilib curl gperf bison \
  python3-dbusmock openjdk-8-jre

Windows:

  • Windows 10 / Server 2012 R2 or higher

  • Visual Studio 2019 / Windows 11 SDK 10.0.22621.0 / Windows 10 SDK 10.015063.4368 / Windows 10 SDK 10.0.20348.0

    • Can be quickly installed by running this in an Admin PowerShell Windows Key+X > Windows PowerShell (admin):
      Set-ExecutionPolicy Unrestricted
      .\scripts\toolchain\install.ps1
      Set-ExecutionPolicy Restricted
      • You might need to install the powershell visual studio tools if the above command is failing because of missing VSSetup
          Install-Module VSSetup -Scope CurrentUser
  • Git

  • Exclude source tree from Windows Security

    • Windows Security doesn't like one of the files in the Chromium source code (see https://crbug.com/441184), so it will constantly delete it, causing gclient sync issues. You can exclude the source tree from being monitored by Windows Security by following these instructions.