形式
Diff
投稿日時
2019-09-08 03:03
公開期間
無期限
  1. diff --git a/gn/toolchain/BUILD.gn b/gn/toolchain/BUILD.gn
  2. index d931b32f74..9187a46928 100644
  3. --- a/gn/toolchain/BUILD.gn
  4. +++ b/gn/toolchain/BUILD.gn
  5. @@ -39,7 +39,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 = "cmd /c $win_sdk/bin/SetEnv.cmd /x86 && "
  10. + # env_setup = "cmd /c $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 = "cmd /C set \"PATH=%PATH%;$win_vc\\Tools\\MSVC\\$win_toolchain_version\\bin\\HostX64\\x64\" && "
  14. @@ -178,7 +178,11 @@ toolchain("msvc") {
  15. tool("copy") {
  16. cp_py = rebase_path("../cp.py")
  17. - command = "python $cp_py {{source}} {{output}}"
  18. + if (host_os == "win") {
  19. + command = "cmd.exe /c python $cp_py {{source}} {{output}}"
  20. + } else {
  21. + command = "python $cp_py {{source}} {{output}}"
  22. + }
  23. description = "copy {{source}} {{output}}"
  24. }
  25. }
ダウンロード 印刷用表示

このコピペの URL

JavaScript での埋め込み

iframe での埋め込み

元のテキスト