Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3162)

Unified Diff: build/toolchain/win/BUILD.gn

Issue 1208963003: Move GN obj files to target-specific dirs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: \ Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/toolchain/mac/BUILD.gn ('k') | chrome/browser/apps/app_speech_recognition_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
]
}
« no previous file with comments | « build/toolchain/mac/BUILD.gn ('k') | chrome/browser/apps/app_speech_recognition_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698