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