tree: 915ddb5948c460388ba7e0b80503c6c30bc5dcf0 [search]
  1. 3pp_common/
  2. android/
  3. apple/
  4. args/
  5. autoroll/
  6. bench/
  7. chromeos/
  8. cipd/
  9. config/
  10. docs/
  11. fuchsia/
  12. gn_ast/
  13. internal/
  14. ios/
  15. linux/
  16. mac/
  17. mcp_servers/
  18. modules/
  19. private_code_test/
  20. rust/
  21. sanitizers/
  22. skia_gold_common/
  23. toolchain/
  24. util/
  25. win/
  26. .clang-tidy
  27. .clangd
  28. .git-blame-ignore-revs
  29. .gitignore
  30. .ruff.toml
  31. action_helpers.py
  32. action_helpers_unittest.py
  33. add_rts_filters.py
  34. build-ctags.sh
  35. BUILD.gn
  36. build_config.h
  37. buildflag.h
  38. buildflag_header.gni
  39. check_gn_headers.py
  40. check_gn_headers_allowlist.txt
  41. check_gn_headers_unittest.py
  42. check_return_value.py
  43. ciopfs.sha1
  44. circular_includes_bedrock.gni
  45. circular_includes_untriaged.gni
  46. clobber.py
  47. clobber_unittest.py
  48. compiled_action.gni
  49. compute_build_timestamp.py
  50. copy_test_data_ios.py
  51. cp.py
  52. create_pyz.py
  53. create_pyz.pydeps
  54. DEPS
  55. detect_host_arch.py
  56. DIR_METADATA
  57. dotfile_settings.gni
  58. env_dump.py
  59. extract_from_cab.py
  60. find_depot_tools.py
  61. fix_gn_headers.py
  62. gdb-add-index
  63. get_landmines.py
  64. get_symlink_targets.py
  65. gn_helpers.py
  66. gn_helpers_unittest.py
  67. gn_logs.gni
  68. gn_run_binary.py
  69. install-build-deps.py
  70. install-build-deps.sh
  71. install-chroot.sh
  72. install_build_deps_test.py
  73. is_android_web_view.cc
  74. is_android_web_view.h
  75. landmine_utils.py
  76. landmines.py
  77. locale_tool.py
  78. mac_toolchain.py
  79. mac_toolchain_unittest.py
  80. metadata.json.in
  81. nocompile.gni
  82. noop.py
  83. OWNERS
  84. OWNERS.setnoparent
  85. OWNERS.status
  86. precompile.cc
  87. precompile.h
  88. PRESUBMIT.py
  89. PRESUBMIT_test.py
  90. print_python_deps.py
  91. protoc_java.py
  92. protoc_java.pydeps
  93. pydeps_presubmit.py
  94. pydeps_presubmit_test.py
  95. README.md
  96. redirect_stdout.py
  97. rm.py
  98. sample_arg_file.gn
  99. sanitize-mac-build-log.sed
  100. sanitize-mac-build-log.sh
  101. sanitize-win-build-log.sed
  102. sanitize-win-build-log.sh
  103. shim_headers.gni
  104. strict_deps_failures.gni
  105. symlink.gni
  106. symlink.py
  107. timestamp.gni
  108. tree_truth.sh
  109. update-linux-sandbox.sh
  110. vs_toolchain.py
  111. whitespace_file.txt
  112. write_buildflag_header.py
  113. xcode_binaries.yaml
  114. zip_helpers.py
  115. zip_helpers_unittest.py
build/README.md

About

//build contains:

  • Core GN templates and configuration
  • Core Python build scripts

Since this directory is DEPS'ed in by some other repositories (webrtc, pdfium, v8, etc), it should be kept as self-contained as possible by not referring to files outside of it. Some exceptions exist (//testing, select //third_party subdirectories), but new dependencies tend to break these other projects, and so should be avoided.

Changes to //build should be landed in the Chromium repo. They will then be replicated to the stand-alone build repo by the gsubtreed tool. Note: You can find all directories already available through gsubtreed in the list of all chromium repos.

Contents

  • //build/config - Common templates via .gni files.
  • //build/toolchain - GN toolchain definitions.
  • Other .py files - Some are used by GN/Ninja. Some by gclient hooks, some are just random utilities.

Files referenced by //.gn:

  • //build/BUILDCONFIG.gn - Included by all BUILD.gn files.
  • //build/secondary - An overlay for BUILD.gn files. Enables adding BUILD.gn to directories that live in sub-repositories.
  • //build_overrides - Refer to //build_overrides/README.md.

Docs