2015-05-27 16:19:03 +00:00
|
|
|
# Copyright 2015 Google Inc.
|
|
|
|
#
|
|
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
|
|
# found in the LICENSE file.
|
|
|
|
# GYP file to build visual bench tool
|
|
|
|
{
|
2015-06-16 19:21:00 +00:00
|
|
|
'includes': [
|
|
|
|
'apptype_console.gypi',
|
|
|
|
],
|
2015-05-27 16:19:03 +00:00
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'visualbench',
|
|
|
|
'type': 'executable',
|
|
|
|
'include_dirs' : [
|
|
|
|
'../include/gpu',
|
2015-06-01 17:03:54 +00:00
|
|
|
'../src/core',
|
2015-05-27 16:19:03 +00:00
|
|
|
'../src/images',
|
|
|
|
],
|
|
|
|
'sources': [
|
2015-06-30 13:50:10 +00:00
|
|
|
'../tools/VisualBench/VisualBench.h',
|
|
|
|
'../tools/VisualBench/VisualBench.cpp',
|
2015-05-27 16:19:03 +00:00
|
|
|
],
|
|
|
|
'dependencies': [
|
|
|
|
'flags.gyp:flags_common',
|
|
|
|
'skia_lib.gyp:skia_lib',
|
2015-06-01 17:03:54 +00:00
|
|
|
'tools.gyp:proc_stats',
|
2015-05-27 16:19:03 +00:00
|
|
|
'tools.gyp:timer',
|
|
|
|
'views.gyp:views',
|
|
|
|
],
|
|
|
|
'conditions' : [
|
2015-06-12 19:51:44 +00:00
|
|
|
[ 'skia_os == "android"', {
|
|
|
|
'dependencies': [
|
|
|
|
'android_deps.gyp:Android_VisualBench',
|
|
|
|
'android_deps.gyp:native_app_glue',
|
|
|
|
],
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'-landroid',
|
|
|
|
'-lGLESv2',
|
|
|
|
'-lEGL',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
}],
|
2015-05-27 16:19:03 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|