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

Unified Diff: base/base.gypi

Issue 495002: Changes to base/ from a combination of FreeBSD and OpenBSD patches. (Closed)
Patch Set: minor tweaks Created 11 years 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
Index: base/base.gypi
diff --git a/base/base.gypi b/base/base.gypi
index c19b34306b13711982a608f54b5e669789231662..881717f79068bde9982cc405480578a954c9c041 100644
--- a/base/base.gypi
+++ b/base/base.gypi
@@ -379,6 +379,14 @@
},
},
],
+ [ 'OS == "linux"', {
+ 'link_settings': {
+ 'libraries': [
+ # We need rt for clock_gettime().
+ '-lrt',
+ ],
+ },
+ }],
],
'dependencies': [
'../build/util/build_util.gyp:lastchange',
@@ -388,12 +396,6 @@
'cflags': [
'-Wno-write-strings',
],
- 'link_settings': {
- 'libraries': [
- # We need rt for clock_gettime().
- '-lrt',
- ],
- },
'export_dependent_settings': [
'../build/linux/system.gyp:gtk',
],
@@ -405,6 +407,11 @@
'sources': [
'directory_watcher_stub.cc',
],
+ 'link_settings': {
+ 'libraries': [
+ '-L/usr/local/lib -lexecinfo',
+ ],
+ },
},
],
[ 'OS == "mac"', {
« no previous file with comments | « base/allocator/allocator.gyp ('k') | base/command_line.h » ('j') | base/command_line.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698