diff options
author | thakis <thakis@chromium.org> | 2016-02-10 13:12:22 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-10 21:14:25 +0000 |
commit | ec0d7d23891d5d61a7ff0a7add476a6b574db4c2 (patch) | |
tree | ef7521b24144ba1befeedbfdb60ca92e949bc652 /base/BUILD.gn | |
parent | 8cdf07704f7e60f443d123338781670a8446e220 (diff) | |
download | chromium_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.gn | 8 |
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 |