Commit d1d54c3e authored by Tom Tan's avatar Tom Tan Committed by Commit Bot

Don't target alternate_version_generator to non-Win host

Bug: 893460
Change-Id: I3bace502ebdc41fcb63efe7bcb959851e2f31354
Reviewed-on: https://chromium-review.googlesource.com/c/1479947Reviewed-by: default avatarNico Weber <thakis@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#634785}
parent f10d0a44
......@@ -6,7 +6,10 @@ import("//build/symlink.gni")
import("//testing/test.gni")
assert(is_win)
if (current_toolchain == host_toolchain) {
# Don't target the tool to non-win host for cross build because the tool depends
# on Win32 API.
# TODO(thakis): Enable this in cross builds, https://crbug.com/799827
if (current_toolchain == host_toolchain || host_os != "win") {
executable("alternate_version_generator") {
testonly = true
sources = [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment