summaryrefslogtreecommitdiffstats
path: root/base/BUILD.gn
diff options
context:
space:
mode:
authorthakis <thakis@chromium.org>2016-02-10 13:12:22 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-10 21:14:25 +0000
commitec0d7d23891d5d61a7ff0a7add476a6b574db4c2 (patch)
treeef7521b24144ba1befeedbfdb60ca92e949bc652 /base/BUILD.gn
parent8cdf07704f7e60f443d123338781670a8446e220 (diff)
downloadchromium_src-ec0d7d23891d5d61a7ff0a7add476a6b574db4c2.zip
chromium_src-ec0d7d23891d5d61a7ff0a7add476a6b574db4c2.tar.gz
chromium_src-ec0d7d23891d5d61a7ff0a7add476a6b574db4c2.tar.bz2
gn: Only copy dbghelp.dll for the default toolchain.
This has the effect of not copying dbghelp.dll into the nacl toolchain dir. Doing this isn't really harmful, but also not useful. Follow-up to https://codereview.chromium.org/1683793003/ BUG=460506, 461160, 498033 Review URL: https://codereview.chromium.org/1688903002 Cr-Commit-Position: refs/heads/master@{#374723}
Diffstat (limited to 'base/BUILD.gn')
-rw-r--r--base/BUILD.gn8
1 files changed, 4 insertions, 4 deletions
diff --git a/base/BUILD.gn b/base/BUILD.gn
index 7a6c73a..ade7e02 100644
--- a/base/BUILD.gn
+++ b/base/BUILD.gn
@@ -1120,10 +1120,10 @@ component("base") {
# Required for base/stack_trace_win.cc to symbolize correctly.
data += [ "$root_build_dir/dbghelp.dll" ]
- deps += [
- ":copy_dbghelp.dll",
- "//base/trace_event/etw_manifest:chrome_events_win",
- ]
+ deps += [ "//base/trace_event/etw_manifest:chrome_events_win" ]
+ if (current_toolchain == default_toolchain) {
+ deps += [ ":copy_dbghelp.dll" ]
+ }
if (is_component_build) {
# Copy the VS runtime DLLs into the isolate so that they don't have to be