Clone of https://chromium.googlesource.com/chromium/src/build with Mozilla's local modifications
Перейти к файлу
Bruce Dawson 818b3b4bd5 Fix copy_cdb outputs for ARM64 Win32 builds
On ARM64 Win32 builds the UCRT is not a redistributable and therefore
must be omitted from the list of outputs. Otherwise the
copy_cdb_to_output will never be clean.

This was tested before and after with this pair of commands:

    ninja.exe -C out\arm64 copy_cdb_to_output
    ninja.exe -d explain -C out\arm64 copy_cdb_to_output

Before the build step was always dirty. After it is always clean.

Bug: 937083
Change-Id: Ica53b1b172441925dcbb27f6033774d49b1df9af
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1497491
Auto-Submit: Bruce Dawson <brucedawson@chromium.org>
Commit-Queue: Justin DeWitt <dewittj@chromium.org>
Reviewed-by: Justin DeWitt <dewittj@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#637404}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: dd3e44cc62a0cb83a470f71749ac0f05f3c24838
2019-03-04 20:29:28 +00:00
android Android: Add support for building stub APKs. 2019-03-02 03:24:21 +00:00
args
chromeos
cipd
config [Bundles] Add Bundle support to Trichrome Chrome 2019-03-04 15:38:00 +00:00
docs
fuchsia Roll Fuchsia SDK from 0b4f8a4df79d to a510a7616b64 2019-03-01 20:20:18 +00:00
git-hooks
internal
ios
linux
mac
sanitizers [NetInfo] Fix a broken browsertest 2019-03-04 14:30:17 +00:00
secondary/third_party
toolchain Adding optimization flags necessary for building on MacOS. 2019-03-01 22:46:52 +00:00
util
win Fix copy_cdb outputs for ARM64 Win32 builds 2019-03-04 20:29:28 +00:00
.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
common.gypi
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
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
gyp_chromium
gyp_chromium.py
gyp_environment.py
install-build-deps-android.sh
install-build-deps.sh
install-chroot.sh
landmine_utils.py
landmines.py
mac_toolchain.py
nocompile.gni
package_mac_toolchain.py
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 Whitespace test. 2019-02-28 16:58:48 +00:00
win_is_xtree_patched.py
write_build_date_header.py
write_buildflag_header.py

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.

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 all BUILD.gn files.
  • //build/secondary - An overlay for BUILD.gn files. Enables adding BUILD.gn to directories that live in sub-repositories.
  • //build_overrides - Refer to //build_overrides/README.md.

Docs