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 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', | 7 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', |
8 'libgen_in_cc_file': '../lib/libgen_in.cc', | 8 'libgen_in_cc_file': '../lib/libgen_in.cc', |
9 'builtin_in_cc_file': '../bin/builtin_in.cc', | 9 'builtin_in_cc_file': '../bin/builtin_in.cc', |
10 'async_cc_file': '<(gen_source_dir)/async_gen.cc', | 10 'async_cc_file': '<(gen_source_dir)/async_gen.cc', |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 'libraries': ['-ljitprofiling'], | 89 'libraries': ['-ljitprofiling'], |
90 }], | 90 }], |
91 ['OS=="win"', { | 91 ['OS=="win"', { |
92 'libraries': ['-ljitprofiling.lib'], | 92 'libraries': ['-ljitprofiling.lib'], |
93 }], | 93 }], |
94 ], | 94 ], |
95 }, | 95 }, |
96 }]], | 96 }]], |
97 }, | 97 }, |
98 { | 98 { |
| 99 'target_name': 'libdart_vm_precompiled', |
| 100 'type': 'static_library', |
| 101 'toolsets':['host', 'target'], |
| 102 'includes': [ |
| 103 'vm_sources.gypi', |
| 104 '../platform/platform_headers.gypi', |
| 105 '../platform/platform_sources.gypi', |
| 106 ], |
| 107 'sources/': [ |
| 108 # Exclude all _test.[cc|h] files. |
| 109 ['exclude', '_test\\.(cc|h)$'], |
| 110 ], |
| 111 'include_dirs': [ |
| 112 '..', |
| 113 ], |
| 114 'defines': [ |
| 115 'DART_PRECOMPILED', |
| 116 ], |
| 117 'conditions': [ |
| 118 ['OS=="linux"', { |
| 119 'link_settings': { |
| 120 'libraries': [ |
| 121 '-lpthread', |
| 122 '-lrt', |
| 123 '-ldl', |
| 124 ], |
| 125 }, |
| 126 }], |
| 127 ['OS=="android" and _toolset=="host"', { |
| 128 'link_settings': { |
| 129 'libraries': [ |
| 130 '-lpthread', |
| 131 '-lrt', |
| 132 '-ldl', |
| 133 ], |
| 134 }, |
| 135 }], |
| 136 ['OS=="win"', { |
| 137 'sources/' : [ |
| 138 ['exclude', 'gdbjit.cc'], |
| 139 ], |
| 140 }], |
| 141 ['dart_vtune_support==0', { |
| 142 'sources/' : [ |
| 143 ['exclude', 'vtune\\.(cc|h)$'], |
| 144 ], |
| 145 }], |
| 146 ['dart_vtune_support==1', { |
| 147 'include_dirs': ['<(dart_vtune_root)/include'], |
| 148 'defines': ['DART_VTUNE_SUPPORT'], |
| 149 'link_settings': { |
| 150 'conditions': [ |
| 151 ['OS=="linux"', { |
| 152 'libraries': ['-ljitprofiling'], |
| 153 }], |
| 154 ['OS=="win"', { |
| 155 'libraries': ['-ljitprofiling.lib'], |
| 156 }], |
| 157 ], |
| 158 }, |
| 159 }]], |
| 160 }, |
| 161 { |
99 'target_name': 'libdart_vm_nosnapshot', | 162 'target_name': 'libdart_vm_nosnapshot', |
100 'type': 'static_library', | 163 'type': 'static_library', |
101 'toolsets':['host', 'target'], | 164 'toolsets':['host', 'target'], |
102 'includes': [ | 165 'includes': [ |
103 'vm_sources.gypi', | 166 'vm_sources.gypi', |
104 '../platform/platform_headers.gypi', | 167 '../platform/platform_headers.gypi', |
105 '../platform/platform_sources.gypi', | 168 '../platform/platform_sources.gypi', |
106 ], | 169 ], |
107 'sources/': [ | 170 'sources/': [ |
108 # Exclude all _test.[cc|h] files. | 171 # Exclude all _test.[cc|h] files. |
(...skipping 1086 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1195 '--var_name', 'dart::Bootstrap::_vmservice_patch_paths_', | 1258 '--var_name', 'dart::Bootstrap::_vmservice_patch_paths_', |
1196 '--library_name', 'dart:_vmservice', | 1259 '--library_name', 'dart:_vmservice', |
1197 '<@(_sources)', | 1260 '<@(_sources)', |
1198 ], | 1261 ], |
1199 'message': 'Generating ''<(vmservice_patch_cc_file)'' file.' | 1262 'message': 'Generating ''<(vmservice_patch_cc_file)'' file.' |
1200 }, | 1263 }, |
1201 ] | 1264 ] |
1202 }, | 1265 }, |
1203 ] | 1266 ] |
1204 } | 1267 } |
OLD | NEW |