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 # We place most generated source files in LIB_DIR (rather than, say | 7 # We place most generated source files in LIB_DIR (rather than, say |
8 # SHARED_INTERMEDIATE_DIR) because it is toolset specific. This avoids | 8 # SHARED_INTERMEDIATE_DIR) because it is toolset specific. This avoids |
9 # two problems. First, if a generated source file has architecture specific | 9 # two problems. First, if a generated source file has architecture specific |
10 # code, we'll get two different files in two different directories. Second, | 10 # code, we'll get two different files in two different directories. Second, |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 '<(io_patch_cc_file)', | 278 '<(io_patch_cc_file)', |
279 ], | 279 ], |
280 'conditions': [ | 280 'conditions': [ |
281 ['OS=="win"', { | 281 ['OS=="win"', { |
282 'link_settings': { | 282 'link_settings': { |
283 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], | 283 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], |
284 }, | 284 }, |
285 }], | 285 }], |
286 ['OS=="android"', { | 286 ['OS=="android"', { |
287 'link_settings': { | 287 'link_settings': { |
288 'libraries': [ '-llog' ], | 288 'libraries': [ '-ldl', '-lrt' ], |
289 }, | 289 }, |
290 }] | 290 }] |
291 ], | 291 ], |
292 }, | 292 }, |
293 { | 293 { |
294 # Generate snapshot bin file. | 294 # Generate snapshot bin file. |
295 'target_name': 'generate_snapshot_bin', | 295 'target_name': 'generate_snapshot_bin', |
296 'type': 'none', | 296 'type': 'none', |
297 'toolsets':['host'], | 297 'toolsets':['host'], |
298 'dependencies': [ | 298 'dependencies': [ |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
566 ['OS=="linux"', { | 566 ['OS=="linux"', { |
567 'cflags': [ | 567 'cflags': [ |
568 '-fPIC', | 568 '-fPIC', |
569 ], | 569 ], |
570 }], | 570 }], |
571 ], | 571 ], |
572 }, | 572 }, |
573 ], | 573 ], |
574 } | 574 } |
575 | 575 |
OLD | NEW |