| 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 'crypto_cc_file': '<(SHARED_INTERMEDIATE_DIR)/crypto_gen.cc', |
| 7 'io_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_gen.cc', | 8 'io_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_gen.cc', |
| 8 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc', | 9 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc', |
| 9 'uri_cc_file': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.cc', | 10 'uri_cc_file': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.cc', |
| 10 'utf_cc_file': '<(SHARED_INTERMEDIATE_DIR)/utf_gen.cc', | 11 'utf_cc_file': '<(SHARED_INTERMEDIATE_DIR)/utf_gen.cc', |
| 11 'builtin_in_cc_file': 'builtin_in.cc', | 12 'builtin_in_cc_file': 'builtin_in.cc', |
| 12 'builtin_cc_file': '<(SHARED_INTERMEDIATE_DIR)/builtin_gen.cc', | 13 'builtin_cc_file': '<(SHARED_INTERMEDIATE_DIR)/builtin_gen.cc', |
| 13 'snapshot_in_cc_file': 'snapshot_in.cc', | 14 'snapshot_in_cc_file': 'snapshot_in.cc', |
| 14 'snapshot_bin_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.bin', | 15 'snapshot_bin_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.bin', |
| 15 'snapshot_cc_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.cc', | 16 'snapshot_cc_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.cc', |
| 16 }, | 17 }, |
| (...skipping 22 matching lines...) Expand all Loading... |
| 39 '--input_cc', '<(builtin_in_cc_file)', | 40 '--input_cc', '<(builtin_in_cc_file)', |
| 40 '--include', 'bin/builtin.h', | 41 '--include', 'bin/builtin.h', |
| 41 '--var_name', 'Builtin::builtin_source_', | 42 '--var_name', 'Builtin::builtin_source_', |
| 42 '<@(_sources)', | 43 '<@(_sources)', |
| 43 ], | 44 ], |
| 44 'message': 'Generating ''<(builtin_cc_file)'' file.' | 45 'message': 'Generating ''<(builtin_cc_file)'' file.' |
| 45 }, | 46 }, |
| 46 ] | 47 ] |
| 47 }, | 48 }, |
| 48 { | 49 { |
| 50 'target_name': 'generate_crypto_cc_file', |
| 51 'type': 'none', |
| 52 'includes': [ |
| 53 'crypto_sources.gypi', |
| 54 ], |
| 55 'actions': [ |
| 56 { |
| 57 'action_name': 'generate_crypto_cc', |
| 58 'inputs': [ |
| 59 '../tools/create_string_literal.py', |
| 60 '<(builtin_in_cc_file)', |
| 61 '<@(_sources)', |
| 62 ], |
| 63 'outputs': [ |
| 64 '<(crypto_cc_file)', |
| 65 ], |
| 66 'action': [ |
| 67 'python', |
| 68 'tools/create_string_literal.py', |
| 69 '--output', '<(crypto_cc_file)', |
| 70 '--input_cc', '<(builtin_in_cc_file)', |
| 71 '--include', 'bin/builtin.h', |
| 72 '--var_name', 'Builtin::crypto_source_', |
| 73 '<@(_sources)', |
| 74 ], |
| 75 'message': 'Generating ''<(crypto_cc_file)'' file.' |
| 76 }, |
| 77 ] |
| 78 }, |
| 79 { |
| 49 'target_name': 'generate_io_cc_file', | 80 'target_name': 'generate_io_cc_file', |
| 50 'type': 'none', | 81 'type': 'none', |
| 51 'includes': [ | 82 'includes': [ |
| 52 'io_sources.gypi', | 83 'io_sources.gypi', |
| 53 ], | 84 ], |
| 54 'actions': [ | 85 'actions': [ |
| 55 { | 86 { |
| 56 'action_name': 'generate_io_cc', | 87 'action_name': 'generate_io_cc', |
| 57 'inputs': [ | 88 'inputs': [ |
| 58 '../tools/create_string_literal.py', | 89 '../tools/create_string_literal.py', |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 ], | 194 ], |
| 164 'message': 'Generating ''<(utf_cc_file)'' file.' | 195 'message': 'Generating ''<(utf_cc_file)'' file.' |
| 165 }, | 196 }, |
| 166 ] | 197 ] |
| 167 }, | 198 }, |
| 168 { | 199 { |
| 169 'target_name': 'libdart_builtin', | 200 'target_name': 'libdart_builtin', |
| 170 'type': 'static_library', | 201 'type': 'static_library', |
| 171 'dependencies': [ | 202 'dependencies': [ |
| 172 'generate_builtin_cc_file', | 203 'generate_builtin_cc_file', |
| 204 'generate_crypto_cc_file', |
| 173 'generate_io_cc_file', | 205 'generate_io_cc_file', |
| 174 'generate_json_cc_file', | 206 'generate_json_cc_file', |
| 175 'generate_uri_cc_file', | 207 'generate_uri_cc_file', |
| 176 'generate_utf_cc_file', | 208 'generate_utf_cc_file', |
| 177 ], | 209 ], |
| 178 'include_dirs': [ | 210 'include_dirs': [ |
| 179 '..', | 211 '..', |
| 180 ], | 212 ], |
| 181 'sources': [ | 213 'sources': [ |
| 182 'builtin_natives.cc', | 214 'builtin_natives.cc', |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 'libdart_builtin', | 276 'libdart_builtin', |
| 245 ], | 277 ], |
| 246 'include_dirs': [ | 278 'include_dirs': [ |
| 247 '..', | 279 '..', |
| 248 ], | 280 ], |
| 249 'sources': [ | 281 'sources': [ |
| 250 'gen_snapshot.cc', | 282 'gen_snapshot.cc', |
| 251 'builtin.cc', | 283 'builtin.cc', |
| 252 # Include generated source files. | 284 # Include generated source files. |
| 253 '<(builtin_cc_file)', | 285 '<(builtin_cc_file)', |
| 286 '<(crypto_cc_file)', |
| 254 '<(io_cc_file)', | 287 '<(io_cc_file)', |
| 255 '<(json_cc_file)', | 288 '<(json_cc_file)', |
| 256 '<(uri_cc_file)', | 289 '<(uri_cc_file)', |
| 257 '<(utf_cc_file)', | 290 '<(utf_cc_file)', |
| 258 ], | 291 ], |
| 259 'conditions': [ | 292 'conditions': [ |
| 260 ['OS=="win"', { | 293 ['OS=="win"', { |
| 261 'link_settings': { | 294 'link_settings': { |
| 262 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], | 295 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], |
| 263 }, | 296 }, |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 'libdart_builtin', | 367 'libdart_builtin', |
| 335 ], | 368 ], |
| 336 'include_dirs': [ | 369 'include_dirs': [ |
| 337 '..', | 370 '..', |
| 338 ], | 371 ], |
| 339 'sources': [ | 372 'sources': [ |
| 340 'main.cc', | 373 'main.cc', |
| 341 'builtin.cc', | 374 'builtin.cc', |
| 342 # Include generated source files. | 375 # Include generated source files. |
| 343 '<(builtin_cc_file)', | 376 '<(builtin_cc_file)', |
| 377 '<(crypto_cc_file)', |
| 344 '<(io_cc_file)', | 378 '<(io_cc_file)', |
| 345 '<(json_cc_file)', | 379 '<(json_cc_file)', |
| 346 '<(uri_cc_file)', | 380 '<(uri_cc_file)', |
| 347 '<(utf_cc_file)', | 381 '<(utf_cc_file)', |
| 348 'snapshot_empty.cc', | 382 'snapshot_empty.cc', |
| 349 ], | 383 ], |
| 350 'conditions': [ | 384 'conditions': [ |
| 351 ['OS=="win"', { | 385 ['OS=="win"', { |
| 352 'link_settings': { | 386 'link_settings': { |
| 353 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], | 387 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], |
| (...skipping 17 matching lines...) Expand all Loading... |
| 371 ], | 405 ], |
| 372 'include_dirs': [ | 406 'include_dirs': [ |
| 373 '..', | 407 '..', |
| 374 '<(SHARED_INTERMEDIATE_DIR)', | 408 '<(SHARED_INTERMEDIATE_DIR)', |
| 375 ], | 409 ], |
| 376 'sources': [ | 410 'sources': [ |
| 377 'run_vm_tests.cc', | 411 'run_vm_tests.cc', |
| 378 'builtin.cc', | 412 'builtin.cc', |
| 379 # Include generated source files. | 413 # Include generated source files. |
| 380 '<(builtin_cc_file)', | 414 '<(builtin_cc_file)', |
| 415 '<(crypto_cc_file)', |
| 381 '<(io_cc_file)', | 416 '<(io_cc_file)', |
| 382 '<(json_cc_file)', | 417 '<(json_cc_file)', |
| 383 '<(uri_cc_file)', | 418 '<(uri_cc_file)', |
| 384 '<(utf_cc_file)', | 419 '<(utf_cc_file)', |
| 385 ], | 420 ], |
| 386 'includes': [ | 421 'includes': [ |
| 387 'builtin_impl_sources.gypi', | 422 'builtin_impl_sources.gypi', |
| 388 '../platform/platform_sources.gypi', | 423 '../platform/platform_sources.gypi', |
| 389 '../vm/vm_sources.gypi', | 424 '../vm/vm_sources.gypi', |
| 390 ], | 425 ], |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 435 ['OS=="mac"', { | 470 ['OS=="mac"', { |
| 436 'xcode_settings': { | 471 'xcode_settings': { |
| 437 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ], | 472 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ], |
| 438 }, | 473 }, |
| 439 }], | 474 }], |
| 440 ], | 475 ], |
| 441 }, | 476 }, |
| 442 ], | 477 ], |
| 443 } | 478 } |
| 444 | 479 |
| OLD | NEW |