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', | 99 'target_name': 'libdart_vm_precompiled_runtime', |
100 'type': 'static_library', | 100 'type': 'static_library', |
101 'toolsets':['host', 'target'], | 101 'toolsets':['host', 'target'], |
102 'includes': [ | 102 'includes': [ |
103 'vm_sources.gypi', | 103 'vm_sources.gypi', |
104 '../platform/platform_headers.gypi', | 104 '../platform/platform_headers.gypi', |
105 '../platform/platform_sources.gypi', | 105 '../platform/platform_sources.gypi', |
106 ], | 106 ], |
107 'sources/': [ | 107 'sources/': [ |
108 # Exclude all _test.[cc|h] files. | 108 # Exclude all _test.[cc|h] files. |
109 ['exclude', '_test\\.(cc|h)$'], | 109 ['exclude', '_test\\.(cc|h)$'], |
110 ], | 110 ], |
111 'include_dirs': [ | 111 'include_dirs': [ |
112 '..', | 112 '..', |
113 ], | 113 ], |
114 'defines': [ | 114 'defines': [ |
115 'DART_PRECOMPILED', | 115 'DART_PRECOMPILED_RUNTIME', |
116 ], | 116 ], |
117 'conditions': [ | 117 'conditions': [ |
118 ['OS=="linux"', { | 118 ['OS=="linux"', { |
119 'link_settings': { | 119 'link_settings': { |
120 'libraries': [ | 120 'libraries': [ |
121 '-lpthread', | 121 '-lpthread', |
122 '-lrt', | 122 '-lrt', |
123 '-ldl', | 123 '-ldl', |
124 ], | 124 ], |
125 }, | 125 }, |
(...skipping 1132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1258 '--var_name', 'dart::Bootstrap::_vmservice_patch_paths_', | 1258 '--var_name', 'dart::Bootstrap::_vmservice_patch_paths_', |
1259 '--library_name', 'dart:_vmservice', | 1259 '--library_name', 'dart:_vmservice', |
1260 '<@(_sources)', | 1260 '<@(_sources)', |
1261 ], | 1261 ], |
1262 'message': 'Generating ''<(vmservice_patch_cc_file)'' file.' | 1262 'message': 'Generating ''<(vmservice_patch_cc_file)'' file.' |
1263 }, | 1263 }, |
1264 ] | 1264 ] |
1265 }, | 1265 }, |
1266 ] | 1266 ] |
1267 } | 1267 } |
OLD | NEW |