Clone of https://chromium.googlesource.com/chromium/src/build with Mozilla's local modifications
42a74754e7
Goma no longer supports cl.exe and the cl.exe version update in this CL hasn't been uploaded to goma's servers. Everyone who has bots that use cl.exe must make sure that these bots don't use goma before rolling this CL in. This change switches the MSVC toolchain to VS 2019 16.3.29324. Windows SDK is mostly 10.0.18362 Debuggers from 10.0.17763 d3dcompiler_47.dll from 10.0.17134 The instructions for the previous package are included below: Packaging was done on a Windows Server 2019 VM, cleanly created for this purpose. The package was created by downloading VS 2019 Update 3.29324, from https://visualstudio.microsoft.com/downloads/ and downloading the 16.3 Visual Studio Professional 2019, and then running the installer like this: $ PATH_TO_INSTALLER.EXE ^ --add Microsoft.VisualStudio.Workload.NativeDesktop ^ --add Microsoft.VisualStudio.Component.VC.ATLMFC ^ --add Microsoft.VisualStudio.Component.VC.Tools.ARM64 ^ --add Microsoft.VisualStudio.Component.VC.MFC.ARM64 ^ --includeRecommended --passive Then the 10.0.18362.0 SDK was installed from: https://developer.microsoft.com/en-US/windows/downloads/windows-10-sdk. Then Add or Remove Programs was used to modify the 10.0.18362.0 SDK to add the Debuggers package. Then the packaging script was run like this: python depot_tools\win_toolchain\package_from_installed.py 2019 -w 10.0.18362.0 Since the new d3dcompiler_47.dll uses the UCRT and we want to avoid shipping that the final packaging step was to unzip the package, copy over the two copies of that DLL from win_sdk\Redist, replace the Debuggers directory with the 10.0.17763 SDK, and then repackage the toolchain with: > python package_from_installed.py --repackage=<full-path-to-toolchain-dir> Bug: 1006238 Change-Id: I623632bd72f018a74ab513d2c79e89199915e647 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1836195 Reviewed-by: Nico Weber <thakis@chromium.org> Reviewed-by: Bruce Dawson <brucedawson@chromium.org> Commit-Queue: Mirko Bonadei <mbonadei@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#704569} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 8e82c6ab1bc2223fa25f1a127b65071d2d58ae36 |
||
---|---|---|
android | ||
args | ||
chromeos | ||
cipd | ||
config | ||
docs | ||
fuchsia | ||
internal | ||
ios | ||
linux | ||
mac | ||
sanitizers | ||
toolchain | ||
util | ||
win | ||
.gitignore | ||
BUILD.gn | ||
OWNERS | ||
OWNERS.status | ||
README.md | ||
apply_locales.py | ||
build-ctags.sh | ||
build_config.h | ||
buildflag.h | ||
buildflag_header.gni | ||
check_gn_headers.py | ||
check_gn_headers_unittest.py | ||
check_gn_headers_whitelist.txt | ||
check_return_value.py | ||
ciopfs.sha1 | ||
clobber.py | ||
common.croc | ||
compiled_action.gni | ||
compute_build_timestamp.py | ||
copy_test_data_ios.py | ||
cp.py | ||
detect_host_arch.py | ||
dir_exists.py | ||
dotfile_settings.gni | ||
download_nacl_toolchains.py | ||
download_translation_unit_tool.py | ||
env_dump.py | ||
extract_from_cab.py | ||
extract_partition.py | ||
find_depot_tools.py | ||
find_isolated_tests.py | ||
fix_gn_headers.py | ||
gdb-add-index | ||
get_landmines.py | ||
gn_helpers.py | ||
gn_helpers_unittest.py | ||
gn_run_binary.py | ||
install-build-deps-android.sh | ||
install-build-deps.sh | ||
install-chroot.sh | ||
landmine_utils.py | ||
landmines.py | ||
locale_tool.py | ||
mac_toolchain.py | ||
nocompile.gni | ||
package_mac_toolchain.py | ||
partitioned_shared_library.gni | ||
precompile.cc | ||
precompile.h | ||
print_python_deps.py | ||
protoc_java.py | ||
protoc_java.pydeps | ||
redirect_stdout.py | ||
rm.py | ||
run_swarming_xcode_install.py | ||
sample_arg_file.gn | ||
sanitize-mac-build-log.sed | ||
sanitize-mac-build-log.sh | ||
sanitize-win-build-log.sed | ||
sanitize-win-build-log.sh | ||
shim_headers.gni | ||
split_static_library.gni | ||
swarming_xcode_install.py | ||
symlink.gni | ||
symlink.py | ||
timestamp.gni | ||
tree_truth.sh | ||
update-linux-sandbox.sh | ||
vs_toolchain.py | ||
whitespace_file.txt | ||
write_build_date_header.py | ||
write_buildflag_header.py | ||
xcode_binaries.yaml |
README.md
About
//build
contains:
- Core GN templates and configuration
- Core Python build scripts
Since this directory is DEPS'ed in by some other repositories (webrtc, pdfium,
v8, etc), it should be kept as self-contained as possible by not referring
to files outside of it. Some exceptions exist (//testing
, select
//third_party
subdirectories), but new dependencies tend to break these other
projects, and so should be avoided.
Changes to //build
should be landed in the Chromium repo. They will then be
replicated to the stand-alone build repo
by the gsubtreed tool.
Note: You can find all directories already available through gsubtreed in the
list of all chromium repos.
Contents
//build/config
- Common templates via.gni
files.//build/toolchain
- GN toolchain definitions.Other .py files
- Some are used by GN/Ninja. Some by gclient hooks, some are just random utilities.
Files referenced by //.gn
:
//build/BUILDCONFIG.gn
- Included by allBUILD.gn
files.//build/secondary
- An overlay forBUILD.gn
files. Enables addingBUILD.gn
to directories that live in sub-repositories.//build_overrides
- Refer to //build_overrides/README.md.