diff options
author | bradnelson@google.com <bradnelson@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-11 22:45:37 +0000 |
---|---|---|
committer | bradnelson@google.com <bradnelson@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-11 22:45:37 +0000 |
commit | 72d319664cdc0adda3ad075688dbf87f0eb31f75 (patch) | |
tree | a19ed66b6432e325e1bff1c7cda8d282225702b5 /base/base.gypi | |
parent | d7cb0d5a5779308baec99bfa3518977cea41e34e (diff) | |
download | chromium_src-72d319664cdc0adda3ad075688dbf87f0eb31f75.zip chromium_src-72d319664cdc0adda3ad075688dbf87f0eb31f75.tar.gz chromium_src-72d319664cdc0adda3ad075688dbf87f0eb31f75.tar.bz2 |
Moving link settings to individual targets.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/2711012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49604 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base.gypi')
-rw-r--r-- | base/base.gypi | 30 |
1 files changed, 20 insertions, 10 deletions
diff --git a/base/base.gypi b/base/base.gypi index d85dd6f..7139c7a 100644 --- a/base/base.gypi +++ b/base/base.gypi @@ -467,16 +467,6 @@ }, }, ], - [ 'OS == "linux"', { - 'link_settings': { - 'libraries': [ - # We need rt for clock_gettime(). - '-lrt', - # For 'native_library_linux.cc' - '-ldl', - ], - }, - }], ], 'defines': [ 'USE_SYMBOLIZE', @@ -557,6 +547,16 @@ }, }, ], + [ 'OS == "linux"', { + 'link_settings': { + 'libraries': [ + # We need rt for clock_gettime(). + '-lrt', + # For 'native_library_linux.cc' + '-ldl', + ], + }, + }], [ 'OS == "mac"', { 'link_settings': { 'libraries': [ @@ -643,6 +643,16 @@ '../build/linux/system.gyp:gtk', ], },], + ['OS == "linux"', { + 'link_settings': { + 'libraries': [ + # We need rt for clock_gettime(). + '-lrt', + # For 'native_library_linux.cc' + '-ldl', + ], + }, + }], [ 'OS == "mac" or OS == "win"', { 'dependencies': [ '../third_party/nss/nss.gyp:nss', |