diff options
author | jamesr <jamesr@chromium.org> | 2015-01-21 04:40:00 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-21 12:40:49 +0000 |
commit | 4359db72cde4fe4eeb4125d9a88af765fcdf39f1 (patch) | |
tree | 35ac4bdfde7715ef6b816666c4904d904544573f /gpu/config | |
parent | 6f4aa7e2069231cbe49995c87aab66c807de2926 (diff) | |
download | chromium_src-4359db72cde4fe4eeb4125d9a88af765fcdf39f1.zip chromium_src-4359db72cde4fe4eeb4125d9a88af765fcdf39f1.tar.gz chromium_src-4359db72cde4fe4eeb4125d9a88af765fcdf39f1.tar.bz2 |
GN: Add -Wl,-z defs on linux and fix errors
This tells the linker to resolve symbols for shared libraries at build
time, not run time. This alerts developers much earlier that their
dependencies are underspecified.
BUG=371125
Review URL: https://codereview.chromium.org/843583006
Cr-Commit-Position: refs/heads/master@{#312317}
Diffstat (limited to 'gpu/config')
-rw-r--r-- | gpu/config/BUILD.gn | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gpu/config/BUILD.gn b/gpu/config/BUILD.gn index df7153d..be7a444 100644 --- a/gpu/config/BUILD.gn +++ b/gpu/config/BUILD.gn @@ -84,7 +84,10 @@ source_set("config") { "//build/config/linux:x11", "//build/config/linux:xext", ] - deps += [ "//third_party/libXNVCtrl" ] + deps += [ + "//third_party/libXNVCtrl", + "//ui/gfx/x", + ] } else { sources -= [ "gpu_info_collector_x11.cc" ] } |