| OLD | NEW |
| 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2012, 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 'variables': { | 6 'variables': { |
| 7 'corelib_in_cc_file': 'corelib_in.cc', | 7 'builtin_in_cc_file': '../bin/builtin_in.cc', |
| 8 'corelib_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_gen.cc', | 8 'corelib_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_gen.cc', |
| 9 'corelib_impl_in_cc_file': 'corelib_impl_in.cc', | |
| 10 'corelib_impl_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_impl_gen.cc', | 9 'corelib_impl_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_impl_gen.cc', |
| 11 'snapshot_test_dat_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_test.dat', | 10 'snapshot_test_dat_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_test.dat', |
| 12 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', | 11 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', |
| 13 'snapshot_test_dart_file': 'snapshot_test.dart', | 12 'snapshot_test_dart_file': 'snapshot_test.dart', |
| 14 'cygwin_dir': '../../third_party/cygwin', | 13 'cygwin_dir': '../../third_party/cygwin', |
| 15 }, | 14 }, |
| 16 'targets': [ | 15 'targets': [ |
| 17 { | 16 { |
| 18 'target_name': 'libdart_vm', | 17 'target_name': 'libdart_vm', |
| 19 'type': 'static_library', | 18 'type': 'static_library', |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 # This is only here for reference. Excludes happen after | 110 # This is only here for reference. Excludes happen after |
| 112 # variable expansion, so the script has to do its own | 111 # variable expansion, so the script has to do its own |
| 113 # exclude processing of the sources being passed. | 112 # exclude processing of the sources being passed. |
| 114 ['exclude', '\\.cc|h$'], | 113 ['exclude', '\\.cc|h$'], |
| 115 ], | 114 ], |
| 116 'actions': [ | 115 'actions': [ |
| 117 { | 116 { |
| 118 'action_name': 'generate_corelib_cc', | 117 'action_name': 'generate_corelib_cc', |
| 119 'inputs': [ | 118 'inputs': [ |
| 120 '../tools/create_string_literal.py', | 119 '../tools/create_string_literal.py', |
| 121 '<(corelib_in_cc_file)', | 120 '<(builtin_in_cc_file)', |
| 122 '<@(_sources)', | 121 '<@(_sources)', |
| 123 ], | 122 ], |
| 124 'outputs': [ | 123 'outputs': [ |
| 125 '<(corelib_cc_file)', | 124 '<(corelib_cc_file)', |
| 126 ], | 125 ], |
| 127 'action': [ | 126 'action': [ |
| 128 'python', | 127 'python', |
| 129 'tools/create_string_literal.py', | 128 'tools/create_string_literal.py', |
| 130 '--output', '<(corelib_cc_file)', | 129 '--output', '<(corelib_cc_file)', |
| 131 '--input_cc', '<(corelib_in_cc_file)', | 130 '--input_cc', '<(builtin_in_cc_file)', |
| 131 '--include', 'vm/bootstrap.h', |
| 132 '--var_name', 'dart::Bootstrap::corelib_source_', |
| 132 '<@(_sources)', | 133 '<@(_sources)', |
| 133 ], | 134 ], |
| 134 'message': 'Generating ''<(corelib_cc_file)'' file.' | 135 'message': 'Generating ''<(corelib_cc_file)'' file.' |
| 135 }, | 136 }, |
| 136 ] | 137 ] |
| 137 }, | 138 }, |
| 138 { | 139 { |
| 139 'target_name': 'generate_corelib_impl_cc_file', | 140 'target_name': 'generate_corelib_impl_cc_file', |
| 140 'type': 'none', | 141 'type': 'none', |
| 141 'conditions': [ | 142 'conditions': [ |
| (...skipping 12 matching lines...) Expand all Loading... |
| 154 # This is only here for reference. Excludes happen after | 155 # This is only here for reference. Excludes happen after |
| 155 # variable expansion, so the script has to do its own | 156 # variable expansion, so the script has to do its own |
| 156 # exclude processing of the sources being passed. | 157 # exclude processing of the sources being passed. |
| 157 ['exclude', '\\.cc|h$'], | 158 ['exclude', '\\.cc|h$'], |
| 158 ], | 159 ], |
| 159 'actions': [ | 160 'actions': [ |
| 160 { | 161 { |
| 161 'action_name': 'generate_corelib_impl_cc', | 162 'action_name': 'generate_corelib_impl_cc', |
| 162 'inputs': [ | 163 'inputs': [ |
| 163 '../tools/create_string_literal.py', | 164 '../tools/create_string_literal.py', |
| 164 '<(corelib_impl_in_cc_file)', | 165 '<(builtin_in_cc_file)', |
| 165 '<@(_sources)', | 166 '<@(_sources)', |
| 166 ], | 167 ], |
| 167 'outputs': [ | 168 'outputs': [ |
| 168 '<(corelib_impl_cc_file)', | 169 '<(corelib_impl_cc_file)', |
| 169 ], | 170 ], |
| 170 'action': [ | 171 'action': [ |
| 171 'python', | 172 'python', |
| 172 'tools/create_string_literal.py', | 173 'tools/create_string_literal.py', |
| 173 '--output', '<(corelib_impl_cc_file)', | 174 '--output', '<(corelib_impl_cc_file)', |
| 174 '--input_cc', '<(corelib_impl_in_cc_file)', | 175 '--input_cc', '<(builtin_in_cc_file)', |
| 176 '--include', 'vm/bootstrap.h', |
| 177 '--var_name', 'dart::Bootstrap::corelib_impl_source_', |
| 175 '<@(_sources)', | 178 '<@(_sources)', |
| 176 ], | 179 ], |
| 177 'message': 'Generating ''<(corelib_impl_cc_file)'' file.' | 180 'message': 'Generating ''<(corelib_impl_cc_file)'' file.' |
| 178 }, | 181 }, |
| 179 ] | 182 ] |
| 180 }, | 183 }, |
| 181 { | 184 { |
| 182 'target_name': 'generate_snapshot_test_dat_file', | 185 'target_name': 'generate_snapshot_test_dat_file', |
| 183 'type': 'none', | 186 'type': 'none', |
| 184 'conditions': [ | 187 'conditions': [ |
| (...skipping 10 matching lines...) Expand all Loading... |
| 195 '<(snapshot_test_dart_file)', | 198 '<(snapshot_test_dart_file)', |
| 196 ], | 199 ], |
| 197 'outputs': [ | 200 'outputs': [ |
| 198 '<(snapshot_test_dat_file)', | 201 '<(snapshot_test_dat_file)', |
| 199 ], | 202 ], |
| 200 'action': [ | 203 'action': [ |
| 201 'python', | 204 'python', |
| 202 'tools/create_string_literal.py', | 205 'tools/create_string_literal.py', |
| 203 '--output', '<(snapshot_test_dat_file)', | 206 '--output', '<(snapshot_test_dat_file)', |
| 204 '--input_cc', '<(snapshot_test_in_dat_file)', | 207 '--input_cc', '<(snapshot_test_in_dat_file)', |
| 208 '--include', 'INTENTIONALLY_LEFT_BLANK', |
| 209 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', |
| 205 '<(snapshot_test_dart_file)', | 210 '<(snapshot_test_dart_file)', |
| 206 ], | 211 ], |
| 207 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' | 212 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' |
| 208 }, | 213 }, |
| 209 ] | 214 ] |
| 210 }, | 215 }, |
| 211 ] | 216 ] |
| 212 } | 217 } |
| OLD | NEW |