|
4 | 4 |
|
5 | 5 | { |
6 | 6 | 'variables': { |
| 7 | + 'V8_ROOT': '../../deps/v8', |
7 | 8 | 'v8_code': 1, |
8 | 9 | 'v8_enable_i18n_support%': 1, |
9 | 10 | }, |
|
16 | 17 | 'v8.gyp:v8', |
17 | 18 | 'v8.gyp:v8_libbase', |
18 | 19 | 'v8.gyp:v8_libplatform', |
| 20 | + 'v8.gyp:generate_bytecode_builtins_list', |
19 | 21 | ], |
20 | 22 | # Generated source files need this explicitly: |
21 | 23 | 'include_dirs+': [ |
22 | | - '..', |
| 24 | + '<(V8_ROOT)', |
23 | 25 | '<(DEPTH)', |
24 | 26 | '<(SHARED_INTERMEDIATE_DIR)', |
25 | 27 | ], |
26 | 28 | 'sources': [ |
27 | | - '../src/async-hooks-wrapper.cc', |
28 | | - '../src/async-hooks-wrapper.h', |
29 | | - '../src/d8-console.cc', |
30 | | - '../src/d8-console.h', |
31 | | - '../src/d8-js.cc', |
32 | | - '../src/d8-platforms.cc', |
33 | | - '../src/d8-platforms.h', |
34 | | - '../src/d8.cc', |
35 | | - '../src/d8.h', |
| 29 | + '<(V8_ROOT)/src/async-hooks-wrapper.cc', |
| 30 | + '<(V8_ROOT)/src/async-hooks-wrapper.h', |
| 31 | + '<(V8_ROOT)/src/d8-console.cc', |
| 32 | + '<(V8_ROOT)/src/d8-console.h', |
| 33 | + '<(V8_ROOT)/src/d8-js.cc', |
| 34 | + '<(V8_ROOT)/src/d8-platforms.cc', |
| 35 | + '<(V8_ROOT)/src/d8-platforms.h', |
| 36 | + '<(V8_ROOT)/src/d8.cc', |
| 37 | + '<(V8_ROOT)/src/d8.h', |
36 | 38 | ], |
37 | 39 | 'conditions': [ |
38 | 40 | [ 'want_separate_host_toolset==1', { |
|
44 | 46 | ['(OS=="linux" or OS=="mac" or OS=="freebsd" or OS=="netbsd" \ |
45 | 47 | or OS=="openbsd" or OS=="solaris" or OS=="android" \ |
46 | 48 | or OS=="qnx" or OS=="aix")', { |
47 | | - 'sources': [ '../src/d8-posix.cc', ] |
| 49 | + 'sources': [ '<(V8_ROOT)/src/d8-posix.cc', ] |
48 | 50 | }], |
49 | 51 | [ 'OS=="win"', { |
50 | | - 'sources': [ '../src/d8-windows.cc', ] |
| 52 | + 'sources': [ '<(V8_ROOT)/src/d8-windows.cc', ] |
51 | 53 | }], |
52 | 54 | [ 'component!="shared_library"', { |
53 | 55 | 'conditions': [ |
|
0 commit comments