| Index: tools/gyp/v8.gyp
|
| diff --git a/tools/gyp/v8.gyp b/tools/gyp/v8.gyp
|
| index 3f99b13fd2b478e4d36143f5c3c47ab66733eb6b..a73ece03b8246486b0291fef7c1ef68417e7984f 100644
|
| --- a/tools/gyp/v8.gyp
|
| +++ b/tools/gyp/v8.gyp
|
| @@ -724,15 +724,28 @@
|
| }],
|
| ],
|
| }, {
|
| - 'link_settings': {
|
| - 'target_conditions': [
|
| - ['_toolset=="host"', {
|
| - 'libraries': [
|
| - '-lrt'
|
| - ]
|
| - }]
|
| - ]
|
| - },
|
| + # TODO(bmeurer): What we really want here, is this:
|
| + #
|
| + # 'link_settings': {
|
| + # 'target_conditions': [
|
| + # ['_toolset=="host"', {
|
| + # 'libraries': [
|
| + # '-lrt'
|
| + # ]
|
| + # }]
|
| + # ]
|
| + # },
|
| + #
|
| + # but we can't do this right now, as the AOSP does not support
|
| + # linking against the host librt, so we need to work around this
|
| + # for now, using the following hack (see platform/time.cc):
|
| + 'target_conditions': [
|
| + ['_toolset=="host"', {
|
| + 'defines': [
|
| + 'V8_LIBRT_NOT_AVAILABLE',
|
| + ],
|
| + }],
|
| + ],
|
| 'sources': [
|
| '../../src/platform-linux.cc'
|
| ]
|
|
|