• Home
Name Date Size #Lines LOC

..--

3pp_common/06-Sep-2024-168124

android/06-Sep-2024-68,39652,198

apple/06-Sep-2024-1,130867

args/06-Sep-2024-143116

chromeos/06-Sep-2024-1,8561,430

cipd/06-Sep-2024-207178

config/06-Sep-2024-33,97730,170

docs/06-Sep-2024-450369

fuchsia/06-Sep-2024-8,2996,214

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

internal/06-Sep-2024-2517

ios/06-Sep-2024-872682

lacros/06-Sep-2024-1,8941,417

mac/06-Sep-2024-176131

private_code_test/06-Sep-2024-329254

rust/06-Sep-2024-8,5827,191

sanitizers/06-Sep-2024-441184

skia_gold_common/06-Sep-2024-2,4842,018

toolchain/06-Sep-2024-9,0176,993

util/06-Sep-2024-4,9023,832

win/06-Sep-2024-853620

.gitignoreD06-Sep-2024552 2927

.style.yapfD06-Sep-2024146 75

BUILD.gnD06-Sep-20242.6 KiB10685

DIR_METADATAD06-Sep-202468 64

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

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 KiB232230

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 KiB13878

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 KiB4542

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

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

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

gn_run_binary.pyD06-Sep-20241.1 KiB3618

install-build-deps.pyD06-Sep-202425.5 KiB916749

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

install-chroot.shD06-Sep-202430.6 KiB889675

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

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

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

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.6 KiB8378

symlink.pyD06-Sep-20243 KiB9367

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

write_buildflag_header.pyD06-Sep-20243.2 KiB9857

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