Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(309)

Side by Side Diff: runtime/vm/vm.gypi

Issue 1661703002: VM: Replace dart --noopt with new binary target dart_noopt. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 'libraries': ['-ljitprofiling'], 152 'libraries': ['-ljitprofiling'],
153 }], 153 }],
154 ['OS=="win"', { 154 ['OS=="win"', {
155 'libraries': ['-ljitprofiling.lib'], 155 'libraries': ['-ljitprofiling.lib'],
156 }], 156 }],
157 ], 157 ],
158 }, 158 },
159 }]], 159 }]],
160 }, 160 },
161 { 161 {
162 'target_name': 'libdart_vm_noopt',
163 'type': 'static_library',
164 'toolsets':['host', 'target'],
165 'includes': [
166 'vm_sources.gypi',
167 '../platform/platform_headers.gypi',
168 '../platform/platform_sources.gypi',
169 ],
170 'sources/': [
171 # Exclude all _test.[cc|h] files.
172 ['exclude', '_test\\.(cc|h)$'],
173 ],
174 'include_dirs': [
175 '..',
176 ],
177 'defines': [
178 'DART_PRECOMPILER',
179 ],
180 'conditions': [
181 ['OS=="linux"', {
182 'link_settings': {
183 'libraries': [
184 '-lpthread',
185 '-lrt',
186 '-ldl',
187 ],
188 },
189 }],
190 ['OS=="android" and _toolset=="host"', {
191 'link_settings': {
192 'libraries': [
193 '-lpthread',
194 '-lrt',
195 '-ldl',
196 ],
197 },
198 }],
199 ['OS=="win"', {
200 'sources/' : [
201 ['exclude', 'gdbjit.cc'],
202 ],
203 }],
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 },
224 {
162 'target_name': 'libdart_vm_nosnapshot', 225 'target_name': 'libdart_vm_nosnapshot',
163 'type': 'static_library', 226 'type': 'static_library',
164 'toolsets':['host', 'target'], 227 'toolsets':['host', 'target'],
165 'includes': [ 228 'includes': [
166 'vm_sources.gypi', 229 'vm_sources.gypi',
167 '../platform/platform_headers.gypi', 230 '../platform/platform_headers.gypi',
168 '../platform/platform_sources.gypi', 231 '../platform/platform_sources.gypi',
169 ], 232 ],
170 'sources/': [ 233 'sources/': [
171 # Exclude all _test.[cc|h] files. 234 # Exclude all _test.[cc|h] files.
172 ['exclude', '_test\\.(cc|h)$'], 235 ['exclude', '_test\\.(cc|h)$'],
173 ], 236 ],
174 'include_dirs': [ 237 'include_dirs': [
175 '..', 238 '..',
176 ], 239 ],
177 'defines': [ 240 'defines': [
178 'DART_NO_SNAPSHOT', 241 'DART_NO_SNAPSHOT',
242 'DART_PRECOMPILER',
179 ], 243 ],
180 'conditions': [ 244 'conditions': [
181 ['OS=="linux"', { 245 ['OS=="linux"', {
182 'link_settings': { 246 'link_settings': {
183 'libraries': [ 247 'libraries': [
184 '-lpthread', 248 '-lpthread',
185 '-lrt', 249 '-lrt',
186 '-ldl', 250 '-ldl',
187 ], 251 ],
188 }, 252 },
(...skipping 1069 matching lines...) Expand 10 before | Expand all | Expand 10 after
1258 '--var_name', 'dart::Bootstrap::_vmservice_patch_paths_', 1322 '--var_name', 'dart::Bootstrap::_vmservice_patch_paths_',
1259 '--library_name', 'dart:_vmservice', 1323 '--library_name', 'dart:_vmservice',
1260 '<@(_sources)', 1324 '<@(_sources)',
1261 ], 1325 ],
1262 'message': 'Generating ''<(vmservice_patch_cc_file)'' file.' 1326 'message': 'Generating ''<(vmservice_patch_cc_file)'' file.'
1263 }, 1327 },
1264 ] 1328 ]
1265 }, 1329 },
1266 ] 1330 ]
1267 } 1331 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698