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