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

..03-May-2022-

android/H03-May-2022-63,42048,898

apple/H16-Feb-2021-745571

args/H03-May-2022-10689

chromeos/H16-Feb-2021-1,083793

cipd/H16-Feb-2021-10884

config/H03-May-2022-27,98424,504

docs/H16-Feb-2021-315268

fuchsia/H03-May-2022-3,7882,715

internal/H16-Feb-2021-2517

ios/H16-Feb-2021-124108

lacros/H16-Feb-2021-1,162856

linux/H03-May-2022-6,3945,537

mac/H16-Feb-2021-178130

sanitizers/H16-Feb-2021-424171

skia_gold_common/H16-Feb-2021-2,1781,777

toolchain/H03-May-2022-6,3694,844

util/H03-May-2022-3,3582,594

win/H16-Feb-2021-922701

.gitignoreH A D16-Feb-2021544 2927

.style.yapfH A D16-Feb-2021146 75

BUILD.gnH A D16-Feb-20211.2 KiB5040

DIR_METADATAH A D16-Feb-202168 64

OWNERSH A D16-Feb-2021562 2319

OWNERS.setnoparentH A D16-Feb-20212.4 KiB6350

OWNERS.statusH A D16-Feb-2021380 1311

README.mdH A D16-Feb-20211.6 KiB3730

apply_locales.pyH A D16-Feb-20211.5 KiB4926

build-ctags.shH A D16-Feb-20211.3 KiB5031

build_config.hH A D03-May-20227.7 KiB236158

buildflag.hH A D16-Feb-20211.7 KiB486

buildflag_header.gniH A D16-Feb-20214.5 KiB138129

check_gn_headers.pyH A D16-Feb-20219 KiB311232

check_gn_headers_unittest.pyH A D16-Feb-20212.2 KiB10281

check_return_value.pyH A D16-Feb-2021490 2011

ciopfs.sha1H A D16-Feb-202140 11

clobber.pyH A D16-Feb-20214 KiB13586

compiled_action.gniH A D16-Feb-20215.9 KiB168150

compute_build_timestamp.pyH A D16-Feb-20214.8 KiB12771

copy_test_data_ios.pyH A D16-Feb-20213.2 KiB10877

cp.pyH A D16-Feb-2021592 2411

detect_host_arch.pyH A D03-May-20221.6 KiB5837

dir_exists.pyH A D16-Feb-2021569 2414

dotfile_settings.gniH A D16-Feb-20211.6 KiB4441

download_nacl_toolchains.pyH A D16-Feb-20212 KiB5734

env_dump.pyH A D16-Feb-20211.7 KiB5741

extract_from_cab.pyH A D16-Feb-20212.1 KiB6637

extract_partition.pyH A D16-Feb-20211.8 KiB6247

find_depot_tools.pyH A D16-Feb-20212.2 KiB7646

find_isolated_tests.pyH A D16-Feb-20212.2 KiB7954

fix_gn_headers.pyH A D16-Feb-20216.5 KiB221174

gdb-add-indexH A D16-Feb-20215 KiB185130

get_landmines.pyH A D16-Feb-20213.5 KiB9057

get_symlink_targets.pyH A D16-Feb-2021716 2817

gn_helpers.pyH A D16-Feb-202116.3 KiB543406

gn_helpers_unittest.pyH A D16-Feb-202110.2 KiB316258

gn_logs.gniH A D16-Feb-2021357 96

gn_run_binary.pyH A D03-May-20221.2 KiB3719

install-build-deps-android.shH A D16-Feb-20211.2 KiB4114

install-build-deps.shH A D16-Feb-202122.3 KiB775663

install-chroot.shH A D16-Feb-202130.6 KiB889675

landmine_utils.pyH A D03-May-2022677 3420

landmines.pyH A D16-Feb-20215.2 KiB155120

locale_tool.pyH A D16-Feb-202150.1 KiB1,5301,113

mac_toolchain.pyH A D16-Feb-20217.2 KiB209144

nocompile.gniH A D16-Feb-20214.4 KiB133122

noop.pyH A D16-Feb-2021207 51

partitioned_shared_library.gniH A D16-Feb-20215.6 KiB144130

precompile.ccH A D16-Feb-2021360 80

precompile.hH A D16-Feb-20211.1 KiB5441

print_python_deps.pyH A D16-Feb-20218 KiB216154

protoc_java.pyH A D16-Feb-20213.3 KiB9970

protoc_java.pydepsH A D16-Feb-2021213 76

redirect_stdout.pyH A D16-Feb-2021657 229

rm.pyH A D16-Feb-2021937 4126

run_swarming_xcode_install.pyH A D16-Feb-20213 KiB8463

sample_arg_file.gnH A D16-Feb-2021216 76

sanitize-mac-build-log.sedH A D16-Feb-20211.2 KiB3426

sanitize-mac-build-log.shH A D16-Feb-2021227 61

sanitize-win-build-log.sedH A D16-Feb-2021491 1611

sanitize-win-build-log.shH A D16-Feb-2021227 61

shim_headers.gniH A D16-Feb-20211 KiB4034

swarming_xcode_install.pyH A D16-Feb-20211.8 KiB6643

symlink.gniH A D16-Feb-20212.5 KiB8075

symlink.pyH A D16-Feb-20213 KiB9367

timestamp.gniH A D16-Feb-20211.3 KiB3530

tree_truth.shH A D16-Feb-20212.8 KiB10362

update-linux-sandbox.shH A D16-Feb-20212.7 KiB8365

vs_toolchain.pyH A D16-Feb-202122.9 KiB578416

write_build_date_header.pyH A D16-Feb-20211.1 KiB3825

write_buildflag_header.pyH A D16-Feb-20213.1 KiB9656

xcode_binaries.yamlH A D16-Feb-20213.5 KiB5756

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/+/master/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