tree: 4731336fd604fecc175577986787dd2d6ccde76b [path history] [tgz]
  1. .gitignore
  2. .style.yapf
  3. BUILD.gn
  4. DIR_METADATA
  5. OWNERS
  6. OWNERS.setnoparent
  7. OWNERS.status
  8. README.md
  9. android/
  10. apple/
  11. apply_locales.py
  12. args/
  13. build-ctags.sh
  14. build_config.h
  15. buildflag.h
  16. buildflag_header.gni
  17. check_gn_headers.py
  18. check_gn_headers_unittest.py
  19. check_gn_headers_whitelist.txt
  20. check_return_value.py
  21. chromeos/
  22. ciopfs.sha1
  23. cipd/
  24. clobber.py
  25. compiled_action.gni
  26. compute_build_timestamp.py
  27. config/
  28. copy_test_data_ios.py
  29. cp.py
  30. detect_host_arch.py
  31. dir_exists.py
  32. docs/
  33. dotfile_settings.gni
  34. download_nacl_toolchains.py
  35. env_dump.py
  36. extract_from_cab.py
  37. extract_partition.py
  38. find_depot_tools.py
  39. find_isolated_tests.py
  40. fix_gn_headers.py
  41. fuchsia/
  42. gdb-add-index
  43. get_landmines.py
  44. get_symlink_targets.py
  45. gn_helpers.py
  46. gn_helpers_unittest.py
  47. gn_logs.gni
  48. gn_run_binary.py
  49. install-build-deps-android.sh
  50. install-build-deps.sh
  51. install-chroot.sh
  52. internal/
  53. ios/
  54. lacros/
  55. landmine_utils.py
  56. landmines.py
  57. linux/
  58. locale_tool.py
  59. mac/
  60. mac_toolchain.py
  61. nocompile.gni
  62. noop.py
  63. partitioned_shared_library.gni
  64. precompile.cc
  65. precompile.h
  66. print_python_deps.py
  67. protoc_java.py
  68. protoc_java.pydeps
  69. redirect_stdout.py
  70. rm.py
  71. run_swarming_xcode_install.py
  72. sample_arg_file.gn
  73. sanitize-mac-build-log.sed
  74. sanitize-mac-build-log.sh
  75. sanitize-win-build-log.sed
  76. sanitize-win-build-log.sh
  77. sanitizers/
  78. shim_headers.gni
  79. skia_gold_common/
  80. swarming_xcode_install.py
  81. symlink.gni
  82. symlink.py
  83. timestamp.gni
  84. toolchain/
  85. tree_truth.sh
  86. update-linux-sandbox.sh
  87. util/
  88. vs_toolchain.py
  89. whitespace_file.txt
  90. win/
  91. write_build_date_header.py
  92. write_buildflag_header.py
  93. 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