mini_installer: Don't depend on exe_and_shlib_deps unless asan is enabled.
mini_installer is a "special" target that avoids linking against vcruntime by defining a custom entry point. In normal Windows builds, exe_and_shlib_deps will be empty, so depending on it has no effect. But when building with use_custom_libcxx=true, exe_and_shlib_deps depends on libc++, which in turn depends on vcruntime, leading to undefined symbol errors at link time when the custom entry point is used. This change avoids the dependency on exe_and_shlib_deps unless the custom entry point is disabled, i.e. when we are linking with asan. Bug: 801780 Change-Id: Ieff8004ef14c9fda20ff23234cab364ae949afbe Reviewed-on: https://chromium-review.googlesource.com/952068 Commit-Queue: Peter Collingbourne <pcc@chromium.org> Reviewed-by:Greg Thompson <grt@chromium.org> Reviewed-by:
Nico Weber <thakis@chromium.org> Cr-Commit-Position: refs/heads/master@{#541580}
Showing
Please register or sign in to comment