OLD | NEW |
1 # Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file | 1 # Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
2 # for details. All rights reserved. Use of this source code is governed by a | 2 # for details. All rights reserved. Use of this source code is governed by a |
3 # BSD-style license that can be found in the LICENSE.md file. | 3 # BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 { | 5 { |
6 'target_defaults': { | 6 'target_defaults': { |
7 'include_dirs': [ | 7 'include_dirs': [ |
8 '../../', | 8 '../../', |
9 ], | 9 ], |
10 }, | 10 }, |
11 'targets': [ | 11 'targets': [ |
12 { | 12 { |
13 'target_name': 'fletch_vm_library', | 13 'target_name': 'dartino_vm_library', |
14 'type': 'static_library', | 14 'type': 'static_library', |
15 'toolsets': ['target', 'host'], | 15 'toolsets': ['target', 'host'], |
16 'target_conditions': [ | 16 'target_conditions': [ |
17 ['_toolset == "target"', { | 17 ['_toolset == "target"', { |
18 'standalone_static_library': 1, | 18 'standalone_static_library': 1, |
19 }]], | 19 }]], |
20 'dependencies': [ | 20 'dependencies': [ |
21 'fletch_vm_library_generator#host', | 21 'dartino_vm_library_generator#host', |
22 '../shared/shared.gyp:fletch_shared', | 22 '../shared/shared.gyp:dartino_shared', |
23 '../double_conversion.gyp:double_conversion', | 23 '../double_conversion.gyp:double_conversion', |
24 ], | 24 ], |
25 'conditions': [ | 25 'conditions': [ |
26 [ 'OS=="mac"', { | 26 [ 'OS=="mac"', { |
27 'dependencies': [ | 27 'dependencies': [ |
28 '../shared/shared.gyp:copy_asan#host', | 28 '../shared/shared.gyp:copy_asan#host', |
29 ], | 29 ], |
30 'sources': [ | 30 'sources': [ |
31 '<(PRODUCT_DIR)/libclang_rt.asan_osx_dynamic.dylib', | 31 '<(PRODUCT_DIR)/libclang_rt.asan_osx_dynamic.dylib', |
32 ], | 32 ], |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 'event_handler_lk.cc', | 86 'event_handler_lk.cc', |
87 'event_handler_cmsis.cc', | 87 'event_handler_cmsis.cc', |
88 'ffi.cc', | 88 'ffi.cc', |
89 'ffi_disabled.cc', | 89 'ffi_disabled.cc', |
90 'ffi_static.cc', | 90 'ffi_static.cc', |
91 'ffi.h', | 91 'ffi.h', |
92 'ffi_linux.cc', | 92 'ffi_linux.cc', |
93 'ffi_macos.cc', | 93 'ffi_macos.cc', |
94 'ffi_posix.cc', | 94 'ffi_posix.cc', |
95 'ffi_windows.cc', | 95 'ffi_windows.cc', |
96 'fletch_api_impl.cc', | 96 'dartino_api_impl.cc', |
97 'fletch_api_impl.h', | 97 'dartino_api_impl.h', |
98 'fletch.cc', | 98 'dartino.cc', |
99 'gc_thread.cc', | 99 'gc_thread.cc', |
100 'gc_thread.h', | 100 'gc_thread.h', |
101 'hash_map.h', | 101 'hash_map.h', |
102 'hash_set.h', | 102 'hash_set.h', |
103 'hash_table.h', | 103 'hash_table.h', |
104 'heap.cc', | 104 'heap.cc', |
105 'heap.h', | 105 'heap.h', |
106 'heap_validator.cc', | 106 'heap_validator.cc', |
107 'heap_validator.h', | 107 'heap_validator.h', |
108 'interpreter.cc', | 108 'interpreter.cc', |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 'void_hash_table.cc', | 194 'void_hash_table.cc', |
195 'void_hash_table.h', | 195 'void_hash_table.h', |
196 'weak_pointer.cc', | 196 'weak_pointer.cc', |
197 'weak_pointer.h', | 197 'weak_pointer.h', |
198 ], | 198 ], |
199 'actions': [ | 199 'actions': [ |
200 { | 200 { |
201 'action_name': 'generate_generated_S', | 201 'action_name': 'generate_generated_S', |
202 'inputs': [ | 202 'inputs': [ |
203 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)' | 203 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)' |
204 'fletch_vm_library_generator' | 204 'dartino_vm_library_generator' |
205 '<(EXECUTABLE_SUFFIX)', | 205 '<(EXECUTABLE_SUFFIX)', |
206 ], | 206 ], |
207 'outputs': [ | 207 'outputs': [ |
208 '<(INTERMEDIATE_DIR)/generated<(asm_file_extension)', | 208 '<(INTERMEDIATE_DIR)/generated<(asm_file_extension)', |
209 ], | 209 ], |
210 'action': [ | 210 'action': [ |
211 '<@(_inputs)', | 211 '<@(_inputs)', |
212 '<@(_outputs)', | 212 '<@(_outputs)', |
213 ], | 213 ], |
214 }, | 214 }, |
215 ], | 215 ], |
216 }, | 216 }, |
217 { | 217 { |
218 'target_name': 'libfletch', | 218 'target_name': 'libdartino', |
219 'type': 'none', | 219 'type': 'none', |
220 'dependencies': [ | 220 'dependencies': [ |
221 'fletch_vm_library', | 221 'dartino_vm_library', |
222 '../shared/shared.gyp:fletch_shared', | 222 '../shared/shared.gyp:dartino_shared', |
223 '../double_conversion.gyp:double_conversion', | 223 '../double_conversion.gyp:double_conversion', |
224 ], | 224 ], |
225 'sources': [ | 225 'sources': [ |
226 # TODO(ager): Lint target default requires a source file. Not | 226 # TODO(ager): Lint target default requires a source file. Not |
227 # sure how to work around that. | 227 # sure how to work around that. |
228 'assembler.h', | 228 'assembler.h', |
229 ], | 229 ], |
230 'actions': [ | 230 'actions': [ |
231 { | 231 { |
232 'action_name': 'generate_libfletch', | 232 'action_name': 'generate_libdartino', |
233 'inputs': [ | 233 'inputs': [ |
234 '../../tools/library_combiner.py', | 234 '../../tools/library_combiner.py', |
235 '<(PRODUCT_DIR)/<(STATIC_LIB_PREFIX)fletch_vm_library<(STATIC_LIB_SU
FFIX)', | 235 '<(PRODUCT_DIR)/<(STATIC_LIB_PREFIX)dartino_vm_library<(STATIC_LIB_S
UFFIX)', |
236 '<(PRODUCT_DIR)/<(STATIC_LIB_PREFIX)fletch_shared<(STATIC_LIB_SUFFIX
)', | 236 '<(PRODUCT_DIR)/<(STATIC_LIB_PREFIX)dartino_shared<(STATIC_LIB_SUFFI
X)', |
237 '<(PRODUCT_DIR)/<(STATIC_LIB_PREFIX)double_conversion<(STATIC_LIB_SU
FFIX)', | 237 '<(PRODUCT_DIR)/<(STATIC_LIB_PREFIX)double_conversion<(STATIC_LIB_SU
FFIX)', |
238 ], | 238 ], |
239 'outputs': [ | 239 'outputs': [ |
240 '<(PRODUCT_DIR)/<(STATIC_LIB_PREFIX)fletch<(STATIC_LIB_SUFFIX)', | 240 '<(PRODUCT_DIR)/<(STATIC_LIB_PREFIX)dartino<(STATIC_LIB_SUFFIX)', |
241 ], | 241 ], |
242 'action': [ | 242 'action': [ |
243 'python', '<@(_inputs)', '<@(_outputs)', | 243 'python', '<@(_inputs)', '<@(_outputs)', |
244 ] | 244 ] |
245 }, | 245 }, |
246 ] | 246 ] |
247 }, | 247 }, |
248 { | 248 { |
249 'target_name': 'fletch_vm_library_generator', | 249 'target_name': 'dartino_vm_library_generator', |
250 'type': 'executable', | 250 'type': 'executable', |
251 'toolsets': ['host'], | 251 'toolsets': ['host'], |
252 'dependencies': [ | 252 'dependencies': [ |
253 '../shared/shared.gyp:fletch_shared', | 253 '../shared/shared.gyp:dartino_shared', |
254 ], | 254 ], |
255 'conditions': [ | 255 'conditions': [ |
256 [ 'OS=="mac"', { | 256 [ 'OS=="mac"', { |
257 'dependencies': [ | 257 'dependencies': [ |
258 '../shared/shared.gyp:copy_asan#host', | 258 '../shared/shared.gyp:copy_asan#host', |
259 ], | 259 ], |
260 'sources': [ | 260 'sources': [ |
261 '<(PRODUCT_DIR)/libclang_rt.asan_osx_dynamic.dylib', | 261 '<(PRODUCT_DIR)/libclang_rt.asan_osx_dynamic.dylib', |
262 ], | 262 ], |
263 }], | 263 }], |
(...skipping 17 matching lines...) Expand all Loading... |
281 'assembler_x86_macos.cc', | 281 'assembler_x86_macos.cc', |
282 'assembler_x86_win.cc', | 282 'assembler_x86_win.cc', |
283 'generator.h', | 283 'generator.h', |
284 'generator.cc', | 284 'generator.cc', |
285 'interpreter_arm.cc', | 285 'interpreter_arm.cc', |
286 'interpreter_x86.cc', | 286 'interpreter_x86.cc', |
287 'interpreter_x64.cc', | 287 'interpreter_x64.cc', |
288 ], | 288 ], |
289 }, | 289 }, |
290 { | 290 { |
291 'target_name': 'fletch-vm', | 291 'target_name': 'dartino-vm', |
292 'type': 'executable', | 292 'type': 'executable', |
293 'dependencies': [ | 293 'dependencies': [ |
294 'libfletch', | 294 'libdartino', |
295 ], | 295 ], |
296 'sources': [ | 296 'sources': [ |
297 'main.cc', | 297 'main.cc', |
298 'main_simple.cc', | 298 'main_simple.cc', |
299 ], | 299 ], |
300 }, | 300 }, |
301 { | 301 { |
302 'target_name': 'vm_cc_tests', | 302 'target_name': 'vm_cc_tests', |
303 'type': 'executable', | 303 'type': 'executable', |
304 'dependencies': [ | 304 'dependencies': [ |
305 'libfletch', | 305 'libdartino', |
306 '../shared/shared.gyp:cc_test_base', | 306 '../shared/shared.gyp:cc_test_base', |
307 ], | 307 ], |
308 'defines': [ | 308 'defines': [ |
309 'TESTING', | 309 'TESTING', |
310 # TODO(ahe): Remove this when GYP is the default. | 310 # TODO(ahe): Remove this when GYP is the default. |
311 'GYP', | 311 'GYP', |
312 ], | 312 ], |
313 'sources': [ | 313 'sources': [ |
314 # TODO(ahe): Add header (.h) files. | 314 # TODO(ahe): Add header (.h) files. |
315 'hash_table_test.cc', | 315 'hash_table_test.cc', |
316 'object_map_test.cc', | 316 'object_map_test.cc', |
317 'object_memory_test.cc', | 317 'object_memory_test.cc', |
318 'object_test.cc', | 318 'object_test.cc', |
319 'platform_test.cc', | 319 'platform_test.cc', |
320 'priority_heap_test.cc', | 320 'priority_heap_test.cc', |
321 'vector_test.cc', | 321 'vector_test.cc', |
322 ], | 322 ], |
323 }, | 323 }, |
324 { | 324 { |
325 'target_name': 'multiprogram_cc_test', | 325 'target_name': 'multiprogram_cc_test', |
326 'type': 'executable', | 326 'type': 'executable', |
327 'dependencies': [ | 327 'dependencies': [ |
328 'libfletch', | 328 'libdartino', |
329 ], | 329 ], |
330 'defines': [ | 330 'defines': [ |
331 'TESTING', | 331 'TESTING', |
332 ], | 332 ], |
333 'sources': [ | 333 'sources': [ |
334 'multiprogram_test.cc', | 334 'multiprogram_test.cc', |
335 ], | 335 ], |
336 }, | 336 }, |
337 { | 337 { |
338 'target_name': 'ffi_test_local_library', | 338 'target_name': 'ffi_test_local_library', |
(...skipping 21 matching lines...) Expand all Loading... |
360 'ffi_test_library.c', | 360 'ffi_test_library.c', |
361 ], | 361 ], |
362 'cflags': ['-fPIC'], | 362 'cflags': ['-fPIC'], |
363 'xcode_settings': { | 363 'xcode_settings': { |
364 'OTHER_CPLUSPLUSFLAGS': [ | 364 'OTHER_CPLUSPLUSFLAGS': [ |
365 '-fPIC', | 365 '-fPIC', |
366 ], | 366 ], |
367 }, | 367 }, |
368 }, | 368 }, |
369 { | 369 { |
370 'target_name': 'fletch_relocation_library', | 370 'target_name': 'dartino_relocation_library', |
371 'type': 'static_library', | 371 'type': 'static_library', |
372 'standalone_static_library': 1, | 372 'standalone_static_library': 1, |
373 'sources': [ | 373 'sources': [ |
374 'fletch_relocation_api_impl.cc', | 374 'dartino_relocation_api_impl.cc', |
375 'fletch_relocation_api_impl.h', | 375 'dartino_relocation_api_impl.h', |
376 'program_info_block.h', # only to detect interface changes | 376 'program_info_block.h', # only to detect interface changes |
377 'program_relocator.cc', | 377 'program_relocator.cc', |
378 'program_relocator.h', | 378 'program_relocator.h', |
379 ], | 379 ], |
380 }, | 380 }, |
381 ], | 381 ], |
382 } | 382 } |
OLD | NEW |