From 9b0f03520337dc95becbd0650ad7c5d44c95808f Mon Sep 17 00:00:00 2001 From: Cem Kocagil Date: Mon, 22 Sep 2014 22:42:37 +0300 Subject: [PATCH] gn: Fix build issues blocking gfx from being built BUG=354261 R=brettw@chromium.org, brettw Review URL: https://codereview.chromium.org/589753005 Cr-Original-Commit-Position: refs/heads/master@{#296027} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: b83a0bd983bdcdcbc14559f263e7e7d8145c976c --- config/BUILDCONFIG.gn | 2 +- toolchain/win/BUILD.gn | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config/BUILDCONFIG.gn b/config/BUILDCONFIG.gn index f20d7d070..bf2076cf1 100644 --- a/config/BUILDCONFIG.gn +++ b/config/BUILDCONFIG.gn @@ -433,7 +433,7 @@ set_defaults("shared_library") { } if (is_component_build) { set_defaults("component") { - configs = _native_compiler_configs + configs = _shared_library_configs } } diff --git a/toolchain/win/BUILD.gn b/toolchain/win/BUILD.gn index ba25fe473..3e8cd3505 100644 --- a/toolchain/win/BUILD.gn +++ b/toolchain/win/BUILD.gn @@ -111,6 +111,8 @@ template("msvc_toolchain") { dllname, libname, ] + link_output = libname + depend_output = libname # The use of inputs_newline is to work around a fixed per-line buffer # size in the linker. rspfile_content = "{{libs}} {{solibs}} {{inputs_newline}} {{ldflags}}"