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