tree: c3fb82a62709d8dcf7b6defed89e3309c5cd3672 [path history] [tgz]
  1. 3pp/
  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. linux/
  15. mac/
  16. private_code_test/
  17. rust/
  18. sanitizers/
  19. skia_gold_common/
  20. toolchain/
  21. util/
  22. win/
  23. .gitignore
  24. .style.yapf
  25. action_helpers.py
  26. action_helpers_unittest.py
  27. build-ctags.sh
  28. BUILD.gn
  29. build_config.h
  30. buildflag.h
  31. buildflag_header.gni
  32. check_gn_headers.py
  33. check_gn_headers_unittest.py
  34. check_gn_headers_whitelist.txt
  35. check_return_value.py
  36. ciopfs.sha1
  37. clobber.py
  38. clobber_unittest.py
  39. compiled_action.gni
  40. compute_build_timestamp.py
  41. copy_test_data_ios.py
  42. cp.py
  43. del_ninja_deps_cache.py
  44. detect_host_arch.py
  45. dir_exists.py
  46. DIR_METADATA
  47. dotfile_settings.gni
  48. download_nacl_toolchains.py
  49. env_dump.py
  50. extract_from_cab.py
  51. extract_partition.py
  52. find_depot_tools.py
  53. fix_gn_headers.py
  54. gdb-add-index
  55. get_landmines.py
  56. get_symlink_targets.py
  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
  72. OWNERS.setnoparent
  73. OWNERS.status
  74. partitioned_shared_library.gni
  75. precompile.cc
  76. precompile.h
  77. PRESUBMIT.py
  78. PRESUBMIT_test.py
  79. print_python_deps.py
  80. protoc_java.py
  81. protoc_java.pydeps
  82. README.md
  83. redirect_stdout.py
  84. rm.py
  85. sample_arg_file.gn
  86. sanitize-mac-build-log.sed
  87. sanitize-mac-build-log.sh
  88. sanitize-win-build-log.sed
  89. sanitize-win-build-log.sh
  90. shim_headers.gni
  91. symlink.gni
  92. symlink.py
  93. timestamp.gni
  94. tree_truth.sh
  95. update-linux-sandbox.sh
  96. vs_toolchain.py
  97. whitespace_file.txt
  98. write_buildflag_header.py
  99. xcode_binaries.yaml
  100. zip_helpers.py
  101. 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