• Home
Name Date Size #Lines LOC

..--

3pp_common/06-Sep-2024-168124

android/06-Sep-2024-70,65153,984

apple/06-Sep-2024-1,134870

args/06-Sep-2024-144116

chromeos/06-Sep-2024-1,9841,532

cipd/06-Sep-2024-207178

config/06-Sep-2024-35,95931,953

docs/06-Sep-2024-450369

fuchsia/06-Sep-2024-7,8775,866

gn_ast/06-Sep-2024-1,7111,360

internal/06-Sep-2024-2517

ios/06-Sep-2024-885693

lacros/06-Sep-2024-1,9041,426

mac/06-Sep-2024-178132

private_code_test/06-Sep-2024-329254

rust/06-Sep-2024-9,5817,893

sanitizers/06-Sep-2024-475200

skia_gold_common/06-Sep-2024-2,4862,019

toolchain/06-Sep-2024-9,4137,293

util/06-Sep-2024-5,6654,351

win/06-Sep-2024-856622

.clang-tidyD06-Sep-2024136 43

.clangdD06-Sep-2024145 54

.gitignoreD06-Sep-2024551 2826

.style.yapfD06-Sep-2024146 75

BUILD.gnD06-Sep-20242.8 KiB11693

DEPSD06-Sep-20242.7 KiB8381

DIR_METADATAD06-Sep-2024114 87

OWNERSD06-Sep-20241.1 KiB3931

OWNERS.setnoparentD06-Sep-20243.3 KiB8366

OWNERS.statusD06-Sep-2024380 1311

PRESUBMIT.pyD06-Sep-20242 KiB5643

PRESUBMIT_test.pyD06-Sep-20241.2 KiB4325

README.mdD06-Sep-20241.6 KiB3730

action_helpers.pyD06-Sep-20243.9 KiB13299

action_helpers_unittest.pyD06-Sep-20242.6 KiB8857

build-ctags.shD06-Sep-20241.3 KiB5031

build_config.hD06-Sep-202412.1 KiB411287

buildflag.hD06-Sep-20241.7 KiB486

buildflag_header.gniD06-Sep-20244.5 KiB138129

check_gn_headers.pyD06-Sep-20248.9 KiB312234

check_gn_headers_unittest.pyD06-Sep-20242.2 KiB10281

check_gn_headers_whitelist.txtD06-Sep-20249.6 KiB230228

check_return_value.pyD06-Sep-2024431 1910

ciopfs.sha1D06-Sep-202440 11

clobber.pyD06-Sep-20244.5 KiB14488

clobber_unittest.pyD06-Sep-20244.3 KiB14999

compiled_action.gniD06-Sep-20245.8 KiB168150

compute_build_timestamp.pyD06-Sep-20245.3 KiB13979

copy_test_data_ios.pyD06-Sep-20243.1 KiB10776

cp.pyD06-Sep-2024567 2411

del_ninja_deps_cache.pyD06-Sep-20241.1 KiB4125

detect_host_arch.pyD06-Sep-20241.5 KiB5534

dir_exists.pyD06-Sep-2024544 2414

dotfile_settings.gniD06-Sep-20241.6 KiB4441

download_nacl_toolchains.pyD06-Sep-20242 KiB5633

env_dump.pyD06-Sep-20241.7 KiB5741

extract_from_cab.pyD06-Sep-20242 KiB6536

extract_partition.pyD06-Sep-20244.9 KiB167116

find_depot_tools.pyD06-Sep-20242.1 KiB7545

fix_gn_headers.pyD06-Sep-20246.5 KiB220173

gdb-add-indexD06-Sep-20245 KiB185130

get_landmines.pyD06-Sep-20243.8 KiB9461

get_symlink_targets.pyD06-Sep-2024691 2817

gn_editorD06-Sep-2024229 92

gn_helpers.pyD06-Sep-202417.7 KiB580435

gn_helpers_unittest.pyD06-Sep-202411.6 KiB354288

gn_logs.gniD06-Sep-2024467 139

gn_run_binary.pyD06-Sep-20241.1 KiB3618

install-build-deps.pyD06-Sep-202426.4 KiB940762

install-build-deps.shD06-Sep-2024218 81

install-chroot.shD06-Sep-202430.3 KiB883672

landmine_utils.pyD06-Sep-2024642 3420

landmines.pyD06-Sep-20245 KiB152118

locale_tool.pyD06-Sep-202449.3 KiB1,5121,098

mac_toolchain.pyD06-Sep-20247.1 KiB210140

metadata.json.inD06-Sep-202497 76

nocompile.gniD06-Sep-20245.9 KiB191169

noop.pyD06-Sep-2024185 51

partitioned_shared_library.gniD06-Sep-20246.1 KiB160145

precompile.ccD06-Sep-2024334 80

precompile.hD06-Sep-20241.1 KiB5441

print_python_deps.pyD06-Sep-20246.8 KiB187137

protoc_java.pyD06-Sep-20243.5 KiB11078

protoc_java.pydepsD06-Sep-2024246 98

redirect_stdout.pyD06-Sep-2024869 2912

rm.pyD06-Sep-2024874 4025

sample_arg_file.gnD06-Sep-2024222 76

sanitize-mac-build-log.sedD06-Sep-20241.1 KiB3124

sanitize-mac-build-log.shD06-Sep-2024201 61

sanitize-win-build-log.sedD06-Sep-2024465 1611

sanitize-win-build-log.shD06-Sep-2024201 61

shim_headers.gniD06-Sep-20241 KiB4236

symlink.gniD06-Sep-20242.5 KiB8075

symlink.pyD06-Sep-20242.8 KiB8662

timestamp.gniD06-Sep-20241.3 KiB3530

tree_truth.shD06-Sep-20242.8 KiB10362

update-linux-sandbox.shD06-Sep-20242.6 KiB8365

vs_toolchain.pyD06-Sep-202423.2 KiB590414

whitespace_file.txtD06-Sep-20248.5 KiB229175

write_buildflag_header.pyD06-Sep-20243.4 KiB10158

xcode_binaries.yamlD06-Sep-20244.1 KiB6443

zip_helpers.pyD06-Sep-20248.2 KiB239183

zip_helpers_unittest.pyD06-Sep-20241.7 KiB5940

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