Index: build/toolchain/win/BUILD.gn |
diff --git a/build/toolchain/win/BUILD.gn b/build/toolchain/win/BUILD.gn |
index 0236c8e6cc91d8317acff23ee004cdd12ae444f0..454cddea4f53249c775e17e62900a0f0a990e107 100644 |
--- a/build/toolchain/win/BUILD.gn |
+++ b/build/toolchain/win/BUILD.gn |
@@ -88,7 +88,7 @@ template("msvc_toolchain") { |
depsformat = "msvc" |
description = "CC {{output}}" |
outputs = [ |
- "{{source_out_dir}}/{{target_output_name}}.{{source_name_part}}.obj", |
+ "{{target_out_dir}}/{{target_output_name}}/{{source_name_part}}.obj", |
] |
rspfile_content = "{{defines}} {{include_dirs}} {{cflags}} {{cflags_c}}" |
} |
@@ -105,7 +105,7 @@ template("msvc_toolchain") { |
depsformat = "msvc" |
description = "CXX {{output}}" |
outputs = [ |
- "{{source_out_dir}}/{{target_output_name}}.{{source_name_part}}.obj", |
+ "{{target_out_dir}}/{{target_output_name}}/{{source_name_part}}.obj", |
] |
rspfile_content = "{{defines}} {{include_dirs}} {{cflags}} {{cflags_cc}}" |
} |
@@ -113,7 +113,7 @@ template("msvc_toolchain") { |
tool("rc") { |
command = "$python_path gyp-win-tool rc-wrapper $env rc.exe {{defines}} {{include_dirs}} /fo{{output}} {{source}}" |
outputs = [ |
- "{{source_out_dir}}/{{target_output_name}}.{{source_name_part}}.res", |
+ "{{target_out_dir}}/{{target_output_name}}/{{source_name_part}}.res", |
] |
description = "RC {{output}}" |
} |
@@ -124,7 +124,7 @@ template("msvc_toolchain") { |
command = "$python_path gyp-win-tool asm-wrapper $env ml.exe {{defines}} {{include_dirs}} /safeseh /c /Fo {{output}} {{source}}" |
description = "ASM {{output}}" |
outputs = [ |
- "{{source_out_dir}}/{{target_output_name}}.{{source_name_part}}.obj", |
+ "{{target_out_dir}}/{{target_output_name}}/{{source_name_part}}.obj", |
] |
} |