Index: src/d8.gyp |
diff --git a/src/d8.gyp b/src/d8.gyp |
index b353eb01369714187781970a371c15fb5cd44fc6..908a29f6ba71d33e528500b93fe116fea330aadc 100644 |
--- a/src/d8.gyp |
+++ b/src/d8.gyp |
@@ -57,6 +57,14 @@ |
'libraries': [ '-lreadline', ], |
'sources': [ 'd8-readline.cc' ], |
}], |
+ ['(OS=="linux" or OS=="mac" or OS=="freebsd" or OS=="netbsd" \ |
+ or OS=="openbsd" or OS=="solaris" or OS=="android" \ |
+ or OS=="qnx")', { |
+ 'sources': [ 'd8-posix.cc', ] |
+ }], |
+ [ 'OS=="win"', { |
+ 'sources': [ 'd8-windows.cc', ] |
+ }], |
[ 'component!="shared_library"', { |
'sources': [ 'd8-debug.cc', '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc', ], |
'conditions': [ |
@@ -69,14 +77,6 @@ |
'd8_js2c', |
], |
}], |
- ['(OS=="linux" or OS=="mac" or OS=="freebsd" or OS=="netbsd" \ |
- or OS=="openbsd" or OS=="solaris" or OS=="android" \ |
- or OS=="qnx")', { |
- 'sources': [ 'd8-posix.cc', ] |
- }], |
- [ 'OS=="win"', { |
- 'sources': [ 'd8-windows.cc', ] |
- }], |
], |
}], |
['v8_enable_vtunejit==1', { |