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