Chromium Code Reviews| 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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 238 ], | 238 ], |
| 239 }, | 239 }, |
| 240 { | 240 { |
| 241 # Completely statically linked binary for generating snapshots. | 241 # Completely statically linked binary for generating snapshots. |
| 242 'target_name': 'gen_snapshot', | 242 'target_name': 'gen_snapshot', |
| 243 'type': 'executable', | 243 'type': 'executable', |
| 244 'toolsets':['host'], | 244 'toolsets':['host'], |
| 245 'dependencies': [ | 245 'dependencies': [ |
| 246 'libdart_withcore', | 246 'libdart_withcore', |
| 247 'libdart_builtin', | 247 'libdart_builtin', |
| 248 'libdart_io', | |
|
Ivan Posva
2013/05/24 17:53:43
Why was this needed?
Cutch
2013/05/24 17:59:56
Socket calls in libdart_builtin
| |
| 248 ], | 249 ], |
| 249 'include_dirs': [ | 250 'include_dirs': [ |
| 250 '..', | 251 '..', |
| 251 ], | 252 ], |
| 252 'sources': [ | 253 'sources': [ |
| 253 'gen_snapshot.cc', | 254 'gen_snapshot.cc', |
| 254 # Very limited native resolver provided. | 255 # Very limited native resolver provided. |
| 255 'builtin_gen_snapshot.cc', | 256 'builtin_gen_snapshot.cc', |
| 256 'builtin.cc', | 257 'builtin.cc', |
| 257 'builtin.h', | 258 'builtin.h', |
| (...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 561 ['OS=="linux"', { | 562 ['OS=="linux"', { |
| 562 'cflags': [ | 563 'cflags': [ |
| 563 '-fPIC', | 564 '-fPIC', |
| 564 ], | 565 ], |
| 565 }], | 566 }], |
| 566 ], | 567 ], |
| 567 }, | 568 }, |
| 568 ], | 569 ], |
| 569 } | 570 } |
| 570 | 571 |
| OLD | NEW |