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 'io_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_gen.cc', | 7 'io_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_gen.cc', |
8 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc', | 8 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc', |
9 'uri_cc_file': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.cc', | 9 'uri_cc_file': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.cc', |
10 'utf8_cc_file': '<(SHARED_INTERMEDIATE_DIR)/utf8_gen.cc', | 10 'utf8_cc_file': '<(SHARED_INTERMEDIATE_DIR)/utf8_gen.cc', |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 ], | 301 ], |
302 'message': 'Generating ''<(snapshot_cc_file)'' file.' | 302 'message': 'Generating ''<(snapshot_cc_file)'' file.' |
303 }, | 303 }, |
304 ] | 304 ] |
305 }, | 305 }, |
306 { | 306 { |
307 # dart binary with a snapshot of corelibs built in. | 307 # dart binary with a snapshot of corelibs built in. |
308 'target_name': 'dart', | 308 'target_name': 'dart', |
309 'type': 'executable', | 309 'type': 'executable', |
310 'dependencies': [ | 310 'dependencies': [ |
311 'libdart', | 311 'libdart_export', |
312 'libdart_builtin', | 312 'libdart_builtin', |
313 'generate_snapshot_file', | 313 'generate_snapshot_file', |
314 ], | 314 ], |
315 'include_dirs': [ | 315 'include_dirs': [ |
316 '..', | 316 '..', |
317 ], | 317 ], |
318 'sources': [ | 318 'sources': [ |
319 'main.cc', | 319 'main.cc', |
320 'builtin_nolib.cc', | 320 'builtin_nolib.cc', |
321 '<(snapshot_cc_file)', | 321 '<(snapshot_cc_file)', |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
394 ], | 394 ], |
395 'conditions': [ | 395 'conditions': [ |
396 ['OS=="win"', { | 396 ['OS=="win"', { |
397 'link_settings': { | 397 'link_settings': { |
398 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-llibeay32MT.lib' ], | 398 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib', '-llibeay32MT.lib' ], |
399 }, | 399 }, |
400 }], | 400 }], |
401 ], | 401 ], |
402 }, | 402 }, |
403 ], | 403 ], |
| 404 'conditions': [ |
| 405 ['OS=="linux"', { |
| 406 'targets': [ |
| 407 { |
| 408 'target_name': 'test_extension', |
| 409 'type': 'shared_library', |
| 410 'dependencies': [ |
| 411 ], |
| 412 'include_dirs': [ |
| 413 '.', |
| 414 ], |
| 415 'sources': [ |
| 416 'test_extension_linux.cc', |
| 417 ], |
| 418 'defines': [ |
| 419 'DART_SHARED_LIB', |
| 420 ], |
| 421 }, |
| 422 ], |
| 423 }], |
| 424 ], |
404 } | 425 } |
| 426 |
OLD | NEW |