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