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