Chromium Code Reviews| Index: runtime/dart-runtime.gyp |
| =================================================================== |
| --- runtime/dart-runtime.gyp (revision 22082) |
| +++ runtime/dart-runtime.gyp (working copy) |
| @@ -64,7 +64,8 @@ |
| 'type': 'none', |
| 'toolsets':['target','host'], |
| 'dependencies': [ |
| - 'libdart_dependency_helper', |
| + 'libdart_dependency_helper.target#target', |
| + 'libdart_dependency_helper.host#host', |
| ], |
| 'actions': [ |
| { |
| @@ -78,7 +79,8 @@ |
| '<(version_in_cc_file)', |
| # Depend on libdart_dependency_helper to track the libraries it |
| # depends on. |
| - '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)libdart_dependency_helper<(EXECUTABLE_SUFFIX)', |
| + '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)libdart_dependency_helper.target<(EXECUTABLE_SUFFIX)', |
| + '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)libdart_dependency_helper.host<(EXECUTABLE_SUFFIX)', |
| ], |
| 'outputs': [ |
| '<(version_cc_file)', |
| @@ -94,9 +96,9 @@ |
| ], |
| }, |
| { |
| - 'target_name': 'libdart_dependency_helper', |
| + 'target_name': 'libdart_dependency_helper.target', |
| 'type': 'executable', |
| - 'toolsets':['target','host'], |
| + 'toolsets':['target'], |
| # The dependencies here are the union of the dependencies of libdart and |
| # libdart_withcore. |
| 'dependencies': [ |
| @@ -111,6 +113,23 @@ |
| ], |
| }, |
| { |
| + 'target_name': 'libdart_dependency_helper.host', |
| + 'type': 'executable', |
| + 'toolsets':['host'], |
| + # The dependencies here are the union of the dependencies of libdart and |
| + # libdart_withcore. |
| + 'dependencies': [ |
| + 'libdart_lib_withcore', |
| + 'libdart_lib', |
| + 'libdart_vm', |
| + 'libjscre', |
| + 'libdouble_conversion', |
| + ], |
|
kustermann
2013/04/29 09:29:57
You could make a variable containing these depende
zra
2013/04/29 18:38:35
Done.
|
| + 'sources': [ |
| + 'vm/libdart_dependency_helper.cc', |
| + ], |
| + }, |
| + { |
| 'target_name': 'runtime_packages', |
| 'type': 'none', |
| 'dependencies': [ |