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', |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 # The only effect of DART_SHARED_LIB is to export the Dart API entries. | 48 # The only effect of DART_SHARED_LIB is to export the Dart API entries. |
49 'DART_SHARED_LIB', | 49 'DART_SHARED_LIB', |
50 ], | 50 ], |
51 'direct_dependent_settings': { | 51 'direct_dependent_settings': { |
52 'include_dirs': [ | 52 'include_dirs': [ |
53 'include', | 53 'include', |
54 ], | 54 ], |
55 }, | 55 }, |
56 }, | 56 }, |
57 { | 57 { |
| 58 'target_name': 'libdart_precompiled', |
| 59 'type': 'static_library', |
| 60 'dependencies': [ |
| 61 'libdart_lib', |
| 62 'libdart_vm_precompiled', |
| 63 'libdouble_conversion', |
| 64 'generate_version_cc_file#host', |
| 65 ], |
| 66 'include_dirs': [ |
| 67 '.', |
| 68 ], |
| 69 'sources': [ |
| 70 'include/dart_api.h', |
| 71 'include/dart_mirrors_api.h', |
| 72 'include/dart_native_api.h', |
| 73 'include/dart_tools_api.h', |
| 74 'vm/dart_api_impl.cc', |
| 75 'vm/debugger_api_impl.cc', |
| 76 'vm/mirrors_api_impl.cc', |
| 77 'vm/native_api_impl.cc', |
| 78 'vm/version.h', |
| 79 '<(version_cc_file)', |
| 80 ], |
| 81 'defines': [ |
| 82 # The only effect of DART_SHARED_LIB is to export the Dart API entries. |
| 83 'DART_SHARED_LIB', |
| 84 ], |
| 85 'direct_dependent_settings': { |
| 86 'include_dirs': [ |
| 87 'include', |
| 88 ], |
| 89 }, |
| 90 }, |
| 91 { |
58 'target_name': 'generate_version_cc_file', | 92 'target_name': 'generate_version_cc_file', |
59 'type': 'none', | 93 'type': 'none', |
60 'toolsets':['host'], | 94 'toolsets':['host'], |
61 'dependencies': [ | 95 'dependencies': [ |
62 'libdart_dependency_helper.target#target', | 96 'libdart_dependency_helper.target#target', |
63 'libdart_dependency_helper.host#host', | 97 'libdart_dependency_helper.host#host', |
64 ], | 98 ], |
65 'actions': [ | 99 'actions': [ |
66 { | 100 { |
67 'action_name': 'generate_version_cc', | 101 'action_name': 'generate_version_cc', |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 }], | 189 }], |
156 ['OS=="linux"', { | 190 ['OS=="linux"', { |
157 'cflags': [ | 191 'cflags': [ |
158 '-fPIC', | 192 '-fPIC', |
159 ], | 193 ], |
160 }], | 194 }], |
161 ], | 195 ], |
162 }, | 196 }, |
163 ], | 197 ], |
164 } | 198 } |
OLD | NEW |