Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
3pp/ | 03-May-2024 | - | 158 | 113 | ||
android/ | 03-May-2024 | - | 69,313 | 52,863 | ||
apple/ | 03-May-2024 | - | 1,131 | 870 | ||
args/ | 03-May-2024 | - | 145 | 117 | ||
chromeos/ | 03-May-2024 | - | 1,852 | 1,415 | ||
cipd/ | 03-May-2024 | - | 207 | 178 | ||
config/ | 03-May-2024 | - | 33,395 | 29,630 | ||
docs/ | 03-May-2024 | - | 436 | 357 | ||
fuchsia/ | 03-May-2024 | - | 7,794 | 5,826 | ||
gn_ast/ | 03-May-2024 | - | 554 | 432 | ||
internal/ | 03-May-2024 | - | 25 | 17 | ||
ios/ | 03-May-2024 | - | 874 | 683 | ||
lacros/ | 03-May-2024 | - | 1,896 | 1,418 | ||
mac/ | 03-May-2024 | - | 178 | 132 | ||
private_code_test/ | 03-May-2024 | - | 329 | 254 | ||
rust/ | 03-May-2024 | - | 7,908 | 6,588 | ||
sanitizers/ | 03-May-2024 | - | 441 | 184 | ||
skia_gold_common/ | 03-May-2024 | - | 2,464 | 1,999 | ||
toolchain/ | 03-May-2024 | - | 8,919 | 6,914 | ||
util/ | 03-May-2024 | - | 4,722 | 3,675 | ||
win/ | 03-May-2024 | - | 854 | 621 | ||
.gitignore | D | 03-May-2024 | 570 | 30 | 28 | |
.style.yapf | D | 03-May-2024 | 146 | 7 | 5 | |
BUILD.gn | D | 03-May-2024 | 1.8 KiB | 81 | 65 | |
DIR_METADATA | D | 03-May-2024 | 68 | 6 | 4 | |
OWNERS | D | 03-May-2024 | 1 KiB | 37 | 30 | |
OWNERS.setnoparent | D | 03-May-2024 | 3.4 KiB | 86 | 68 | |
OWNERS.status | D | 03-May-2024 | 380 | 13 | 11 | |
PRESUBMIT.py | D | 03-May-2024 | 2 KiB | 56 | 43 | |
PRESUBMIT_test.py | D | 03-May-2024 | 1.2 KiB | 43 | 25 | |
README.md | D | 03-May-2024 | 1.6 KiB | 37 | 30 | |
action_helpers.py | D | 03-May-2024 | 3.8 KiB | 127 | 95 | |
action_helpers_unittest.py | D | 03-May-2024 | 2.6 KiB | 88 | 57 | |
add_rts_filters.py | D | 03-May-2024 | 1.5 KiB | 57 | 41 | |
build-ctags.sh | D | 03-May-2024 | 1.3 KiB | 50 | 31 | |
build_config.h | D | 03-May-2024 | 11.3 KiB | 386 | 271 | |
buildflag.h | D | 03-May-2024 | 1.7 KiB | 48 | 6 | |
buildflag_header.gni | D | 03-May-2024 | 4.5 KiB | 138 | 129 | |
check_gn_headers.py | D | 03-May-2024 | 8.9 KiB | 312 | 234 | |
check_gn_headers_unittest.py | D | 03-May-2024 | 2.2 KiB | 102 | 81 | |
check_gn_headers_whitelist.txt | D | 03-May-2024 | 9.7 KiB | 233 | 231 | |
check_return_value.py | D | 03-May-2024 | 431 | 19 | 10 | |
ciopfs.sha1 | D | 03-May-2024 | 40 | 1 | 1 | |
clobber.py | D | 03-May-2024 | 4.5 KiB | 144 | 88 | |
clobber_unittest.py | D | 03-May-2024 | 4.3 KiB | 149 | 99 | |
compiled_action.gni | D | 03-May-2024 | 5.8 KiB | 168 | 150 | |
compute_build_timestamp.py | D | 03-May-2024 | 5.3 KiB | 138 | 78 | |
copy_test_data_ios.py | D | 03-May-2024 | 3.1 KiB | 107 | 76 | |
cp.py | D | 03-May-2024 | 567 | 24 | 11 | |
del_ninja_deps_cache.py | D | 03-May-2024 | 1.1 KiB | 41 | 25 | |
detect_host_arch.py | D | 03-May-2024 | 1.5 KiB | 55 | 34 | |
dir_exists.py | D | 03-May-2024 | 544 | 24 | 14 | |
dotfile_settings.gni | D | 03-May-2024 | 1.6 KiB | 44 | 41 | |
download_nacl_toolchains.py | D | 03-May-2024 | 2 KiB | 56 | 33 | |
env_dump.py | D | 03-May-2024 | 1.7 KiB | 57 | 41 | |
extract_from_cab.py | D | 03-May-2024 | 2 KiB | 65 | 36 | |
extract_partition.py | D | 03-May-2024 | 5.4 KiB | 177 | 121 | |
find_depot_tools.py | D | 03-May-2024 | 2.1 KiB | 75 | 45 | |
fix_gn_headers.py | D | 03-May-2024 | 6.5 KiB | 220 | 173 | |
gdb-add-index | D | 03-May-2024 | 5 KiB | 185 | 130 | |
get_landmines.py | D | 03-May-2024 | 3.7 KiB | 92 | 59 | |
get_symlink_targets.py | D | 03-May-2024 | 691 | 28 | 17 | |
gn_helpers.py | D | 03-May-2024 | 17.5 KiB | 575 | 431 | |
gn_helpers_unittest.py | D | 03-May-2024 | 11.6 KiB | 354 | 288 | |
gn_logs.gni | D | 03-May-2024 | 335 | 9 | 6 | |
gn_run_binary.py | D | 03-May-2024 | 1.1 KiB | 36 | 18 | |
install-build-deps.py | D | 03-May-2024 | 25.4 KiB | 914 | 747 | |
install-build-deps.sh | D | 03-May-2024 | 218 | 8 | 1 | |
install-chroot.sh | D | 03-May-2024 | 30.6 KiB | 889 | 675 | |
landmine_utils.py | D | 03-May-2024 | 642 | 34 | 20 | |
landmines.py | D | 03-May-2024 | 5 KiB | 152 | 118 | |
locale_tool.py | D | 03-May-2024 | 49.3 KiB | 1,512 | 1,098 | |
mac_toolchain.py | D | 03-May-2024 | 7.2 KiB | 211 | 141 | |
metadata.json.in | D | 03-May-2024 | 97 | 7 | 6 | |
nocompile.gni | D | 03-May-2024 | 6 KiB | 199 | 183 | |
noop.py | D | 03-May-2024 | 185 | 5 | 1 | |
partitioned_shared_library.gni | D | 03-May-2024 | 5.6 KiB | 143 | 129 | |
precompile.cc | D | 03-May-2024 | 334 | 8 | 0 | |
precompile.h | D | 03-May-2024 | 1.1 KiB | 54 | 41 | |
print_python_deps.py | D | 03-May-2024 | 6.8 KiB | 187 | 137 | |
protoc_java.py | D | 03-May-2024 | 3.5 KiB | 110 | 78 | |
protoc_java.pydeps | D | 03-May-2024 | 246 | 9 | 8 | |
redirect_stdout.py | D | 03-May-2024 | 869 | 29 | 12 | |
rm.py | D | 03-May-2024 | 874 | 40 | 25 | |
sample_arg_file.gn | D | 03-May-2024 | 216 | 7 | 6 | |
sanitize-mac-build-log.sed | D | 03-May-2024 | 1.1 KiB | 34 | 26 | |
sanitize-mac-build-log.sh | D | 03-May-2024 | 201 | 6 | 1 | |
sanitize-win-build-log.sed | D | 03-May-2024 | 465 | 16 | 11 | |
sanitize-win-build-log.sh | D | 03-May-2024 | 201 | 6 | 1 | |
shim_headers.gni | D | 03-May-2024 | 1 KiB | 42 | 36 | |
symlink.gni | D | 03-May-2024 | 2.6 KiB | 83 | 78 | |
symlink.py | D | 03-May-2024 | 3 KiB | 93 | 67 | |
timestamp.gni | D | 03-May-2024 | 1.3 KiB | 35 | 30 | |
tree_truth.sh | D | 03-May-2024 | 2.8 KiB | 103 | 62 | |
update-linux-sandbox.sh | D | 03-May-2024 | 2.6 KiB | 83 | 65 | |
vs_toolchain.py | D | 03-May-2024 | 23.2 KiB | 590 | 414 | |
whitespace_file.txt | D | 03-May-2024 | 7.8 KiB | 212 | 164 | |
write_buildflag_header.py | D | 03-May-2024 | 3.2 KiB | 98 | 57 | |
xcode_binaries.yaml | D | 03-May-2024 | 4.1 KiB | 64 | 43 | |
zip_helpers.py | D | 03-May-2024 | 8.2 KiB | 239 | 183 | |
zip_helpers_unittest.py | D | 03-May-2024 | 1.7 KiB | 59 | 40 |
README.md
1# About 2`//build` contains: 3 * Core GN templates and configuration 4 * Core Python build scripts 5 6Since this directory is DEPS'ed in by some other repositories (webrtc, pdfium, 7v8, etc), it should be kept as self-contained as possible by not referring 8to files outside of it. Some exceptions exist (`//testing`, select 9`//third_party` subdirectories), but new dependencies tend to break these other 10projects, and so should be avoided. 11 12Changes to `//build` should be landed in the Chromium repo. They will then be 13replicated to the stand-alone [build repo](https://chromium.googlesource.com/chromium/src/build) 14by the [gsubtreed tool.](https://chromium.googlesource.com/infra/infra/+/main/infra/services/gsubtreed) 15Note: You can find all directories already available through gsubtreed in the 16[list of all chromium repos](https://chromium.googlesource.com/). 17 18## Contents 19 * `//build/config` - Common templates via `.gni` files. 20 * `//build/toolchain` - GN toolchain definitions. 21 * `Other .py files` - Some are used by GN/Ninja. Some by gclient hooks, some 22 are just random utilities. 23 24Files referenced by `//.gn`: 25 * `//build/BUILDCONFIG.gn` - Included by all `BUILD.gn` files. 26 * `//build/secondary` - An overlay for `BUILD.gn` files. Enables adding 27 `BUILD.gn` to directories that live in sub-repositories. 28 * `//build_overrides` - 29 Refer to [//build_overrides/README.md](../build_overrides/README.md). 30 31## Docs 32 33* [Writing GN Templates](docs/writing_gn_templates.md) 34* [Debugging Slow Builds](docs/debugging_slow_builds.md) 35* [Mac Hermetic Toolchains](docs/mac_hermetic_toolchain.md) 36* [Android Build Documentation](android/docs/README.md) 37