| 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 'builtin_in_cc_file': '../bin/builtin_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_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_patch_gen.cc', | 9 'corelib_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_patch_gen.cc', |
| 10 'corelib_impl_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_impl_gen.cc', | |
| 11 'corelib_impl_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_impl_patch
_gen.cc', | |
| 12 'collection_cc_file': '<(SHARED_INTERMEDIATE_DIR)/collection_gen.cc', | 10 'collection_cc_file': '<(SHARED_INTERMEDIATE_DIR)/collection_gen.cc', |
| 13 'math_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_gen.cc', | 11 'math_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_gen.cc', |
| 14 'math_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_patch_gen.cc', | 12 'math_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_patch_gen.cc', |
| 15 'mirrors_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_gen.cc', | 13 'mirrors_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_gen.cc', |
| 16 'mirrors_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_patch_gen.cc', | 14 'mirrors_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_patch_gen.cc', |
| 17 'isolate_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_gen.cc', | 15 'isolate_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_gen.cc', |
| 18 'isolate_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_patch_gen.cc', | 16 'isolate_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_patch_gen.cc', |
| 19 'scalarlist_cc_file': '<(SHARED_INTERMEDIATE_DIR)/scalarlist_gen.cc', | 17 'scalarlist_cc_file': '<(SHARED_INTERMEDIATE_DIR)/scalarlist_gen.cc', |
| 20 'scalarlist_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/scalarlist_patch_gen
.cc', | 18 'scalarlist_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/scalarlist_patch_gen
.cc', |
| 21 'snapshot_test_dat_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_test.dat', | 19 'snapshot_test_dat_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_test.dat', |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 ['exclude', 'gdbjit.cc'], | 58 ['exclude', 'gdbjit.cc'], |
| 61 ], | 59 ], |
| 62 }]], | 60 }]], |
| 63 }, | 61 }, |
| 64 { | 62 { |
| 65 'target_name': 'libdart_lib_withcore', | 63 'target_name': 'libdart_lib_withcore', |
| 66 'type': 'static_library', | 64 'type': 'static_library', |
| 67 'dependencies': [ | 65 'dependencies': [ |
| 68 'generate_corelib_cc_file', | 66 'generate_corelib_cc_file', |
| 69 'generate_corelib_patch_cc_file', | 67 'generate_corelib_patch_cc_file', |
| 70 'generate_corelib_impl_cc_file', | |
| 71 'generate_corelib_impl_patch_cc_file', | |
| 72 'generate_collection_cc_file', | 68 'generate_collection_cc_file', |
| 73 'generate_math_cc_file', | 69 'generate_math_cc_file', |
| 74 'generate_math_patch_cc_file', | 70 'generate_math_patch_cc_file', |
| 75 'generate_isolate_cc_file', | 71 'generate_isolate_cc_file', |
| 76 'generate_isolate_patch_cc_file', | 72 'generate_isolate_patch_cc_file', |
| 77 'generate_mirrors_cc_file', | 73 'generate_mirrors_cc_file', |
| 78 'generate_mirrors_patch_cc_file', | 74 'generate_mirrors_patch_cc_file', |
| 79 'generate_scalarlist_cc_file', | 75 'generate_scalarlist_cc_file', |
| 80 'generate_scalarlist_patch_cc_file', | 76 'generate_scalarlist_patch_cc_file', |
| 81 ], | 77 ], |
| 82 'includes': [ | 78 'includes': [ |
| 83 '../lib/lib_sources.gypi', | 79 '../lib/lib_sources.gypi', |
| 84 '../lib/lib_impl_sources.gypi', | |
| 85 '../lib/isolate_sources.gypi', | 80 '../lib/isolate_sources.gypi', |
| 86 '../lib/mirrors_sources.gypi', | 81 '../lib/mirrors_sources.gypi', |
| 87 '../lib/scalarlist_sources.gypi', | 82 '../lib/scalarlist_sources.gypi', |
| 88 ], | 83 ], |
| 89 'sources': [ | 84 'sources': [ |
| 90 'bootstrap.cc', | 85 'bootstrap.cc', |
| 91 # Include generated source files. | 86 # Include generated source files. |
| 92 '<(corelib_cc_file)', | 87 '<(corelib_cc_file)', |
| 93 '<(corelib_patch_cc_file)', | 88 '<(corelib_patch_cc_file)', |
| 94 '<(corelib_impl_cc_file)', | |
| 95 '<(corelib_impl_patch_cc_file)', | |
| 96 '<(collection_cc_file)', | 89 '<(collection_cc_file)', |
| 97 '<(math_cc_file)', | 90 '<(math_cc_file)', |
| 98 '<(math_patch_cc_file)', | 91 '<(math_patch_cc_file)', |
| 99 '<(isolate_cc_file)', | 92 '<(isolate_cc_file)', |
| 100 '<(isolate_patch_cc_file)', | 93 '<(isolate_patch_cc_file)', |
| 101 '<(mirrors_cc_file)', | 94 '<(mirrors_cc_file)', |
| 102 '<(mirrors_patch_cc_file)', | 95 '<(mirrors_patch_cc_file)', |
| 103 '<(scalarlist_cc_file)', | 96 '<(scalarlist_cc_file)', |
| 104 '<(scalarlist_patch_cc_file)', | 97 '<(scalarlist_patch_cc_file)', |
| 105 ], | 98 ], |
| 106 'include_dirs': [ | 99 'include_dirs': [ |
| 107 '..', | 100 '..', |
| 108 ], | 101 ], |
| 109 }, | 102 }, |
| 110 { | 103 { |
| 111 'target_name': 'libdart_lib', | 104 'target_name': 'libdart_lib', |
| 112 'type': 'static_library', | 105 'type': 'static_library', |
| 113 'includes': [ | 106 'includes': [ |
| 114 '../lib/lib_sources.gypi', | 107 '../lib/lib_sources.gypi', |
| 115 '../lib/lib_impl_sources.gypi', | |
| 116 '../lib/isolate_sources.gypi', | 108 '../lib/isolate_sources.gypi', |
| 117 '../lib/mirrors_sources.gypi', | 109 '../lib/mirrors_sources.gypi', |
| 118 '../lib/scalarlist_sources.gypi', | 110 '../lib/scalarlist_sources.gypi', |
| 119 ], | 111 ], |
| 120 'sources': [ | 112 'sources': [ |
| 121 'bootstrap_nocorelib.cc', | 113 'bootstrap_nocorelib.cc', |
| 122 ], | 114 ], |
| 123 'include_dirs': [ | 115 'include_dirs': [ |
| 124 '..', | 116 '..', |
| 125 ], | 117 ], |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 '--input_cc', '<(builtin_in_cc_file)', | 186 '--input_cc', '<(builtin_in_cc_file)', |
| 195 '--include', 'vm/bootstrap.h', | 187 '--include', 'vm/bootstrap.h', |
| 196 '--var_name', 'dart::Bootstrap::corelib_patch_', | 188 '--var_name', 'dart::Bootstrap::corelib_patch_', |
| 197 '<@(_sources)', | 189 '<@(_sources)', |
| 198 ], | 190 ], |
| 199 'message': 'Generating ''<(corelib_patch_cc_file)'' file.' | 191 'message': 'Generating ''<(corelib_patch_cc_file)'' file.' |
| 200 }, | 192 }, |
| 201 ] | 193 ] |
| 202 }, | 194 }, |
| 203 { | 195 { |
| 204 'target_name': 'generate_corelib_impl_cc_file', | |
| 205 'type': 'none', | |
| 206 'includes': [ | |
| 207 # Load the shared core library sources. | |
| 208 '../../sdk/lib/coreimpl/corelib_impl_sources.gypi', | |
| 209 ], | |
| 210 'sources/': [ | |
| 211 # Exclude all .[cc|h] files. | |
| 212 # This is only here for reference. Excludes happen after | |
| 213 # variable expansion, so the script has to do its own | |
| 214 # exclude processing of the sources being passed. | |
| 215 ['exclude', '\\.cc|h$'], | |
| 216 ], | |
| 217 'actions': [ | |
| 218 { | |
| 219 'action_name': 'generate_corelib_impl_cc', | |
| 220 'inputs': [ | |
| 221 '../tools/create_string_literal.py', | |
| 222 '<(builtin_in_cc_file)', | |
| 223 '<@(_sources)', | |
| 224 ], | |
| 225 'outputs': [ | |
| 226 '<(corelib_impl_cc_file)', | |
| 227 ], | |
| 228 'action': [ | |
| 229 'python', | |
| 230 'tools/create_string_literal.py', | |
| 231 '--output', '<(corelib_impl_cc_file)', | |
| 232 '--input_cc', '<(builtin_in_cc_file)', | |
| 233 '--include', 'vm/bootstrap.h', | |
| 234 '--var_name', 'dart::Bootstrap::corelib_impl_source_', | |
| 235 '<@(_sources)', | |
| 236 ], | |
| 237 'message': 'Generating ''<(corelib_impl_cc_file)'' file.' | |
| 238 }, | |
| 239 ] | |
| 240 }, | |
| 241 { | |
| 242 'target_name': 'generate_corelib_impl_patch_cc_file', | |
| 243 'type': 'none', | |
| 244 'includes': [ | |
| 245 # Load the runtime implementation sources. | |
| 246 '../lib/lib_impl_sources.gypi', | |
| 247 ], | |
| 248 'sources/': [ | |
| 249 # Exclude all .[cc|h] files. | |
| 250 # This is only here for reference. Excludes happen after | |
| 251 # variable expansion, so the script has to do its own | |
| 252 # exclude processing of the sources being passed. | |
| 253 ['exclude', '\\.cc|h$'], | |
| 254 ], | |
| 255 'actions': [ | |
| 256 { | |
| 257 'action_name': 'generate_corelib_impl_patch_cc', | |
| 258 'inputs': [ | |
| 259 '../tools/create_string_literal.py', | |
| 260 '<(builtin_in_cc_file)', | |
| 261 '<@(_sources)', | |
| 262 ], | |
| 263 'outputs': [ | |
| 264 '<(corelib_impl_patch_cc_file)', | |
| 265 ], | |
| 266 'action': [ | |
| 267 'python', | |
| 268 'tools/create_string_literal.py', | |
| 269 '--output', '<(corelib_impl_patch_cc_file)', | |
| 270 '--input_cc', '<(builtin_in_cc_file)', | |
| 271 '--include', 'vm/bootstrap.h', | |
| 272 '--var_name', 'dart::Bootstrap::corelib_impl_patch_', | |
| 273 '<@(_sources)', | |
| 274 ], | |
| 275 'message': 'Generating ''<(corelib_impl_patch_cc_file)'' file.' | |
| 276 }, | |
| 277 ] | |
| 278 }, | |
| 279 { | |
| 280 'target_name': 'generate_collection_cc_file', | 196 'target_name': 'generate_collection_cc_file', |
| 281 'type': 'none', | 197 'type': 'none', |
| 282 'includes': [ | 198 'includes': [ |
| 283 # Load the shared collection library sources. | 199 # Load the shared collection library sources. |
| 284 '../../sdk/lib/collection/collection_sources.gypi', | 200 '../../sdk/lib/collection/collection_sources.gypi', |
| 285 ], | 201 ], |
| 286 'sources/': [ | 202 'sources/': [ |
| 287 # Exclude all .[cc|h] files. | 203 # Exclude all .[cc|h] files. |
| 288 # This is only here for reference. Excludes happen after | 204 # This is only here for reference. Excludes happen after |
| 289 # variable expansion, so the script has to do its own | 205 # variable expansion, so the script has to do its own |
| (...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 640 '--include', 'INTENTIONALLY_LEFT_BLANK', | 556 '--include', 'INTENTIONALLY_LEFT_BLANK', |
| 641 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', | 557 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', |
| 642 '<(snapshot_test_dart_file)', | 558 '<(snapshot_test_dart_file)', |
| 643 ], | 559 ], |
| 644 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' | 560 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' |
| 645 }, | 561 }, |
| 646 ] | 562 ] |
| 647 }, | 563 }, |
| 648 ] | 564 ] |
| 649 } | 565 } |
| OLD | NEW |