Open wxz879526 opened 2 years ago
path C:\depot_tools;%path%
set CHROMIUM_BUILDTOOLS_PATH=C:\chromium-base\src\buildtools
cd C:\chromium-base
cipd ensure -root . -ensure-file gn-win.ensure
to download gn.cd src
gn gen llvmout/ReleaseMD --args="use_custom_libcxx=false clang_use_chrome_plugins=false clang_base_path=\"to sume llvm path\" forbid_non_component_debug_builds=false treat_warnings_as_errors=false is_component_build=false is_debug=false symbol_level=0 use_allocator_shim=false use_allocator=\"none\""
to build static library. If you want build with default chromium toolchain remove clang_use_chrome_plugins
and clang_base_path
gn args. If you want build shared version change is_component_build
to true
ninja -C llvmout/ReleaseMD base base:base_static base/third_party/dynamic_annotations base/third_party/double_conversion base/win:pe_image
to build
Detail step to build in windows, thanks