| OLD | NEW |
| 1 # Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 # Copyright (c) 2015, the Fletch 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_base', | 13 'target_name': 'fletch_vm_library_base', |
| 14 'type': 'static_library', | 14 'type': 'static_library', |
| 15 'toolsets': ['target', 'host'], | 15 'toolsets': ['target', 'host'], |
| 16 'dependencies': [ | 16 'dependencies': [ |
| 17 '../shared/shared.gyp:fletch_shared', | 17 '../shared/shared.gyp:fletch_shared', |
| 18 '../double_conversion.gyp:double_conversion', | 18 '../double_conversion.gyp:double_conversion', |
| 19 ], | 19 ], |
| 20 'sources': [ | 20 'sources': [ |
| 21 # TODO(ahe): Add header (.h) files. | 21 # TODO(ahe): Add header (.h) files. |
| 22 'debug_info.cc', | 22 'debug_info.cc', |
| 23 'event_handler.cc', | 23 'event_handler.cc', |
| 24 'event_handler_macos.cc', | 24 'event_handler_macos.cc', |
| 25 'event_handler_linux.cc', | 25 'event_handler_linux.cc', |
| 26 'ffi.h', |
| 26 'ffi.cc', | 27 'ffi.cc', |
| 28 'ffi_linux.cc', |
| 29 'ffi_macos.cc', |
| 30 'ffi_posix.cc', |
| 27 'fletch.cc', | 31 'fletch.cc', |
| 28 'fletch_api_impl.cc', | 32 'fletch_api_impl.cc', |
| 29 'heap.cc', | 33 'heap.cc', |
| 30 'interpreter.cc', | 34 'interpreter.cc', |
| 31 'intrinsics.cc', | 35 'intrinsics.cc', |
| 32 'lookup_cache.cc', | 36 'lookup_cache.cc', |
| 33 'natives.cc', | 37 'natives.cc', |
| 34 'object.cc', | 38 'object.cc', |
| 35 'object_list.cc', | 39 'object_list.cc', |
| 36 'object_map.cc', | 40 'object_map.cc', |
| (...skipping 25 matching lines...) Expand all Loading... |
| 62 }, | 66 }, |
| 63 }, | 67 }, |
| 64 { | 68 { |
| 65 'target_name': 'fletch_vm_library', | 69 'target_name': 'fletch_vm_library', |
| 66 'type': 'static_library', | 70 'type': 'static_library', |
| 67 'dependencies': [ | 71 'dependencies': [ |
| 68 'fletch_vm_library_generator#host', | 72 'fletch_vm_library_generator#host', |
| 69 'fletch_vm_library_base', | 73 'fletch_vm_library_base', |
| 70 '../shared/shared.gyp:fletch_shared', | 74 '../shared/shared.gyp:fletch_shared', |
| 71 '../double_conversion.gyp:double_conversion', | 75 '../double_conversion.gyp:double_conversion', |
| 76 'ffi_test_library', |
| 72 ], | 77 ], |
| 73 | 78 |
| 74 # TODO(kasperl): Remove the below conditions when we no longer use weak | 79 # TODO(kasperl): Remove the below conditions when we no longer use weak |
| 75 # symbols. | 80 # symbols. |
| 76 'conditions': [ | 81 'conditions': [ |
| 77 [ 'OS=="linux"', { | 82 [ 'OS=="linux"', { |
| 78 'link_settings': { | 83 'link_settings': { |
| 79 'ldflags': [ | 84 'ldflags': [ |
| 80 '-Wl,--whole-archive', | 85 '-Wl,--whole-archive', |
| 81 ], | 86 ], |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 'sources': [ | 213 'sources': [ |
| 209 # TODO(ahe): Add header (.h) files. | 214 # TODO(ahe): Add header (.h) files. |
| 210 'object_map_test.cc', | 215 'object_map_test.cc', |
| 211 'object_memory_test.cc', | 216 'object_memory_test.cc', |
| 212 'object_test.cc', | 217 'object_test.cc', |
| 213 'platform_test.cc', | 218 'platform_test.cc', |
| 214 | 219 |
| 215 '../shared/test_main.cc', | 220 '../shared/test_main.cc', |
| 216 ], | 221 ], |
| 217 }, | 222 }, |
| 223 { |
| 224 'target_name': 'ffi_test_library', |
| 225 'type': 'shared_library', |
| 226 'dependencies': [ |
| 227 ], |
| 228 # We need to unset a few cflags since they are not allowed when compiling |
| 229 # a c library. |
| 230 'cflags!': [ |
| 231 '-std=c++11', |
| 232 '-fno-rtti', |
| 233 '-Wno-non-virtual-dtor', |
| 234 ], |
| 235 'sources': [ |
| 236 'ffi_test_library.c', |
| 237 ], |
| 238 'defines': [ |
| 239 'PIC', |
| 240 ], |
| 241 }, |
| 218 ], | 242 ], |
| 219 } | 243 } |
| OLD | NEW |