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

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