形式
Diff
投稿日時
2020-07-09 19:25
公開期間
無期限
  1. diff --git a/gn/toolchain/BUILD.gn b/gn/toolchain/BUILD.gn
  2. index 4517710946..f49d3b9b39 100644
  3. --- a/gn/toolchain/BUILD.gn
  4. +++ b/gn/toolchain/BUILD.gn
  5. @@ -67,7 +67,7 @@ toolchain("msvc") {
  6. if (target_cpu == "x86") {
  7. # Toolchain asset includes a script that configures for x86 building.
  8. # We don't support x86 builds with local MSVC installations.
  9. - env_setup = "$shell $win_sdk/bin/SetEnv.cmd /x86 && "
  10. + # env_setup = "$shell $win_sdk/bin/SetEnv.cmd /x86 && "
  11. } else if (target_cpu == "arm64") {
  12. # ARM64 compiler is incomplete - it relies on DLLs located in the host toolchain directory.
  13. env_setup = "$shell set \"PATH=%PATH%;$win_vc\\Tools\\MSVC\\$win_toolchain_version\\bin\\HostX64\\x64\" && "
  14. @@ -201,7 +201,7 @@ toolchain("msvc") {
  15. tool("copy") {
  16. cp_py = rebase_path("../cp.py")
  17. - command = "python \"$cp_py\" {{source}} {{output}}"
  18. + command = "$shell python \"$cp_py\" {{source}} {{output}}"
  19. description = "copy {{source}} {{output}}"
  20. }
  21. }
  22. @@ -341,13 +341,13 @@ template("gcc_like_toolchain") {
  23. tool("copy") {
  24. cp_py = rebase_path("../cp.py")
  25. - command = "python \"$cp_py\" {{source}} {{output}}"
  26. + command = "$shell python \"$cp_py\" {{source}} {{output}}"
  27. description = "copy {{source}} {{output}}"
  28. }
  29. tool("copy_bundle_data") {
  30. cp_py = rebase_path("../cp.py")
  31. - command = "python \"$cp_py\" {{source}} {{output}}"
  32. + command = "$shell python \"$cp_py\" {{source}} {{output}}"
  33. description = "copy_bundle_data {{source}} {{output}}"
  34. }
ダウンロード 印刷用表示

このコピペの URL

JavaScript での埋め込み

iframe での埋め込み

元のテキスト