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