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