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