Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Unified Diff: build/common.gypi

Issue 10054022: Added a GYP_DEFINE to add libraries to the link line. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Initialized libraries_for_target. Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 8ed67967fa8b6f26b621a9c2fe502a5a1c550dfa..e390cbe956a2716c9fd55cfd40f1eedd6db922be 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1756,6 +1756,7 @@
# be disabled in ~/.gyp/include.gypi on the valgrind builders.
'variables': {
'werror%': '-Werror',
+ 'libraries_for_target%': '',
},
'defines': [
'_FILE_OFFSET_BITS=64',
@@ -1792,6 +1793,9 @@
'ldflags': [
'-pthread', '-Wl,-z,noexecstack',
],
+ 'libraries' : [
+ '<(libraries_for_target)',
+ ],
'configurations': {
'Debug_Base': {
'variables': {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698