Add vtune jit support for linux
Change-Id: Ie82c8a280cbc3997d0b65327535f0eaf0694bdfc Reviewed-on: https://skia-review.googlesource.com/c/skia/+/556601 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Herb Derby <herb@google.com>
This commit is contained in:
parent
4008acdc7c
commit
068fc2cfc1
4
BUILD.gn
4
BUILD.gn
@ -1261,7 +1261,11 @@ optional("skvm_jit") {
|
||||
if (skia_vtune_path != "") {
|
||||
public_defines += [ "SKVM_JIT_VTUNE" ]
|
||||
public_include_dirs = [ "$skia_vtune_path/include" ]
|
||||
if (is_win) {
|
||||
libs = [ "$skia_vtune_path/lib64/jitprofiling.lib" ]
|
||||
} else if (is_linux) {
|
||||
libs = [ "$skia_vtune_path/lib64/libjitprofiling.a" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user