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