tree: 725aea3cc68d724b11d8735b15aa42e1ac6641e0 [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. mac/
  15. private_code_test/
  16. rust/
  17. sanitizers/
  18. skia_gold_common/
  19. toolchain/
  20. util/
  21. win/
  22. .gitignore
  23. .style.yapf
  24. action_helpers.py
  25. action_helpers_unittest.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_editor
  57. gn_helpers.py
  58. gn_helpers_unittest.py
  59. gn_logs.gni
  60. gn_run_binary.py
  61. install-build-deps.py
  62. install-build-deps.sh
  63. install-chroot.sh
  64. landmine_utils.py
  65. landmines.py
  66. locale_tool.py
  67. mac_toolchain.py
  68. metadata.json.in
  69. nocompile.gni
  70. noop.py
  71. OWNERS.setnoparent
  72. OWNERS.status
  73. partitioned_shared_library.gni
  74. precompile.cc
  75. precompile.h
  76. PRESUBMIT.py
  77. PRESUBMIT_test.py
  78. print_python_deps.py
  79. protoc_java.py
  80. protoc_java.pydeps
  81. README.md
  82. redirect_stdout.py
  83. rm.py
  84. sample_arg_file.gn
  85. sanitize-mac-build-log.sed
  86. sanitize-mac-build-log.sh
  87. sanitize-win-build-log.sed
  88. sanitize-win-build-log.sh
  89. shim_headers.gni
  90. symlink.gni
  91. symlink.py
  92. timestamp.gni
  93. tree_truth.sh
  94. update-linux-sandbox.sh
  95. vs_toolchain.py
  96. whitespace_file.txt
  97. write_buildflag_header.py
  98. xcode_binaries.yaml
  99. zip_helpers.py
  100. 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