Revert "win: Remove special check for 10.0.22621.2428 Win SDK version"

This reverts commit c05affe022794ad95bf28445501e10b27ff4debd.

Reason for revert: We need this check again after the upgrade to 26100 was rolled back, https://chromium-review.googlesource.com/c/chromium/src/+/5972668

Original change's description:
> win: Remove special check for 10.0.22621.2428 Win SDK version
>
> We added this check in crrev.com/c/5738088 since we needed a specific
> patch version of 22621 with no simple way to check for it. We've now
> updated past 22621 to 26100 in crrev.com/c/5898835, so we can remove
> this check entirely.
>
> Bug: 40150597
> Bug: 325004812
> Change-Id: I3de129feaeb2dc0392508604260c9361995521bf
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5949425
> Reviewed-by: Alan Zhao <ayzhao@google.com>
> Commit-Queue: Michael Tang <tangm@microsoft.com>
> Reviewed-by: Rafael Cintron <rafael.cintron@microsoft.com>
> Cr-Commit-Position: refs/heads/main@{#1371682}

Bug: 40150597
Bug: 325004812
Change-Id: I804f039ebf715c474f8e471ae55a7a3762100d32
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5989717
Reviewed-by: Alan Zhao <ayzhao@google.com>
Auto-Submit: Michael Tang <tangm@microsoft.com>
Commit-Queue: Michael Tang <tangm@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1378013}
NOKEYCHECK=True
GitOrigin-RevId: 5d984f21325a0e66d659b89163cffd650aa7f339
1 file changed
tree: 299f4e85308890b1b9380dfb5828e052f1766733
  1. 3pp_common/
  2. android/
  3. apple/
  4. args/
  5. chromeos/
  6. cipd/
  7. config/
  8. docs/
  9. fuchsia/
  10. gn_ast/
  11. internal/
  12. ios/
  13. lacros/
  14. linux/
  15. mac/
  16. private_code_test/
  17. rust/
  18. sanitizers/
  19. skia_gold_common/
  20. toolchain/
  21. util/
  22. win/
  23. .clang-tidy
  24. .clangd
  25. .git-blame-ignore-revs
  26. .gitignore
  27. .style.yapf
  28. action_helpers.py
  29. action_helpers_unittest.py
  30. add_rts_filters.py
  31. build-ctags.sh
  32. BUILD.gn
  33. build_config.h
  34. buildflag.h
  35. buildflag_header.gni
  36. check_gn_headers.py
  37. check_gn_headers_unittest.py
  38. check_gn_headers_whitelist.txt
  39. check_return_value.py
  40. ciopfs.sha1
  41. clobber.py
  42. clobber_unittest.py
  43. compiled_action.gni
  44. compute_build_timestamp.py
  45. copy_test_data_ios.py
  46. cp.py
  47. del_ninja_deps_cache.py
  48. DEPS
  49. detect_host_arch.py
  50. dir_exists.py
  51. DIR_METADATA
  52. dotfile_settings.gni
  53. download_nacl_toolchains.py
  54. env_dump.py
  55. extract_from_cab.py
  56. extract_partition.py
  57. find_depot_tools.py
  58. fix_gn_headers.py
  59. gdb-add-index
  60. get_landmines.py
  61. get_symlink_targets.py
  62. gn_editor
  63. gn_helpers.py
  64. gn_helpers_unittest.py
  65. gn_logs.gni
  66. gn_run_binary.py
  67. install-build-deps.py
  68. install-build-deps.sh
  69. install-chroot.sh
  70. landmine_utils.py
  71. landmines.py
  72. locale_tool.py
  73. mac_toolchain.py
  74. metadata.json.in
  75. nocompile.gni
  76. noop.py
  77. OWNERS
  78. OWNERS.setnoparent
  79. OWNERS.status
  80. partitioned_shared_library.gni
  81. precompile.cc
  82. precompile.h
  83. PRESUBMIT.py
  84. PRESUBMIT_test.py
  85. print_python_deps.py
  86. protoc_java.py
  87. protoc_java.pydeps
  88. README.md
  89. redirect_stdout.py
  90. rm.py
  91. sample_arg_file.gn
  92. sanitize-mac-build-log.sed
  93. sanitize-mac-build-log.sh
  94. sanitize-win-build-log.sed
  95. sanitize-win-build-log.sh
  96. shim_headers.gni
  97. symlink.gni
  98. symlink.py
  99. timestamp.gni
  100. tree_truth.sh
  101. update-linux-sandbox.sh
  102. vs_toolchain.py
  103. whitespace_file.txt
  104. write_buildflag_header.py
  105. xcode_binaries.yaml
  106. zip_helpers.py
  107. zip_helpers_unittest.py
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