tree: b52ed7ae148cae8563e4bb20712bc04d6bcefce8 [path history] [tgz]
  1. .gitignore
  2. BUILD.gn
  3. OWNERS
  4. OWNERS.setnoparent
  5. OWNERS.status
  6. README.md
  7. android/
  8. apply_locales.py
  9. args/
  10. build-ctags.sh
  11. build_config.h
  12. buildflag.h
  13. buildflag_header.gni
  14. check_gn_headers.py
  15. check_gn_headers_unittest.py
  16. check_gn_headers_whitelist.txt
  17. check_return_value.py
  18. chromeos/
  19. ciopfs.sha1
  20. cipd/
  21. clobber.py
  22. common.croc
  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_libclang.py
  33. download_nacl_toolchains.py
  34. download_translation_unit_tool.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. gn_helpers.py
  45. gn_helpers_unittest.py
  46. gn_run_binary.py
  47. install-build-deps-android.sh
  48. install-build-deps.sh
  49. install-chroot.sh
  50. internal/
  51. ios/
  52. landmine_utils.py
  53. landmines.py
  54. linux/
  55. locale_tool.py
  56. mac/
  57. mac_toolchain.py
  58. nocompile.gni
  59. package_mac_toolchain.py
  60. partitioned_shared_library.gni
  61. precompile.cc
  62. precompile.h
  63. print_python_deps.py
  64. protoc_java.py
  65. protoc_java.pydeps
  66. redirect_stdout.py
  67. rm.py
  68. run_swarming_xcode_install.py
  69. sample_arg_file.gn
  70. sanitize-mac-build-log.sed
  71. sanitize-mac-build-log.sh
  72. sanitize-win-build-log.sed
  73. sanitize-win-build-log.sh
  74. sanitizers/
  75. shim_headers.gni
  76. swarming_xcode_install.py
  77. symlink.gni
  78. symlink.py
  79. timestamp.gni
  80. toolchain/
  81. tree_truth.sh
  82. update-linux-sandbox.sh
  83. util/
  84. vs_toolchain.py
  85. whitespace_file.txt
  86. win/
  87. write_build_date_header.py
  88. write_buildflag_header.py
  89. 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