summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorHans Wennborg <hans@chromium.org>2016-03-24 17:46:27 -0700
committerHans Wennborg <hans@chromium.org>2016-03-25 00:49:15 +0000
commitf369bd1c009492dfc45215f98db0bd01f5234b00 (patch)
treea30918be230c261971884b2fafdf0db80f61c6bd /net
parentdff3a2732adb84c4755b391f92f09fe9cd6d1078 (diff)
downloadchromium_src-f369bd1c009492dfc45215f98db0bd01f5234b00.zip
chromium_src-f369bd1c009492dfc45215f98db0bd01f5234b00.tar.gz
chromium_src-f369bd1c009492dfc45215f98db0bd01f5234b00.tar.bz2
Fix shared_library build of content_decoder_tool
The build was failing like this: $ GYP_DEFINES="component=shared_library" build/gyp_chromium $ ninja -C out/Release content_decoder_tool [...] obj/net/filter/content_decoder_tool.mock_filter_context.o:../../net/filter/mock_filter_context.cc:function net::MockFilterContext::MockFilterContext(): error: undefined reference to 'GURL::GURL()' obj/net/filter/content_decoder_tool.mock_filter_context.o:../../net/filter/mock_filter_context.cc:function net::MockFilterContext::~MockFilterContext(): error: undefined reference to 'GURL::~GURL()' obj/net/filter/content_decoder_tool.mock_filter_context.o:../../net/filter/mock_filter_context.cc:function net::MockFilterContext::GetURL(GURL*) const: error: undefined reference to 'GURL::GURL(GURL const&)' obj/net/filter/content_decoder_tool.mock_filter_context.o:../../net/filter/mock_filter_context.cc:function net::MockFilterContext::GetURL(GURL*) const: error: undefined reference to 'GURL::operator=(GURL)' obj/net/filter/content_decoder_tool.mock_filter_context.o:../../net/filter/mock_filter_context.cc:function net::MockFilterContext::GetURL(GURL*) const: error: undefined reference to 'GURL::~GURL()' clang: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. BUG=582080 TBR=gabadie Review URL: https://codereview.chromium.org/1831953002 . Cr-Commit-Position: refs/heads/master@{#383210}
Diffstat (limited to 'net')
-rw-r--r--net/net.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/net.gyp b/net/net.gyp
index d4eff8e..1af2162 100644
--- a/net/net.gyp
+++ b/net/net.gyp
@@ -1699,6 +1699,7 @@
'type': 'executable',
'dependencies': [
'../base/base.gyp:base',
+ '../url/url.gyp:url_lib',
'net',
],
'sources': [