tree: a1b93c7184798f38e7ee2673f5f10d6f9c492127 [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. BUILD.gn
  21. OWNERS
  22. OWNERS.status
  23. README.md
  24. apply_locales.py
  25. branding_value.sh
  26. build-ctags.sh
  27. build_config.h
  28. buildflag.h
  29. buildflag_header.gni
  30. check_gn_headers.py
  31. check_gn_headers_unittest.py
  32. check_gn_headers_whitelist.txt
  33. check_return_value.py
  34. ciopfs.sha1
  35. clobber.py
  36. common.croc
  37. common.gypi
  38. compiled_action.gni
  39. compute_build_timestamp.py
  40. copy_test_data_ios.py
  41. cp.py
  42. detect_host_arch.py
  43. dir_exists.py
  44. dotfile_settings.gni
  45. download_nacl_toolchains.py
  46. download_translation_unit_tool.py
  47. env_dump.py
  48. extract_from_cab.py
  49. find_depot_tools.py
  50. find_isolated_tests.py
  51. fix_gn_headers.py
  52. gdb-add-index
  53. get_landmines.py
  54. gn_helpers.py
  55. gn_helpers_unittest.py
  56. gn_run_binary.py
  57. gyp_chromium
  58. gyp_chromium.py
  59. gyp_environment.py
  60. install-build-deps-android.sh
  61. install-build-deps.sh
  62. install-chroot.sh
  63. landmine_utils.py
  64. landmines.py
  65. mac_toolchain.py
  66. nocompile.gni
  67. package_mac_toolchain.py
  68. precompile.cc
  69. precompile.h
  70. print_python_deps.py
  71. protoc_java.py
  72. protoc_java.pydeps
  73. redirect_stdout.py
  74. rm.py
  75. run_swarming_xcode_install.py
  76. sample_arg_file.gn
  77. sanitize-mac-build-log.sed
  78. sanitize-mac-build-log.sh
  79. sanitize-win-build-log.sed
  80. sanitize-win-build-log.sh
  81. shim_headers.gni
  82. split_static_library.gni
  83. swarming_xcode_install.py
  84. symlink.gni
  85. symlink.py
  86. timestamp.gni
  87. tree_truth.sh
  88. update-linux-sandbox.sh
  89. vs_toolchain.py
  90. whitespace_file.txt
  91. win_is_xtree_patched.py
  92. write_build_date_header.py
  93. 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