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

Unified Diff: runtime/bin/bin.gypi

Issue 16060004: When cross-compiling, also build and link run_vm_tests for the host architecture. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 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 | « no previous file | runtime/bin/net/nss.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/bin.gypi
===================================================================
--- runtime/bin/bin.gypi (revision 23030)
+++ runtime/bin/bin.gypi (working copy)
@@ -180,6 +180,7 @@
{
'target_name': 'libdart_io',
'type': 'static_library',
+ 'toolsets':['host', 'target'],
'include_dirs': [
'..',
],
@@ -479,6 +480,7 @@
{
'target_name': 'run_vm_tests',
'type': 'executable',
+ 'toolsets':['target'],
'dependencies': [
'libdart_withcore',
'libdart_builtin',
@@ -528,6 +530,58 @@
],
},
{
+ 'target_name': 'run_vm_tests.host',
+ 'type': 'executable',
+ 'toolsets':['host'],
+ 'dependencies': [
+ 'libdart_withcore',
+ 'libdart_builtin',
+ 'libdart_io',
+ 'generate_snapshot_file#host',
+ 'generate_snapshot_test_dat_file',
+ ],
+ 'include_dirs': [
+ '..',
+ '<(gen_source_dir)',
+ ],
+ 'sources': [
+ 'run_vm_tests.cc',
+ 'builtin_natives.cc',
+ 'builtin_nolib.cc',
+ 'builtin.h',
+ 'io_natives.h',
+ # Include generated source files.
+ '<(snapshot_cc_file)',
+ '<(builtin_cc_file)',
+ '<(io_cc_file)',
+ '<(io_patch_cc_file)',
+ ],
+ 'includes': [
+ 'builtin_impl_sources.gypi',
+ '../platform/platform_sources.gypi',
+ '../vm/vm_sources.gypi',
+ ],
+ 'defines': [
+ 'TESTING',
+ ],
+ # Only include _test.[cc|h] files.
+ 'sources/': [
+ ['exclude', '\\.(cc|h)$'],
+ ['include', 'run_vm_tests.cc'],
+ ['include', 'builtin_nolib.cc'],
+ ['include', 'builtin_natives.cc'],
+ ['include', '_gen\\.cc$'],
+ ['include', '_test\\.(cc|h)$'],
+ ],
+ 'conditions': [
+ ['OS=="win"', {
+ 'link_settings': {
+ 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-lwinmm.lib' ],
+ },
+ }],
+ ],
+ },
+ {
'target_name': 'test_extension',
'type': 'shared_library',
'dependencies': [
« no previous file with comments | « no previous file | runtime/bin/net/nss.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698