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

Unified Diff: tools/gyp/v8.gyp

Issue 23656004: Cross-compiling from Linux to Android requires -lrt for the host toolset. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 4 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: tools/gyp/v8.gyp
diff --git a/tools/gyp/v8.gyp b/tools/gyp/v8.gyp
index 384f451df77c30ede1b0bfea330dd82a257f9c50..708defed9bea6bfbd35f53b4c2722b619426d671 100644
--- a/tools/gyp/v8.gyp
+++ b/tools/gyp/v8.gyp
@@ -722,6 +722,15 @@
}],
],
}, {
+ 'link_settings': {
+ 'target_conditions': [
yurys 2013/08/28 14:08:34 Will it work on Mac OS X?
Benedikt Meurer 2013/08/28 14:10:08 Yes, Mac OS X uses mach_absolute_time() instead of
+ ['_toolset=="host"', {
+ 'libraries': [
+ '-lrt'
+ ]
+ }]
+ ]
+ },
'sources': [
'../../src/platform-linux.cc'
]
« 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