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

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: add vtune.{cc,h} 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
Index: runtime/vm/vm.gypi
diff --git a/runtime/vm/vm.gypi b/runtime/vm/vm.gypi
index 0fb1bd9ad32cdf40db16bcd33b382b99bf6c2854..4cf3ebf7c041e6f5483f020845b4b02c44cedbda 100644
--- a/runtime/vm/vm.gypi
+++ b/runtime/vm/vm.gypi
@@ -57,7 +57,19 @@
'sources/' : [
['exclude', 'gdbjit.cc'],
],
- }]],
+ }],
+ ['OS=="linux" and dart_vtune_support == 1', {
Ivan Posva 2012/11/26 04:36:38 I would prefer if we could find a way to deal with
Vyacheslav Egorov (Google) 2012/11/26 15:11:10 Header file and library are required to enable sup
+ # Link in libjitprofiling.a.
+ 'cflags': [
+ '-DDART_VTUNE_SUPPORT',
+ '-I<(dart_vtune_root)/include',
+ ],
+ 'link_settings': {
+ 'libraries': [
+ '-ljitprofiling',
+ ],
+ },
+ }]],
},
{
'target_name': 'libdart_lib_withcore',
« runtime/vm/object.cc ('K') | « 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