tree: 344876a82b77095a5e3570bf730a2539ff98fa8e [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. .git-blame-ignore-revs
  26. .gitignore
  27. .style.yapf
  28. action_helpers.py
  29. action_helpers_unittest.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_unittest.py
  37. check_gn_headers_whitelist.txt
  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. del_ninja_deps_cache.py
  47. DEPS
  48. detect_host_arch.py
  49. dir_exists.py
  50. DIR_METADATA
  51. dotfile_settings.gni
  52. download_nacl_toolchains.py
  53. env_dump.py
  54. extract_from_cab.py
  55. extract_partition.py
  56. find_depot_tools.py
  57. fix_gn_headers.py
  58. gdb-add-index
  59. get_landmines.py
  60. get_symlink_targets.py
  61. gn_editor
  62. gn_helpers.py
  63. gn_helpers_unittest.py
  64. gn_logs.gni
  65. gn_run_binary.py
  66. install-build-deps.py
  67. install-build-deps.sh
  68. install-chroot.sh
  69. landmine_utils.py
  70. landmines.py
  71. locale_tool.py
  72. mac_toolchain.py
  73. metadata.json.in
  74. nocompile.gni
  75. noop.py
  76. OWNERS
  77. OWNERS.setnoparent
  78. OWNERS.status
  79. partitioned_shared_library.gni
  80. precompile.cc
  81. precompile.h
  82. PRESUBMIT.py
  83. PRESUBMIT_test.py
  84. print_python_deps.py
  85. protoc_java.py
  86. protoc_java.pydeps
  87. README.md
  88. redirect_stdout.py
  89. rm.py
  90. sample_arg_file.gn
  91. sanitize-mac-build-log.sed
  92. sanitize-mac-build-log.sh
  93. sanitize-win-build-log.sed
  94. sanitize-win-build-log.sh
  95. shim_headers.gni
  96. symlink.gni
  97. symlink.py
  98. timestamp.gni
  99. tree_truth.sh
  100. update-linux-sandbox.sh
  101. vs_toolchain.py
  102. whitespace_file.txt
  103. write_buildflag_header.py
  104. xcode_binaries.yaml
  105. zip_helpers.py
  106. 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