| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 '-lpthread', | 67 '-lpthread', |
| 68 '-lrt', | 68 '-lrt', |
| 69 '-ldl', | 69 '-ldl', |
| 70 ], | 70 ], |
| 71 }, | 71 }, |
| 72 }], | 72 }], |
| 73 ['OS=="win"', { | 73 ['OS=="win"', { |
| 74 'sources/' : [ | 74 'sources/' : [ |
| 75 ['exclude', 'gdbjit.cc'], | 75 ['exclude', 'gdbjit.cc'], |
| 76 ], | 76 ], |
| 77 }], | 77 }]], |
| 78 ['dart_vtune_support==0', { | |
| 79 'sources/' : [ | |
| 80 ['exclude', 'vtune\\.(cc|h)$'], | |
| 81 ], | |
| 82 }], | |
| 83 ['dart_vtune_support==1', { | |
| 84 'include_dirs': ['<(dart_vtune_root)/include'], | |
| 85 'defines': ['DART_VTUNE_SUPPORT'], | |
| 86 'link_settings': { | |
| 87 'conditions': [ | |
| 88 ['OS=="linux"', { | |
| 89 'libraries': ['-ljitprofiling'], | |
| 90 }], | |
| 91 ['OS=="win"', { | |
| 92 'libraries': ['-ljitprofiling.lib'], | |
| 93 }], | |
| 94 ], | |
| 95 }, | |
| 96 }]], | |
| 97 }, | 78 }, |
| 98 { | 79 { |
| 99 'target_name': 'libdart_vm_precompiled_runtime', | 80 'target_name': 'libdart_vm_precompiled_runtime', |
| 100 'type': 'static_library', | 81 'type': 'static_library', |
| 101 'toolsets':['host', 'target'], | 82 'toolsets':['host', 'target'], |
| 102 'includes': [ | 83 'includes': [ |
| 103 'vm_sources.gypi', | 84 'vm_sources.gypi', |
| 104 '../platform/platform_headers.gypi', | 85 '../platform/platform_headers.gypi', |
| 105 '../platform/platform_sources.gypi', | 86 '../platform/platform_sources.gypi', |
| 106 ], | 87 ], |
| (...skipping 23 matching lines...) Expand all Loading... |
| 130 '-lpthread', | 111 '-lpthread', |
| 131 '-lrt', | 112 '-lrt', |
| 132 '-ldl', | 113 '-ldl', |
| 133 ], | 114 ], |
| 134 }, | 115 }, |
| 135 }], | 116 }], |
| 136 ['OS=="win"', { | 117 ['OS=="win"', { |
| 137 'sources/' : [ | 118 'sources/' : [ |
| 138 ['exclude', 'gdbjit.cc'], | 119 ['exclude', 'gdbjit.cc'], |
| 139 ], | 120 ], |
| 140 }], | 121 }]], |
| 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 }, | 122 }, |
| 161 { | 123 { |
| 162 'target_name': 'libdart_vm_noopt', | 124 'target_name': 'libdart_vm_noopt', |
| 163 'type': 'static_library', | 125 'type': 'static_library', |
| 164 'toolsets':['host', 'target'], | 126 'toolsets':['host', 'target'], |
| 165 'includes': [ | 127 'includes': [ |
| 166 'vm_sources.gypi', | 128 'vm_sources.gypi', |
| 167 '../platform/platform_headers.gypi', | 129 '../platform/platform_headers.gypi', |
| 168 '../platform/platform_sources.gypi', | 130 '../platform/platform_sources.gypi', |
| 169 ], | 131 ], |
| (...skipping 23 matching lines...) Expand all Loading... |
| 193 '-lpthread', | 155 '-lpthread', |
| 194 '-lrt', | 156 '-lrt', |
| 195 '-ldl', | 157 '-ldl', |
| 196 ], | 158 ], |
| 197 }, | 159 }, |
| 198 }], | 160 }], |
| 199 ['OS=="win"', { | 161 ['OS=="win"', { |
| 200 'sources/' : [ | 162 'sources/' : [ |
| 201 ['exclude', 'gdbjit.cc'], | 163 ['exclude', 'gdbjit.cc'], |
| 202 ], | 164 ], |
| 203 }], | 165 }]], |
| 204 ['dart_vtune_support==0', { | |
| 205 'sources/' : [ | |
| 206 ['exclude', 'vtune\\.(cc|h)$'], | |
| 207 ], | |
| 208 }], | |
| 209 ['dart_vtune_support==1', { | |
| 210 'include_dirs': ['<(dart_vtune_root)/include'], | |
| 211 'defines': ['DART_VTUNE_SUPPORT'], | |
| 212 'link_settings': { | |
| 213 'conditions': [ | |
| 214 ['OS=="linux"', { | |
| 215 'libraries': ['-ljitprofiling'], | |
| 216 }], | |
| 217 ['OS=="win"', { | |
| 218 'libraries': ['-ljitprofiling.lib'], | |
| 219 }], | |
| 220 ], | |
| 221 }, | |
| 222 }]], | |
| 223 }, | 166 }, |
| 224 { | 167 { |
| 225 'target_name': 'libdart_vm_nosnapshot', | 168 'target_name': 'libdart_vm_nosnapshot', |
| 226 'type': 'static_library', | 169 'type': 'static_library', |
| 227 'toolsets':['host', 'target'], | 170 'toolsets':['host', 'target'], |
| 228 'includes': [ | 171 'includes': [ |
| 229 'vm_sources.gypi', | 172 'vm_sources.gypi', |
| 230 '../platform/platform_headers.gypi', | 173 '../platform/platform_headers.gypi', |
| 231 '../platform/platform_sources.gypi', | 174 '../platform/platform_sources.gypi', |
| 232 ], | 175 ], |
| (...skipping 24 matching lines...) Expand all Loading... |
| 257 '-lpthread', | 200 '-lpthread', |
| 258 '-lrt', | 201 '-lrt', |
| 259 '-ldl', | 202 '-ldl', |
| 260 ], | 203 ], |
| 261 }, | 204 }, |
| 262 }], | 205 }], |
| 263 ['OS=="win"', { | 206 ['OS=="win"', { |
| 264 'sources/' : [ | 207 'sources/' : [ |
| 265 ['exclude', 'gdbjit.cc'], | 208 ['exclude', 'gdbjit.cc'], |
| 266 ], | 209 ], |
| 267 }], | 210 }]], |
| 268 ['dart_vtune_support==0', { | |
| 269 'sources/' : [ | |
| 270 ['exclude', 'vtune\\.(cc|h)$'], | |
| 271 ], | |
| 272 }], | |
| 273 ['dart_vtune_support==1', { | |
| 274 'include_dirs': ['<(dart_vtune_root)/include'], | |
| 275 'defines': ['DART_VTUNE_SUPPORT'], | |
| 276 'link_settings': { | |
| 277 'conditions': [ | |
| 278 ['OS=="linux"', { | |
| 279 'libraries': ['-ljitprofiling'], | |
| 280 }], | |
| 281 ['OS=="win"', { | |
| 282 'libraries': ['-ljitprofiling.lib'], | |
| 283 }], | |
| 284 ], | |
| 285 }, | |
| 286 }]], | |
| 287 }, | 211 }, |
| 288 { | 212 { |
| 289 'target_name': 'libdart_lib_nosnapshot', | 213 'target_name': 'libdart_lib_nosnapshot', |
| 290 'type': 'static_library', | 214 'type': 'static_library', |
| 291 'toolsets':['host', 'target'], | 215 'toolsets':['host', 'target'], |
| 292 'dependencies': [ | 216 'dependencies': [ |
| 293 'generate_async_cc_file#host', | 217 'generate_async_cc_file#host', |
| 294 'generate_async_patch_cc_file#host', | 218 'generate_async_patch_cc_file#host', |
| 295 'generate_core_cc_file#host', | 219 'generate_core_cc_file#host', |
| 296 'generate_core_patch_cc_file#host', | 220 'generate_core_patch_cc_file#host', |
| (...skipping 1025 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1322 '--var_name', 'dart::Bootstrap::_vmservice_patch_paths_', | 1246 '--var_name', 'dart::Bootstrap::_vmservice_patch_paths_', |
| 1323 '--library_name', 'dart:_vmservice', | 1247 '--library_name', 'dart:_vmservice', |
| 1324 '<@(_sources)', | 1248 '<@(_sources)', |
| 1325 ], | 1249 ], |
| 1326 'message': 'Generating ''<(vmservice_patch_cc_file)'' file.' | 1250 'message': 'Generating ''<(vmservice_patch_cc_file)'' file.' |
| 1327 }, | 1251 }, |
| 1328 ] | 1252 ] |
| 1329 }, | 1253 }, |
| 1330 ] | 1254 ] |
| 1331 } | 1255 } |
| OLD | NEW |