tree: 830948db59614a4ef6c8a8f182e5f30e26c16a56 [path history] [tgz]
  1. android/
  2. apple/
  3. args/
  4. chromeos/
  5. cipd/
  6. config/
  7. docs/
  8. fuchsia/
  9. internal/
  10. ios/
  11. linux/
  12. mac/
  13. sanitizers/
  14. skia_gold_common/
  15. toolchain/
  16. util/
  17. win/
  18. .gitignore
  19. .style.yapf
  20. apply_locales.py
  21. build-ctags.sh
  22. BUILD.gn
  23. build_config.h
  24. buildflag.h
  25. buildflag_header.gni
  26. check_gn_headers.py
  27. check_gn_headers_unittest.py
  28. check_gn_headers_whitelist.txt
  29. check_return_value.py
  30. ciopfs.sha1
  31. clobber.py
  32. compiled_action.gni
  33. compute_build_timestamp.py
  34. copy_test_data_ios.py
  35. cp.py
  36. detect_host_arch.py
  37. dir_exists.py
  38. dotfile_settings.gni
  39. download_nacl_toolchains.py
  40. env_dump.py
  41. extract_from_cab.py
  42. extract_partition.py
  43. find_depot_tools.py
  44. find_isolated_tests.py
  45. fix_gn_headers.py
  46. gdb-add-index
  47. get_landmines.py
  48. get_symlink_targets.py
  49. gn_helpers.py
  50. gn_helpers_unittest.py
  51. gn_run_binary.py
  52. install-build-deps-android.sh
  53. install-build-deps.sh
  54. install-chroot.sh
  55. landmine_utils.py
  56. landmines.py
  57. locale_tool.py
  58. mac_toolchain.py
  59. nocompile.gni
  60. noop.py
  61. OWNERS
  62. OWNERS.setnoparent
  63. OWNERS.status
  64. partitioned_shared_library.gni
  65. precompile.cc
  66. precompile.h
  67. print_python_deps.py
  68. protoc_java.py
  69. protoc_java.pydeps
  70. README.md
  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. swarming_xcode_install.py
  81. symlink.gni
  82. symlink.py
  83. timestamp.gni
  84. tree_truth.sh
  85. update-linux-sandbox.sh
  86. vs_toolchain.py
  87. whitespace_file.txt
  88. write_build_date_header.py
  89. write_buildflag_header.py
  90. xcode_binaries.yaml
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. Note: You can find all directories already available through gsubtreed in the list of all chromium repos.

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