Install depot_tools here
-
Install Visual Studio 2019 (>=16.0.0)
-
Install Windows 10 SDK
- A Mac, Intel or Arm. (More details about Arm Macs.)
- Xcode. Xcode comes with...
- The macOS SDK. Run
command:
gclient config --unmanaged --name=src https://github.com/LittleKu/base.git
gclient sync
cd src
set NINJA_SUMMARIZE_BUILD=1
# MacOS:
gn gen out/Debug --filters://base "--args=is_debug=true target_os=\"mac\"" --ide=xcode
autoninja -C out/Debug default
# Windows:
gn gen out/Debug_x86 --filters://base "--args=is_debug=true target_os=\"win\" target_cpu=\"x86\"" --ide=vs2019
autoninja -C out/Debug_x86 default