Index: tools/gyp/v8.gyp |
diff --git a/tools/gyp/v8.gyp b/tools/gyp/v8.gyp |
index eefd142b7042040d7b6f298e37b8e4eeff57e0ac..708defed9bea6bfbd35f53b4c2722b619426d671 100644 |
--- a/tools/gyp/v8.gyp |
+++ b/tools/gyp/v8.gyp |
@@ -436,6 +436,9 @@ |
'../../src/optimizing-compiler-thread.cc', |
'../../src/parser.cc', |
'../../src/parser.h', |
+ '../../src/platform/elapsed-timer.h', |
+ '../../src/platform/time.cc', |
+ '../../src/platform/time.h', |
'../../src/platform-posix.h', |
'../../src/platform.h', |
'../../src/preparse-data-format.h', |
@@ -688,6 +691,9 @@ |
] |
}], |
], |
+ 'libraries': [ |
+ '-lrt' |
+ ] |
}, |
'sources': [ ### gcmole(os:linux) ### |
'../../src/platform-linux.cc', |
@@ -700,7 +706,7 @@ |
'CAN_USE_VFP_INSTRUCTIONS', |
], |
'sources': [ |
- '../../src/platform-posix.cc', |
+ '../../src/platform-posix.cc' |
], |
'conditions': [ |
['host_os=="mac"', { |
@@ -716,6 +722,15 @@ |
}], |
], |
}, { |
+ 'link_settings': { |
+ 'target_conditions': [ |
+ ['_toolset=="host"', { |
+ 'libraries': [ |
+ '-lrt' |
+ ] |
+ }] |
+ ] |
+ }, |
'sources': [ |
'../../src/platform-linux.cc' |
] |
@@ -763,7 +778,7 @@ |
]}, |
'sources': [ |
'../../src/platform-solaris.cc', |
- '../../src/platform-posix.cc', |
+ '../../src/platform-posix.cc' |
], |
} |
], |
@@ -786,13 +801,13 @@ |
['build_env=="Cygwin"', { |
'sources': [ |
'../../src/platform-cygwin.cc', |
- '../../src/platform-posix.cc', |
+ '../../src/platform-posix.cc' |
], |
}, { |
'sources': [ |
'../../src/platform-win32.cc', |
- '../../src/win32-math.h', |
'../../src/win32-math.cc', |
+ '../../src/win32-math.h' |
], |
}], |
], |
@@ -802,8 +817,8 @@ |
}, { |
'sources': [ |
'../../src/platform-win32.cc', |
- '../../src/win32-math.h', |
'../../src/win32-math.cc', |
+ '../../src/win32-math.h' |
], |
'msvs_disabled_warnings': [4351, 4355, 4800], |
'link_settings': { |