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