tree: 4bbfe4664f8cc4d08861c7992b210babd56edcb7 [path history] [tgz]
  1. .gitignore
  2. BUILD.gn
  3. OWNERS
  4. OWNERS.status
  5. README.md
  6. android/
  7. apply_locales.py
  8. args/
  9. build-ctags.sh
  10. build_config.h
  11. buildflag.h
  12. buildflag_header.gni
  13. check_gn_headers.py
  14. check_gn_headers_unittest.py
  15. check_gn_headers_whitelist.txt
  16. check_return_value.py
  17. chromeos/
  18. ciopfs.sha1
  19. cipd/
  20. clobber.py
  21. common.croc
  22. compiled_action.gni
  23. compute_build_timestamp.py
  24. config/
  25. copy_test_data_ios.py
  26. cp.py
  27. detect_host_arch.py
  28. dir_exists.py
  29. docs/
  30. dotfile_settings.gni
  31. download_nacl_toolchains.py
  32. download_translation_unit_tool.py
  33. env_dump.py
  34. extract_from_cab.py
  35. find_depot_tools.py
  36. find_isolated_tests.py
  37. fix_gn_headers.py
  38. fuchsia/
  39. gdb-add-index
  40. get_landmines.py
  41. git-hooks/
  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. package_mac_toolchain.py
  58. precompile.cc
  59. precompile.h
  60. print_python_deps.py
  61. protoc_java.py
  62. protoc_java.pydeps
  63. redirect_stdout.py
  64. rm.py
  65. run_swarming_xcode_install.py
  66. sample_arg_file.gn
  67. sanitize-mac-build-log.sed
  68. sanitize-mac-build-log.sh
  69. sanitize-win-build-log.sed
  70. sanitize-win-build-log.sh
  71. sanitizers/
  72. shim_headers.gni
  73. split_static_library.gni
  74. swarming_xcode_install.py
  75. symlink.gni
  76. symlink.py
  77. timestamp.gni
  78. toolchain/
  79. tree_truth.sh
  80. update-linux-sandbox.sh
  81. util/
  82. vs_toolchain.py
  83. whitespace_file.txt
  84. win/
  85. win_is_xtree_patched.py
  86. write_build_date_header.py
  87. write_buildflag_header.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.

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