Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Unified Diff: src/vm/vm.gyp

Issue 1209033003: Work in progres, please take a look and give early feedback if this is the way we want to structure… (Closed) Base URL: git@github.com:dart-lang/fletch.git@master
Patch Set: address comments Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/vm/session.cc ('k') | tests/ffi/ffi_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/vm/vm.gyp
diff --git a/src/vm/vm.gyp b/src/vm/vm.gyp
index 79b5b9c96d7d4c8658d0bfdf2f5d19bfe62084d6..d2963b29303421bad19813cc417a64399a80abed 100644
--- a/src/vm/vm.gyp
+++ b/src/vm/vm.gyp
@@ -23,7 +23,11 @@
'event_handler.cc',
'event_handler_macos.cc',
'event_handler_linux.cc',
+ 'ffi.h',
'ffi.cc',
+ 'ffi_linux.cc',
+ 'ffi_macos.cc',
+ 'ffi_posix.cc',
'fletch.cc',
'fletch_api_impl.cc',
'heap.cc',
@@ -69,6 +73,7 @@
'fletch_vm_library_base',
'../shared/shared.gyp:fletch_shared',
'../double_conversion.gyp:double_conversion',
+ 'ffi_test_library',
],
# TODO(kasperl): Remove the below conditions when we no longer use weak
@@ -215,5 +220,24 @@
'../shared/test_main.cc',
],
},
+ {
+ 'target_name': 'ffi_test_library',
+ 'type': 'shared_library',
+ 'dependencies': [
+ ],
+ # We need to unset a few cflags since they are not allowed when compiling
+ # a c library.
+ 'cflags!': [
+ '-std=c++11',
+ '-fno-rtti',
+ '-Wno-non-virtual-dtor',
+ ],
+ 'sources': [
+ 'ffi_test_library.c',
+ ],
+ 'defines': [
+ 'PIC',
+ ],
+ },
],
}
« no previous file with comments | « src/vm/session.cc ('k') | tests/ffi/ffi_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698