tree: 624f4709459db5916ad4415c8373dd8f3b55a7c4 [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. .gitignore
  20. .style.yapf
  21. add_rts_filters.py
  22. build-ctags.sh
  23. BUILD.gn
  24. build_config.h
  25. buildflag.h
  26. buildflag_header.gni
  27. check_gn_headers.py
  28. check_gn_headers_unittest.py
  29. check_gn_headers_whitelist.txt
  30. check_return_value.py
  31. ciopfs.sha1
  32. clobber.py
  33. compiled_action.gni
  34. compute_build_timestamp.py
  35. copy_test_data_ios.py
  36. cp.py
  37. detect_host_arch.py
  38. dir_exists.py
  39. DIR_METADATA
  40. dotfile_settings.gni
  41. download_nacl_toolchains.py
  42. env_dump.py
  43. extract_from_cab.py
  44. extract_partition.py
  45. find_depot_tools.py
  46. fix_gn_headers.py
  47. gdb-add-index
  48. get_landmines.py
  49. get_symlink_targets.py
  50. gn_helpers.py
  51. gn_helpers_unittest.py
  52. gn_logs.gni
  53. gn_run_binary.py
  54. install-build-deps-android.sh
  55. install-build-deps.sh
  56. install-chroot.sh
  57. landmine_utils.py
  58. landmines.py
  59. locale_tool.py
  60. mac_toolchain.py
  61. METADATA
  62. nocompile.gni
  63. noop.py
  64. OWNERS.setnoparent
  65. OWNERS.status
  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. README.md
  73. redirect_stdout.py
  74. rm.py
  75. sample_arg_file.gn
  76. sanitize-mac-build-log.sed
  77. sanitize-mac-build-log.sh
  78. sanitize-win-build-log.sed
  79. sanitize-win-build-log.sh
  80. shim_headers.gni
  81. symlink.gni
  82. symlink.py
  83. timestamp.gni
  84. tree_truth.sh
  85. update-linux-sandbox.sh
  86. vs_toolchain.py
  87. whitespace_file.txt
  88. write_build_date_header.py
  89. write_buildflag_header.py
  90. 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