OLD | NEW |
1 # Copyright 2012 the V8 project authors. All rights reserved. | 1 # Copyright 2012 the V8 project authors. All rights reserved. |
2 # Redistribution and use in source and binary forms, with or without | 2 # Redistribution and use in source and binary forms, with or without |
3 # modification, are permitted provided that the following conditions are | 3 # modification, are permitted provided that the following conditions are |
4 # met: | 4 # met: |
5 # | 5 # |
6 # * Redistributions of source code must retain the above copyright | 6 # * Redistributions of source code must retain the above copyright |
7 # notice, this list of conditions and the following disclaimer. | 7 # notice, this list of conditions and the following disclaimer. |
8 # * Redistributions in binary form must reproduce the above | 8 # * Redistributions in binary form must reproduce the above |
9 # copyright notice, this list of conditions and the following | 9 # copyright notice, this list of conditions and the following |
10 # disclaimer in the documentation and/or other materials provided | 10 # disclaimer in the documentation and/or other materials provided |
(...skipping 30 matching lines...) Expand all Loading... |
41 'type': 'executable', | 41 'type': 'executable', |
42 'dependencies': [ | 42 'dependencies': [ |
43 '../tools/gyp/v8.gyp:v8', | 43 '../tools/gyp/v8.gyp:v8', |
44 '../tools/gyp/v8.gyp:v8_libplatform', | 44 '../tools/gyp/v8.gyp:v8_libplatform', |
45 ], | 45 ], |
46 # Generated source files need this explicitly: | 46 # Generated source files need this explicitly: |
47 'include_dirs+': [ | 47 'include_dirs+': [ |
48 '..', | 48 '..', |
49 ], | 49 ], |
50 'sources': [ | 50 'sources': [ |
| 51 'd8.h', |
51 'd8.cc', | 52 'd8.cc', |
52 'startup-data-util.h', | 53 'startup-data-util.h', |
53 'startup-data-util.cc' | 54 'startup-data-util.cc' |
54 ], | 55 ], |
55 'conditions': [ | 56 'conditions': [ |
56 [ 'want_separate_host_toolset==1', { | 57 [ 'want_separate_host_toolset==1', { |
57 'toolsets': [ '<(v8_toolset_for_d8)', ], | 58 'toolsets': [ '<(v8_toolset_for_d8)', ], |
58 }], | 59 }], |
59 [ 'console=="readline"', { | 60 [ 'console=="readline"', { |
60 'libraries': [ '-lreadline', ], | 61 'libraries': [ '-lreadline', ], |
61 'sources': [ 'd8-readline.cc' ], | 62 'sources': [ 'd8-readline.cc' ], |
62 }], | 63 }], |
63 ['(OS=="linux" or OS=="mac" or OS=="freebsd" or OS=="netbsd" \ | 64 ['(OS=="linux" or OS=="mac" or OS=="freebsd" or OS=="netbsd" \ |
64 or OS=="openbsd" or OS=="solaris" or OS=="android" \ | 65 or OS=="openbsd" or OS=="solaris" or OS=="android" \ |
65 or OS=="qnx" or OS=="aix")', { | 66 or OS=="qnx" or OS=="aix")', { |
66 'sources': [ 'd8-posix.cc', ] | 67 'sources': [ 'd8-posix.cc', ] |
67 }], | 68 }], |
68 [ 'OS=="win"', { | 69 [ 'OS=="win"', { |
69 'sources': [ 'd8-windows.cc', ] | 70 'sources': [ 'd8-windows.cc', ] |
70 }], | 71 }], |
71 [ 'component!="shared_library"', { | 72 [ 'component!="shared_library"', { |
72 'sources': [ 'd8-debug.cc', '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc', ], | 73 'sources': [ |
| 74 'd8-debug.h', |
| 75 'd8-debug.cc', |
| 76 '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc', |
| 77 ], |
73 'conditions': [ | 78 'conditions': [ |
74 [ 'want_separate_host_toolset==1', { | 79 [ 'want_separate_host_toolset==1', { |
75 'dependencies': [ | 80 'dependencies': [ |
76 'd8_js2c#host', | 81 'd8_js2c#host', |
77 ], | 82 ], |
78 }, { | 83 }, { |
79 'dependencies': [ | 84 'dependencies': [ |
80 'd8_js2c', | 85 'd8_js2c', |
81 ], | 86 ], |
82 }], | 87 }], |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 '../tools/js2c.py', | 136 '../tools/js2c.py', |
132 '<@(_outputs)', | 137 '<@(_outputs)', |
133 'D8', | 138 'D8', |
134 '<@(js_files)' | 139 '<@(js_files)' |
135 ], | 140 ], |
136 }, | 141 }, |
137 ], | 142 ], |
138 } | 143 } |
139 ], | 144 ], |
140 } | 145 } |
OLD | NEW |