Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2011, the Dart 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 file. | 3 # BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'includes': [ | 6 'includes': [ |
| 7 'tools/gyp/runtime-configurations.gypi', | 7 'tools/gyp/runtime-configurations.gypi', |
| 8 'vm/vm.gypi', | 8 'vm/vm.gypi', |
| 9 'bin/bin.gypi', | 9 'bin/bin.gypi', |
| 10 'third_party/double-conversion/src/double-conversion.gypi', | 10 'third_party/double-conversion/src/double-conversion.gypi', |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 57 'include_dirs': [ | 57 'include_dirs': [ |
| 58 'include', | 58 'include', |
| 59 ], | 59 ], |
| 60 }, | 60 }, |
| 61 }, | 61 }, |
| 62 { | 62 { |
| 63 'target_name': 'generate_version_cc_file', | 63 'target_name': 'generate_version_cc_file', |
| 64 'type': 'none', | 64 'type': 'none', |
| 65 'toolsets':['target','host'], | 65 'toolsets':['target','host'], |
| 66 'dependencies': [ | 66 'dependencies': [ |
| 67 'libdart_dependency_helper', | 67 'libdart_dependency_helper.target#target', |
| 68 'libdart_dependency_helper.host#host', | |
| 68 ], | 69 ], |
| 69 'actions': [ | 70 'actions': [ |
| 70 { | 71 { |
| 71 'action_name': 'generate_version_cc', | 72 'action_name': 'generate_version_cc', |
| 72 'inputs': [ | 73 'inputs': [ |
| 73 '../tools/make_version.py', | 74 '../tools/make_version.py', |
| 74 '../tools/utils.py', | 75 '../tools/utils.py', |
| 75 '../tools/version.dart', | 76 '../tools/version.dart', |
| 76 '../tools/release/version.dart', | 77 '../tools/release/version.dart', |
| 77 '../tools/VERSION', | 78 '../tools/VERSION', |
| 78 '<(version_in_cc_file)', | 79 '<(version_in_cc_file)', |
| 79 # Depend on libdart_dependency_helper to track the libraries it | 80 # Depend on libdart_dependency_helper to track the libraries it |
| 80 # depends on. | 81 # depends on. |
| 81 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)libdart_dependency_helper<(EXECU TABLE_SUFFIX)', | 82 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)libdart_dependency_helper.target <(EXECUTABLE_SUFFIX)', |
| 83 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)libdart_dependency_helper.host<( EXECUTABLE_SUFFIX)', | |
| 82 ], | 84 ], |
| 83 'outputs': [ | 85 'outputs': [ |
| 84 '<(version_cc_file)', | 86 '<(version_cc_file)', |
| 85 ], | 87 ], |
| 86 'action': [ | 88 'action': [ |
| 87 'python', | 89 'python', |
| 88 '-u', # Make standard I/O unbuffered. | 90 '-u', # Make standard I/O unbuffered. |
| 89 '../tools/make_version.py', | 91 '../tools/make_version.py', |
| 90 '--output', '<(version_cc_file)', | 92 '--output', '<(version_cc_file)', |
| 91 '--input', '<(version_in_cc_file)', | 93 '--input', '<(version_in_cc_file)', |
| 92 ], | 94 ], |
| 93 }, | 95 }, |
| 94 ], | 96 ], |
| 95 }, | 97 }, |
| 96 { | 98 { |
| 97 'target_name': 'libdart_dependency_helper', | 99 'target_name': 'libdart_dependency_helper.target', |
| 98 'type': 'executable', | 100 'type': 'executable', |
| 99 'toolsets':['target','host'], | 101 'toolsets':['target'], |
| 100 # The dependencies here are the union of the dependencies of libdart and | 102 # The dependencies here are the union of the dependencies of libdart and |
| 101 # libdart_withcore. | 103 # libdart_withcore. |
| 102 'dependencies': [ | 104 'dependencies': [ |
| 103 'libdart_lib_withcore', | 105 'libdart_lib_withcore', |
| 104 'libdart_lib', | 106 'libdart_lib', |
| 105 'libdart_vm', | 107 'libdart_vm', |
| 106 'libjscre', | 108 'libjscre', |
| 107 'libdouble_conversion', | 109 'libdouble_conversion', |
| 108 ], | 110 ], |
| 109 'sources': [ | 111 'sources': [ |
| 110 'vm/libdart_dependency_helper.cc', | 112 'vm/libdart_dependency_helper.cc', |
| 111 ], | 113 ], |
| 112 }, | 114 }, |
| 113 { | 115 { |
| 116 'target_name': 'libdart_dependency_helper.host', | |
| 117 'type': 'executable', | |
| 118 'toolsets':['host'], | |
| 119 # The dependencies here are the union of the dependencies of libdart and | |
| 120 # libdart_withcore. | |
| 121 'dependencies': [ | |
| 122 'libdart_lib_withcore', | |
| 123 'libdart_lib', | |
| 124 'libdart_vm', | |
| 125 'libjscre', | |
| 126 'libdouble_conversion', | |
| 127 ], | |
|
kustermann
2013/04/29 09:29:57
You could make a variable containing these depende
zra
2013/04/29 18:38:35
Done.
| |
| 128 'sources': [ | |
| 129 'vm/libdart_dependency_helper.cc', | |
| 130 ], | |
| 131 }, | |
| 132 { | |
| 114 'target_name': 'runtime_packages', | 133 'target_name': 'runtime_packages', |
| 115 'type': 'none', | 134 'type': 'none', |
| 116 'dependencies': [ | 135 'dependencies': [ |
| 117 '../pkg/pkg.gyp:pkg_packages', | 136 '../pkg/pkg.gyp:pkg_packages', |
| 118 ], | 137 ], |
| 119 }, | 138 }, |
| 120 ], | 139 ], |
| 121 } | 140 } |
| OLD | NEW |