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 27 matching lines...) Expand all Loading... |
38 '../tools/gyp/v8.gyp:v8', | 38 '../tools/gyp/v8.gyp:v8', |
39 ], | 39 ], |
40 # Generated source files need this explicitly: | 40 # Generated source files need this explicitly: |
41 'include_dirs+': [ | 41 'include_dirs+': [ |
42 '../src', | 42 '../src', |
43 ], | 43 ], |
44 'sources': [ | 44 'sources': [ |
45 'd8.cc', | 45 'd8.cc', |
46 ], | 46 ], |
47 'conditions': [ | 47 'conditions': [ |
| 48 [ 'console=="readline"', { |
| 49 'libraries': [ '-lreadline', ], |
| 50 'sources': [ 'd8-readline.cc' ], |
| 51 }], |
48 [ 'component!="shared_library"', { | 52 [ 'component!="shared_library"', { |
49 'sources': [ 'd8-debug.cc', '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc', ], | 53 'sources': [ 'd8-debug.cc', '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc', ], |
50 'conditions': [ | 54 'conditions': [ |
51 [ 'want_separate_host_toolset==1', { | 55 [ 'want_separate_host_toolset==1', { |
52 'dependencies': [ | 56 'dependencies': [ |
53 'd8_js2c#host', | 57 'd8_js2c#host', |
54 ], | 58 ], |
55 }, { | 59 }, { |
56 'dependencies': [ | 60 'dependencies': [ |
57 'd8_js2c', | 61 'd8_js2c', |
58 ], | 62 ], |
59 }], | 63 }], |
60 [ 'console=="readline"', { | |
61 'libraries': [ '-lreadline', ], | |
62 'sources': [ 'd8-readline.cc' ], | |
63 }], | |
64 ['(OS=="linux" or OS=="mac" or OS=="freebsd" or OS=="netbsd" \ | 64 ['(OS=="linux" or OS=="mac" or OS=="freebsd" or OS=="netbsd" \ |
65 or OS=="openbsd" or OS=="solaris" or OS=="android")', { | 65 or OS=="openbsd" or OS=="solaris" or OS=="android")', { |
66 'sources': [ 'd8-posix.cc', ] | 66 'sources': [ 'd8-posix.cc', ] |
67 }], | 67 }], |
68 [ 'OS=="win"', { | 68 [ 'OS=="win"', { |
69 'sources': [ 'd8-windows.cc', ] | 69 'sources': [ 'd8-windows.cc', ] |
70 }], | 70 }], |
71 ], | 71 ], |
72 }], | 72 }], |
73 ], | 73 ], |
(...skipping 30 matching lines...) Expand all Loading... |
104 '<@(_outputs)', | 104 '<@(_outputs)', |
105 'D8', | 105 'D8', |
106 'off', # compress startup data | 106 'off', # compress startup data |
107 '<@(js_files)' | 107 '<@(js_files)' |
108 ], | 108 ], |
109 }, | 109 }, |
110 ], | 110 ], |
111 } | 111 } |
112 ], | 112 ], |
113 } | 113 } |
OLD | NEW |