tree: f5bd6eb8a1d3353fe442402ba19c9ca6cd397c5a [path history] [tgz]
  1. android/
  2. apple/
  3. args/
  4. chromeos/
  5. cipd/
  6. config/
  7. docs/
  8. fuchsia/
  9. gn_ast/
  10. internal/
  11. ios/
  12. lacros/
  13. linux/
  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. add_rts_filters.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