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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 }, | 114 }, |
115 { | 115 { |
116 'target_name': 'v8_snapshot', | 116 'target_name': 'v8_snapshot', |
117 'type': 'static_library', | 117 'type': 'static_library', |
118 'conditions': [ | 118 'conditions': [ |
119 ['want_separate_host_toolset==1', { | 119 ['want_separate_host_toolset==1', { |
120 'toolsets': ['host', 'target'], | 120 'toolsets': ['host', 'target'], |
121 'dependencies': [ | 121 'dependencies': [ |
122 'mksnapshot#host', | 122 'mksnapshot#host', |
123 'js2c#host', | 123 'js2c#host', |
124 'generate_trig_table#host', | |
125 ], | 124 ], |
126 }, { | 125 }, { |
127 'toolsets': ['target'], | 126 'toolsets': ['target'], |
128 'dependencies': [ | 127 'dependencies': [ |
129 'mksnapshot', | 128 'mksnapshot', |
130 'js2c', | 129 'js2c', |
131 'generate_trig_table', | |
132 ], | 130 ], |
133 }], | 131 }], |
134 ['component=="shared_library"', { | 132 ['component=="shared_library"', { |
135 'defines': [ | 133 'defines': [ |
136 'V8_SHARED', | 134 'V8_SHARED', |
137 'BUILDING_V8_SHARED', | 135 'BUILDING_V8_SHARED', |
138 ], | 136 ], |
139 'direct_dependent_settings': { | 137 'direct_dependent_settings': { |
140 'defines': [ | 138 'defines': [ |
141 'V8_SHARED', | 139 'V8_SHARED', |
142 'USING_V8_SHARED', | 140 'USING_V8_SHARED', |
143 ], | 141 ], |
144 }, | 142 }, |
145 }], | 143 }], |
146 ], | 144 ], |
147 'dependencies': [ | 145 'dependencies': [ |
148 'v8_base', | 146 'v8_base', |
149 ], | 147 ], |
150 'include_dirs+': [ | 148 'include_dirs+': [ |
151 '../..', | 149 '../..', |
152 ], | 150 ], |
153 'sources': [ | 151 'sources': [ |
154 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', | 152 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
155 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', | 153 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', |
156 '<(SHARED_INTERMEDIATE_DIR)/trig-table.cc', | |
157 '<(INTERMEDIATE_DIR)/snapshot.cc', | 154 '<(INTERMEDIATE_DIR)/snapshot.cc', |
158 '../../src/snapshot-common.cc', | 155 '../../src/snapshot-common.cc', |
159 ], | 156 ], |
160 'actions': [ | 157 'actions': [ |
161 { | 158 { |
162 'action_name': 'run_mksnapshot', | 159 'action_name': 'run_mksnapshot', |
163 'inputs': [ | 160 'inputs': [ |
164 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)', | 161 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)', |
165 ], | 162 ], |
166 'outputs': [ | 163 'outputs': [ |
(...skipping 23 matching lines...) Expand all Loading... |
190 'type': 'static_library', | 187 'type': 'static_library', |
191 'dependencies': [ | 188 'dependencies': [ |
192 'v8_base', | 189 'v8_base', |
193 ], | 190 ], |
194 'include_dirs+': [ | 191 'include_dirs+': [ |
195 '../..', | 192 '../..', |
196 ], | 193 ], |
197 'sources': [ | 194 'sources': [ |
198 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', | 195 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
199 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', | 196 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', |
200 '<(SHARED_INTERMEDIATE_DIR)/trig-table.cc', | |
201 '../../src/snapshot-common.cc', | 197 '../../src/snapshot-common.cc', |
202 '../../src/snapshot-empty.cc', | 198 '../../src/snapshot-empty.cc', |
203 ], | 199 ], |
204 'conditions': [ | 200 'conditions': [ |
205 ['want_separate_host_toolset==1', { | 201 ['want_separate_host_toolset==1', { |
206 'toolsets': ['host', 'target'], | 202 'toolsets': ['host', 'target'], |
207 'dependencies': ['js2c#host', 'generate_trig_table#host'], | 203 'dependencies': ['js2c#host'], |
208 }, { | 204 }, { |
209 'toolsets': ['target'], | 205 'toolsets': ['target'], |
210 'dependencies': ['js2c', 'generate_trig_table'], | 206 'dependencies': ['js2c'], |
211 }], | 207 }], |
212 ['component=="shared_library"', { | 208 ['component=="shared_library"', { |
213 'defines': [ | 209 'defines': [ |
214 'BUILDING_V8_SHARED', | 210 'BUILDING_V8_SHARED', |
215 'V8_SHARED', | 211 'V8_SHARED', |
216 ], | 212 ], |
217 }], | 213 }], |
218 ] | 214 ] |
219 }, | 215 }, |
220 { | 216 { |
221 'target_name': 'v8_external_snapshot', | 217 'target_name': 'v8_external_snapshot', |
222 'type': 'static_library', | 218 'type': 'static_library', |
223 'conditions': [ | 219 'conditions': [ |
224 ['want_separate_host_toolset==1', { | 220 ['want_separate_host_toolset==1', { |
225 'toolsets': ['host'], | 221 'toolsets': ['host'], |
226 'dependencies': [ | 222 'dependencies': [ |
227 'mksnapshot#host', | 223 'mksnapshot#host', |
228 'js2c#host', | 224 'js2c#host', |
229 'generate_trig_table#host', | |
230 'natives_blob#host', | 225 'natives_blob#host', |
231 ]}, { | 226 ]}, { |
232 'toolsets': ['target'], | 227 'toolsets': ['target'], |
233 'dependencies': [ | 228 'dependencies': [ |
234 'mksnapshot', | 229 'mksnapshot', |
235 'js2c', | 230 'js2c', |
236 'generate_trig_table', | |
237 'natives_blob', | 231 'natives_blob', |
238 ], | 232 ], |
239 }], | 233 }], |
240 ['component=="shared_library"', { | 234 ['component=="shared_library"', { |
241 'defines': [ | 235 'defines': [ |
242 'V8_SHARED', | 236 'V8_SHARED', |
243 'BUILDING_V8_SHARED', | 237 'BUILDING_V8_SHARED', |
244 ], | 238 ], |
245 'direct_dependent_settings': { | 239 'direct_dependent_settings': { |
246 'defines': [ | 240 'defines': [ |
247 'V8_SHARED', | 241 'V8_SHARED', |
248 'USING_V8_SHARED', | 242 'USING_V8_SHARED', |
249 ], | 243 ], |
250 }, | 244 }, |
251 }], | 245 }], |
252 ], | 246 ], |
253 'dependencies': [ | 247 'dependencies': [ |
254 'v8_base', | 248 'v8_base', |
255 ], | 249 ], |
256 'include_dirs+': [ | 250 'include_dirs+': [ |
257 '../..', | 251 '../..', |
258 ], | 252 ], |
259 'sources': [ | 253 'sources': [ |
260 '<(SHARED_INTERMEDIATE_DIR)/trig-table.cc', | |
261 '../../src/natives-external.cc', | 254 '../../src/natives-external.cc', |
262 '../../src/snapshot-external.cc', | 255 '../../src/snapshot-external.cc', |
263 ], | 256 ], |
264 'actions': [ | 257 'actions': [ |
265 { | 258 { |
266 'action_name': 'run_mksnapshot (external)', | 259 'action_name': 'run_mksnapshot (external)', |
267 'inputs': [ | 260 'inputs': [ |
268 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)', | 261 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)', |
269 ], | 262 ], |
270 'outputs': [ | 263 'outputs': [ |
(...skipping 13 matching lines...) Expand all Loading... |
284 }, | 277 }, |
285 'action': [ | 278 'action': [ |
286 '<@(_inputs)', | 279 '<@(_inputs)', |
287 '<@(mksnapshot_flags)', | 280 '<@(mksnapshot_flags)', |
288 '<@(INTERMEDIATE_DIR)/snapshot.cc', | 281 '<@(INTERMEDIATE_DIR)/snapshot.cc', |
289 '--startup_blob', '<(PRODUCT_DIR)/snapshot_blob.bin', | 282 '--startup_blob', '<(PRODUCT_DIR)/snapshot_blob.bin', |
290 ], | 283 ], |
291 }, | 284 }, |
292 ], | 285 ], |
293 }, | 286 }, |
294 { 'target_name': 'generate_trig_table', | |
295 'type': 'none', | |
296 'conditions': [ | |
297 ['want_separate_host_toolset==1', { | |
298 'toolsets': ['host'], | |
299 }, { | |
300 'toolsets': ['target'], | |
301 }], | |
302 ], | |
303 'actions': [ | |
304 { | |
305 'action_name': 'generate', | |
306 'inputs': [ | |
307 '../../tools/generate-trig-table.py', | |
308 ], | |
309 'outputs': [ | |
310 '<(SHARED_INTERMEDIATE_DIR)/trig-table.cc', | |
311 ], | |
312 'action': [ | |
313 'python', | |
314 '../../tools/generate-trig-table.py', | |
315 '<@(_outputs)', | |
316 ], | |
317 }, | |
318 ] | |
319 }, | |
320 { | 287 { |
321 'target_name': 'v8_base', | 288 'target_name': 'v8_base', |
322 'type': 'static_library', | 289 'type': 'static_library', |
323 'dependencies': [ | 290 'dependencies': [ |
324 'v8_libbase', | 291 'v8_libbase', |
325 ], | 292 ], |
326 'variables': { | 293 'variables': { |
327 'optimize': 'max', | 294 'optimize': 'max', |
328 }, | 295 }, |
329 'include_dirs+': [ | 296 'include_dirs+': [ |
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
668 '../../src/variables.cc', | 635 '../../src/variables.cc', |
669 '../../src/variables.h', | 636 '../../src/variables.h', |
670 '../../src/vector.h', | 637 '../../src/vector.h', |
671 '../../src/version.cc', | 638 '../../src/version.cc', |
672 '../../src/version.h', | 639 '../../src/version.h', |
673 '../../src/vm-state-inl.h', | 640 '../../src/vm-state-inl.h', |
674 '../../src/vm-state.h', | 641 '../../src/vm-state.h', |
675 '../../src/zone-inl.h', | 642 '../../src/zone-inl.h', |
676 '../../src/zone.cc', | 643 '../../src/zone.cc', |
677 '../../src/zone.h', | 644 '../../src/zone.h', |
| 645 '../../third_party/fdlibm/fdlibm.cc', |
| 646 '../../third_party/fdlibm/fdlibm.h', |
678 ], | 647 ], |
679 'conditions': [ | 648 'conditions': [ |
680 ['want_separate_host_toolset==1', { | 649 ['want_separate_host_toolset==1', { |
681 'toolsets': ['host', 'target'], | 650 'toolsets': ['host', 'target'], |
682 }, { | 651 }, { |
683 'toolsets': ['target'], | 652 'toolsets': ['target'], |
684 }], | 653 }], |
685 ['v8_target_arch=="arm"', { | 654 ['v8_target_arch=="arm"', { |
686 'sources': [ ### gcmole(arch:arm) ### | 655 'sources': [ ### gcmole(arch:arm) ### |
687 '../../src/arm/assembler-arm-inl.h', | 656 '../../src/arm/assembler-arm-inl.h', |
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1304 }, | 1273 }, |
1305 }], | 1274 }], |
1306 ], | 1275 ], |
1307 'variables': { | 1276 'variables': { |
1308 'library_files': [ | 1277 'library_files': [ |
1309 '../../src/runtime.js', | 1278 '../../src/runtime.js', |
1310 '../../src/v8natives.js', | 1279 '../../src/v8natives.js', |
1311 '../../src/array.js', | 1280 '../../src/array.js', |
1312 '../../src/string.js', | 1281 '../../src/string.js', |
1313 '../../src/uri.js', | 1282 '../../src/uri.js', |
| 1283 '../../third_party/fdlibm/fdlibm.js', |
1314 '../../src/math.js', | 1284 '../../src/math.js', |
1315 '../../src/messages.js', | 1285 '../../src/messages.js', |
1316 '../../src/apinatives.js', | 1286 '../../src/apinatives.js', |
1317 '../../src/debug-debugger.js', | 1287 '../../src/debug-debugger.js', |
1318 '../../src/mirror-debugger.js', | 1288 '../../src/mirror-debugger.js', |
1319 '../../src/liveedit-debugger.js', | 1289 '../../src/liveedit-debugger.js', |
1320 '../../src/date.js', | 1290 '../../src/date.js', |
1321 '../../src/json.js', | 1291 '../../src/json.js', |
1322 '../../src/regexp.js', | 1292 '../../src/regexp.js', |
1323 '../../src/arraybuffer.js', | 1293 '../../src/arraybuffer.js', |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1445 }], | 1415 }], |
1446 ['v8_compress_startup_data=="bz2"', { | 1416 ['v8_compress_startup_data=="bz2"', { |
1447 'libraries': [ | 1417 'libraries': [ |
1448 '-lbz2', | 1418 '-lbz2', |
1449 ] | 1419 ] |
1450 }], | 1420 }], |
1451 ], | 1421 ], |
1452 }, | 1422 }, |
1453 ], | 1423 ], |
1454 } | 1424 } |
OLD | NEW |