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