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