• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

android/H03-May-2022-67,87752,092

apple/H20-Oct-2021-1,159893

args/H03-May-2022-11495

chromeos/H20-Oct-2021-1,5631,173

cipd/H20-Oct-2021-241197

config/H03-May-2022-28,18124,820

docs/H20-Oct-2021-422351

fuchsia/H03-May-2022-4,5263,309

internal/H20-Oct-2021-2517

ios/H20-Oct-2021-148129

lacros/H20-Oct-2021-1,4551,076

linux/H03-May-2022-6,5065,667

mac/H20-Oct-2021-166121

rust/H20-Oct-2021-712453

sanitizers/H20-Oct-2021-457188

skia_gold_common/H20-Oct-2021-2,3351,921

toolchain/H03-May-2022-7,4875,744

util/H20-Oct-2021-3,6822,840

win/H20-Oct-2021-960724

.gitignoreH A D20-Oct-2021570 3028

.style.yapfH A D20-Oct-2021146 75

BUILD.gnH A D20-Oct-20211.4 KiB6352

DIR_METADATAH A D20-Oct-202168 64

OWNERSH A D20-Oct-2021734 2722

OWNERS.setnoparentH A D20-Oct-20212.7 KiB7156

OWNERS.statusH A D20-Oct-2021380 1311

README.mdH A D20-Oct-20211.6 KiB3730

add_rts_filters.pyH A D20-Oct-20211.3 KiB4836

build-ctags.shH A D20-Oct-20211.3 KiB5031

build_config.hH A D03-May-20227.6 KiB233155

buildflag.hH A D20-Oct-20211.7 KiB486

buildflag_header.gniH A D20-Oct-20214.5 KiB138129

check_gn_headers.pyH A D20-Oct-20219 KiB311232

check_gn_headers_unittest.pyH A D20-Oct-20212.2 KiB10281

check_return_value.pyH A D20-Oct-2021490 2011

ciopfs.sha1H A D20-Oct-202140 11

clobber.pyH A D20-Oct-20214 KiB13586

compiled_action.gniH A D20-Oct-20215.9 KiB168150

compute_build_timestamp.pyH A D20-Oct-20214.8 KiB12771

copy_test_data_ios.pyH A D20-Oct-20213.2 KiB10877

cp.pyH A D20-Oct-2021592 2411

detect_host_arch.pyH A D03-May-20221.6 KiB5837

dir_exists.pyH A D20-Oct-2021569 2414

dotfile_settings.gniH A D20-Oct-20211.5 KiB4340

download_nacl_toolchains.pyH A D20-Oct-20212 KiB5734

env_dump.pyH A D20-Oct-20211.7 KiB5741

extract_from_cab.pyH A D20-Oct-20212.1 KiB6637

extract_partition.pyH A D20-Oct-20215.4 KiB175119

find_depot_tools.pyH A D20-Oct-20212.2 KiB7646

fix_gn_headers.pyH A D20-Oct-20216.5 KiB221174

gdb-add-indexH A D20-Oct-20215 KiB185130

get_landmines.pyH A D20-Oct-20213.5 KiB9057

get_symlink_targets.pyH A D20-Oct-2021716 2817

gn_helpers.pyH A D20-Oct-202116.3 KiB543406

gn_helpers_unittest.pyH A D20-Oct-202110.2 KiB316258

gn_logs.gniH A D20-Oct-2021357 96

gn_run_binary.pyH A D03-May-20221.2 KiB3719

install-build-deps-android.shH A D20-Oct-20211.1 KiB3813

install-build-deps.shH A D20-Oct-202121.6 KiB764652

install-chroot.shH A D20-Oct-202130.6 KiB889675

landmine_utils.pyH A D20-Oct-2021664 3420

landmines.pyH A D20-Oct-20215.1 KiB152118

locale_tool.pyH A D20-Oct-202149.4 KiB1,5131,099

mac_toolchain.pyH A D20-Oct-20217 KiB209145

nocompile.gniH A D20-Oct-20214.6 KiB138126

noop.pyH A D20-Oct-2021207 51

partitioned_shared_library.gniH A D20-Oct-20215.6 KiB144130

precompile.ccH A D20-Oct-2021360 80

precompile.hH A D20-Oct-20211.1 KiB5441

print_python_deps.pyH A D20-Oct-20218.3 KiB224159

protoc_java.pyH A D20-Oct-20213.3 KiB9970

protoc_java.pydepsH A D20-Oct-2021213 76

redirect_stdout.pyH A D20-Oct-2021657 229

rm.pyH A D20-Oct-2021937 4126

sample_arg_file.gnH A D20-Oct-2021216 76

sanitize-mac-build-log.sedH A D20-Oct-20211.2 KiB3426

sanitize-mac-build-log.shH A D20-Oct-2021227 61

sanitize-win-build-log.sedH A D20-Oct-2021491 1611

sanitize-win-build-log.shH A D20-Oct-2021227 61

shim_headers.gniH A D20-Oct-20211 KiB4034

symlink.gniH A D20-Oct-20212.5 KiB8075

symlink.pyH A D20-Oct-20213 KiB9266

timestamp.gniH A D20-Oct-20211.3 KiB3530

tree_truth.shH A D20-Oct-20212.8 KiB10362

update-linux-sandbox.shH A D20-Oct-20212.7 KiB8365

vs_toolchain.pyH A D20-Oct-202122.7 KiB574404

write_build_date_header.pyH A D20-Oct-20211.1 KiB3825

write_buildflag_header.pyH A D20-Oct-20213.5 KiB10462

xcode_binaries.yamlH A D20-Oct-20213.6 KiB5857

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