Clone of https://chromium.googlesource.com/chromium/src/build with Mozilla's local modifications
Перейти к файлу
Andrew Grieve 471a6cd745 Add GN assert for enable_resource_allowlist_generation
Improves error messages for existing asserts, and adds one for
blink_symbol_level=0

Bug: 1126200
Change-Id: I6624f6858ee568a33b5174ab8ba7c1834c1d5f56
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2401853
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Reviewed-by: Bruce Dawson <brucedawson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#805578}
GitOrigin-RevId: 73b000940e519d13ccb4e326fa26e297bb620e17
2020-09-09 17:56:26 -07:00
android Fix build_vars.txt 2020-09-08 16:46:00 -07:00
apple [ios] Add support for building .swift files 2020-08-24 02:11:30 -07:00
args Reland "Reland "Reland "X11 and Ozone: enable use_x11 and use_ozone""" 2020-09-01 04:31:24 -07:00
chromeos chromeos: Don't swallow test args when '--' is present. 2020-08-03 12:42:32 -07:00
cipd Revert "[cipd] Refactor CIPD template" 2020-04-13 10:03:51 +00:00
config Revert "Increase android32_ndk_api_level 16 -> 21" 2020-09-09 15:59:31 -07:00
docs Delete old package_mac_toolchain.py script 2020-05-15 18:15:50 +00:00
fuchsia Roll Fuchsia SDK from 0.20200909.1.1 to 0.20200909.2.1 2020-09-09 16:04:48 -07:00
internal
ios [ios] Assert that Xcode version is recent enough 2020-07-17 10:07:33 -07:00
lacros [lacros] Retry starting ash-chrome 2020-09-09 12:05:56 -07:00
linux Reland "Roll sysroots" 2020-08-27 18:31:30 -07:00
mac mac: Make it possible to download mac sdk on a linux host. 2020-07-01 12:50:04 -07:00
sanitizers Refactor OS_LINUX preprocessor directive for LaCrOS effort. 2020-08-18 11:19:38 -07:00
skia_gold_common Fix handling of missing Gold links 2020-09-02 22:36:26 -07:00
toolchain Add GN assert for enable_resource_allowlist_generation 2020-09-09 17:56:26 -07:00
util Revert "Update TrichromeChrome version code." 2020-08-28 07:36:54 -07:00
win Opt in to the Windows "segment heap" 2020-06-25 12:58:50 -07:00
.gitignore [Fuchsia] Switch to dynamic loading of loosely-coupled target modules. 2020-08-27 15:25:01 -07:00
.style.yapf Enable Python auto-formatting on common directories 2020-01-07 17:37:07 +00:00
BUILD.gn lacros: Migrate chromeos/chromeos_buildflags.h to build/chromeos_buildflags.h 2020-09-03 11:16:05 -07:00
OWNERS Remove 'dpranke@chromium.org' from OWNERS. 2020-08-04 13:04:50 -07:00
OWNERS.setnoparent Restrict ownership for critical lock/login components 2020-06-19 19:52:57 +00:00
OWNERS.status
README.md //build/README.md: Add link to https://chromium.googlesource.com/ 2019-09-23 14:57:24 +00:00
apply_locales.py //build: Convert print statements to Python 3 style 2019-05-12 06:11:07 +00:00
build-ctags.sh
build_config.h Refactor OS_LINUX preprocessor directive for LaCrOS effort. 2020-08-23 16:58:55 -07:00
buildflag.h
buildflag_header.gni Reformat all gn files in /build. 2020-01-14 04:52:17 +00:00
check_gn_headers.py //build: Convert print statements to Python 3 style 2019-05-12 06:11:07 +00:00
check_gn_headers_unittest.py
check_gn_headers_whitelist.txt Remove various references to third_party/cacheinvalidation 2020-07-20 13:01:10 -07:00
check_return_value.py //build: Convert print statements to Python 3 style 2019-05-12 06:11:07 +00:00
ciopfs.sha1
clobber.py [ios] Fix interaction of build/clobber.py & ios/build/tools/setup-gn.py 2020-07-08 02:07:35 -07:00
compiled_action.gni
compute_build_timestamp.py Update compute_build_timestamp.py comment 2020-04-17 17:30:01 +00:00
copy_test_data_ios.py //build: Use Python 3 style exception statements 2019-09-26 19:20:53 +00:00
cp.py
detect_host_arch.py //build: Convert print statements to Python 3 style 2019-05-12 06:11:07 +00:00
dir_exists.py
dotfile_settings.gni [ios] Add codesigning information in generated Xcode project 2020-06-26 07:08:08 -07:00
download_nacl_toolchains.py
env_dump.py
extract_from_cab.py //build: Convert print statements to Python 3 style 2019-05-12 06:11:07 +00:00
extract_partition.py Implement DWARF Fission support in Chrome Android. 2020-08-24 21:43:00 -07:00
find_depot_tools.py //build: Convert print statements to Python 3 style 2019-05-12 06:11:07 +00:00
find_isolated_tests.py
fix_gn_headers.py //build: Convert print statements to Python 3 style 2019-05-12 06:11:07 +00:00
gdb-add-index
get_landmines.py
get_symlink_targets.py Reland #2 chromeos: Add only the current SDK version's items to a test's data. 2020-06-10 23:31:04 +00:00
gn_helpers.py Reland "build_vars.txt: Changed to build_vars.json" 2020-08-10 11:15:55 -07:00
gn_helpers_unittest.py [Build] gn_helpers.py: ToGNString(): Add option for pretty print. 2020-06-05 21:44:34 +00:00
gn_logs.gni Report the value of concurrent_links from "gn gen" when on bots 2020-08-07 10:22:06 -07:00
gn_run_binary.py //build: Convert print statements to Python 3 style 2019-05-12 06:11:07 +00:00
install-build-deps-android.sh Remove java from install-build-deps-android.sh 2019-11-19 19:37:19 +00:00
install-build-deps.sh install-build-deps: Remove redundant dev_list 2020-08-31 16:33:40 -07:00
install-chroot.sh
landmine_utils.py
landmines.py Reland "[ios] Add --landmines-path to build/landmines.py script" 2020-07-08 10:35:47 -07:00
locale_tool.py [locales] refactor android specific locale variables 2020-02-08 02:37:10 +00:00
mac_toolchain.py mac/arm64: Update to Xcode 12b6 (12A8189n) 2020-08-25 23:58:48 -07:00
nocompile.gni [build] Add include_dirs option to nocompile_test 2020-08-13 11:33:46 -07:00
noop.py [ios/rbe] Fix iOS buildwith Goma RBE 2020-03-16 15:34:28 +00:00
partitioned_shared_library.gni Implement DWARF Fission support in Chrome Android. 2020-08-24 21:43:00 -07:00
precompile.cc
precompile.h
print_python_deps.py Finish converting all scripts from depfile -> .pydeps 2020-06-25 13:01:03 -07:00
protoc_java.py Finish converting all scripts from depfile -> .pydeps 2020-06-25 13:01:03 -07:00
protoc_java.pydeps Reland "Move build_utils.CallAndWriteDepfileIfStale -> md5_utils" 2019-12-12 20:47:03 +00:00
redirect_stdout.py //build: Convert print statements to Python 3 style 2019-05-12 06:11:07 +00:00
rm.py //build: Convert print statements to Python 3 style 2019-05-12 06:11:07 +00:00
run_swarming_xcode_install.py //build: Convert print statements to Python 3 style 2019-05-12 06:11:07 +00:00
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 Reformat all gn files in /build. 2020-01-14 04:52:17 +00:00
swarming_xcode_install.py //build: Convert print statements to Python 3 style 2019-05-12 06:11:07 +00:00
symlink.gni Reformat all gn files in /build. 2020-01-14 04:52:17 +00:00
symlink.py //build: Use Python 3 style exception statements 2019-09-26 19:20:53 +00:00
timestamp.gni Add arg to change script for computing build timestamp 2019-03-26 01:05:23 +00:00
tree_truth.sh
update-linux-sandbox.sh
vs_toolchain.py Fix vs_toolchain.py for Python 3 2020-07-21 10:22:16 -07:00
whitespace_file.txt Add missing commit change footer 2020-07-22 11:10:02 -07:00
write_build_date_header.py
write_buildflag_header.py
xcode_binaries.yaml mac: Include atos in hermetic Xcode packages 2020-08-13 11:57:19 -07:00

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 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