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