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