OLD | NEW |
1 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2011, 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 'includes': [ | 6 'includes': [ |
7 'tools/gyp/runtime-configurations.gypi', | 7 'tools/gyp/runtime-configurations.gypi', |
8 'vm/vm.gypi', | 8 'vm/vm.gypi', |
9 'observatory/observatory.gypi', | 9 'observatory/observatory.gypi', |
10 'bin/bin.gypi', | 10 'bin/bin.gypi', |
11 'third_party/double-conversion/src/double-conversion.gypi', | 11 'third_party/double-conversion/src/double-conversion.gypi', |
12 'third_party/jscre/jscre.gypi', | |
13 ], | 12 ], |
14 'variables': { | 13 'variables': { |
15 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', | 14 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', |
16 'version_in_cc_file': 'vm/version_in.cc', | 15 'version_in_cc_file': 'vm/version_in.cc', |
17 'version_cc_file': '<(gen_source_dir)/version.cc', | 16 'version_cc_file': '<(gen_source_dir)/version.cc', |
18 | 17 |
19 'libdart_deps': ['libdart_lib_withcore', 'libdart_lib', 'libdart_vm', | 18 'libdart_deps': ['libdart_lib_withcore', 'libdart_lib', 'libdart_vm', |
20 'libjscre', 'libdouble_conversion',], | 19 'libdouble_conversion',], |
21 }, | 20 }, |
22 'targets': [ | 21 'targets': [ |
23 { | 22 { |
24 'target_name': 'libdart', | 23 'target_name': 'libdart', |
25 'type': 'static_library', | 24 'type': 'static_library', |
26 'dependencies': [ | 25 'dependencies': [ |
27 'libdart_lib', | 26 'libdart_lib', |
28 'libdart_vm', | 27 'libdart_vm', |
29 'libjscre', | |
30 'libdouble_conversion', | 28 'libdouble_conversion', |
31 'generate_version_cc_file#host', | 29 'generate_version_cc_file#host', |
32 ], | 30 ], |
33 'include_dirs': [ | 31 'include_dirs': [ |
34 '.', | 32 '.', |
35 ], | 33 ], |
36 'sources': [ | 34 'sources': [ |
37 'include/dart_api.h', | 35 'include/dart_api.h', |
38 'include/dart_debugger_api.h', | 36 'include/dart_debugger_api.h', |
39 'include/dart_mirrors_api.h', | 37 'include/dart_mirrors_api.h', |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 }], | 154 }], |
157 ['OS=="linux"', { | 155 ['OS=="linux"', { |
158 'cflags': [ | 156 'cflags': [ |
159 '-fPIC', | 157 '-fPIC', |
160 ], | 158 ], |
161 }], | 159 }], |
162 ], | 160 ], |
163 }, | 161 }, |
164 ], | 162 ], |
165 } | 163 } |
OLD | NEW |