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

Unified Diff: runtime/vm/vm.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, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/vm_sources.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/vm.gypi
diff --git a/runtime/vm/vm.gypi b/runtime/vm/vm.gypi
index 7104aa5bf240d62c98c8f0497718f91aa5a4b947..b0bebb01f6badb4b73df811fddf47667628f7477 100644
--- a/runtime/vm/vm.gypi
+++ b/runtime/vm/vm.gypi
@@ -31,7 +31,7 @@
],
'sources/': [
# Exclude all _test.[cc|h] files.
- ['exclude', '_test\\.cc|h$'],
+ ['exclude', '_test\\.(cc|h)$'],
],
'include_dirs': [
'..',
@@ -57,7 +57,24 @@
'sources/' : [
['exclude', 'gdbjit.cc'],
],
- }]],
+ }],
+ ['dart_vtune_support == 0', {
+ 'sources/' : [
+ ['exclude', 'vtune\\.(cc|h)$'],
+ ],
+ }],
+ ['OS=="linux" and dart_vtune_support == 1', {
+ # Link in libjitprofiling.a.
+ 'cflags': [
+ '-DDART_VTUNE_SUPPORT',
+ '-I<(dart_vtune_root)/include',
+ ],
+ 'link_settings': {
+ 'libraries': [
+ '-ljitprofiling',
+ ],
+ },
+ }]],
},
{
'target_name': 'libdart_lib_withcore',
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/vm_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698