| Index: src/d8.gyp
|
| ===================================================================
|
| --- src/d8.gyp (revision 8778)
|
| +++ src/d8.gyp (working copy)
|
| @@ -26,35 +26,43 @@
|
| # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
| {
|
| + 'variables': {
|
| + 'console%': '',
|
| + },
|
| 'targets': [
|
| {
|
| 'target_name': 'd8',
|
| 'type': 'executable',
|
| 'dependencies': [
|
| - 'd8_js2c#host',
|
| '../tools/gyp/v8.gyp:v8',
|
| ],
|
| 'include_dirs+': [
|
| '../src',
|
| ],
|
| 'defines': [
|
| - 'ENABLE_LOGGING_AND_PROFILING',
|
| 'ENABLE_DEBUGGER_SUPPORT',
|
| - 'ENABLE_VMSTATE_TRACKING',
|
| - 'V8_FAST_TLS',
|
| ],
|
| 'sources': [
|
| 'd8.cc',
|
| - 'd8-debug.cc',
|
| - '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc',
|
| ],
|
| 'conditions': [
|
| - [ 'OS=="linux" or OS=="mac" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
|
| - 'sources': [ 'd8-posix.cc', ]
|
| + [ 'component!="shared_library"', {
|
| + 'dependencies': [ 'd8_js2c#host', ],
|
| + 'sources': [ 'd8-debug.cc', '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc', ],
|
| + 'conditions': [
|
| + [ 'console=="readline"', {
|
| + 'libraries': [ '-lreadline', ],
|
| + 'sources': [ 'd8-readline.cc' ],
|
| + }],
|
| + [ '(OS=="linux" or OS=="mac" or OS=="freebsd" \
|
| + or OS=="openbsd" or OS=="solaris")', {
|
| + 'sources': [ 'd8-posix.cc', ]
|
| + }],
|
| + [ 'OS=="win"', {
|
| + 'sources': [ 'd8-windows.cc', ]
|
| + }],
|
| + ],
|
| }],
|
| - [ 'OS=="win"', {
|
| - 'sources': [ 'd8-windows.cc', ]
|
| - }],
|
| ],
|
| },
|
| {
|
|
|