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

Side by Side Diff: runtime/tools/gyp/runtime-configurations.gypi

Issue 11412106: Support VTune's JIT interface. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments Created 8 years 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | runtime/vm/assembler_arm.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 'dart_debug_optimization_level%': '2', 7 'dart_debug_optimization_level%': '2',
8 # If we have not set dart_io_support to 1 in Dart's all.gypi or common.gypi, 8 # If we have not set dart_io_support to 1 in Dart's all.gypi or common.gypi,
9 # then do not build the native libraries supporting dart:io. 9 # then do not build the native libraries supporting dart:io.
10 'dart_io_support%': 0, 10 'dart_io_support%': 0,
11 # Intel VTune related variables.
12 'dart_vtune_support%': 0,
13 'dart_vtune_root%': '/opt/intel/vtune_amplifier_xe',
14 },
15
16 'configurations': {
17 'Dart_ia32_Base': {
18 'variables': {
19 'dart_vtune_lib_dir': '<(dart_vtune_root)/lib32',
20 }
21 },
22
23 'Dart_x64_Base': {
24 'variables': {
25 'dart_vtune_lib_dir': '<(dart_vtune_root)/lib64',
26 }
27 },
11 }, 28 },
12 29
13 'target_defaults': { 30 'target_defaults': {
14 'configurations': { 31 'configurations': {
15 32
16 'Dart_Base': { 33 'Dart_Base': {
17 'abstract': 1, 34 'abstract': 1,
18 'xcode_settings': { 35 'xcode_settings': {
19 'GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS': 'YES', # -Woverloaded-virtual 36 'GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS': 'YES', # -Woverloaded-virtual
20 }, 37 },
(...skipping 13 matching lines...) Expand all
34 'defines': [ 51 'defines': [
35 'DEBUG', 52 'DEBUG',
36 ], 53 ],
37 }, 54 },
38 55
39 'Dart_ia32_Base': { 56 'Dart_ia32_Base': {
40 'abstract': 1, 57 'abstract': 1,
41 'xcode_settings': { 58 'xcode_settings': {
42 'ARCHS': [ 'i386' ], 59 'ARCHS': [ 'i386' ],
43 }, 60 },
61 'conditions': [
62 ['OS=="linux" and dart_vtune_support == 1', {
63 'ldflags': ['-L<(dart_vtune_root)/lib32'],
64 }]
65 ],
44 }, 66 },
45 67
46 'Dart_x64_Base': { 68 'Dart_x64_Base': {
47 'abstract': 1, 69 'abstract': 1,
48 'xcode_settings': { 70 'xcode_settings': {
49 'ARCHS': [ 'x86_64' ], 71 'ARCHS': [ 'x86_64' ],
50 }, 72 },
73 'conditions': [
74 ['OS=="linux" and dart_vtune_support == 1', {
75 'ldflags': ['-L<(dart_vtune_root)/lib64'],
76 }]
77 ],
51 }, 78 },
52 79
53 'Dart_simarm_Base': { 80 'Dart_simarm_Base': {
54 'abstract': 1, 81 'abstract': 1,
55 'xcode_settings': { 82 'xcode_settings': {
56 'ARCHS': [ 'i386' ], 83 'ARCHS': [ 'i386' ],
57 'GCC_OPTIMIZATION_LEVEL': '3', 84 'GCC_OPTIMIZATION_LEVEL': '3',
58 }, 85 },
59 }, 86 },
60 87
61 'Dart_Release': { 88 'Dart_Release': {
62 'abstract': 1, 89 'abstract': 1,
63 'xcode_settings': { 90 'xcode_settings': {
64 'GCC_OPTIMIZATION_LEVEL': '3', 91 'GCC_OPTIMIZATION_LEVEL': '3',
65 }, 92 },
66 }, 93 },
67 }, 94 },
68 }, 95 },
69 } 96 }
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/assembler_arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698