2015-03-25 17:22:41 +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.
|
2011-06-02 14:38:23 +00:00
|
|
|
# GYP file to build performance testbench.
|
|
|
|
#
|
2011-05-31 21:21:54 +00:00
|
|
|
{
|
|
|
|
'includes': [
|
2011-06-02 14:38:23 +00:00
|
|
|
'apptype_console.gypi',
|
2011-05-31 21:21:54 +00:00
|
|
|
],
|
|
|
|
'targets': [
|
2014-06-25 21:08:00 +00:00
|
|
|
{
|
|
|
|
'target_name': 'nanobench',
|
|
|
|
'type': 'executable',
|
|
|
|
'sources': [
|
2014-09-17 13:58:39 +00:00
|
|
|
'../gm/gm.cpp',
|
2015-04-01 19:09:17 +00:00
|
|
|
'../bench/CodecBench.cpp',
|
2015-02-13 17:05:41 +00:00
|
|
|
'../bench/DecodingBench.cpp',
|
|
|
|
'../bench/DecodingSubsetBench.cpp',
|
2014-07-31 19:13:48 +00:00
|
|
|
'../bench/GMBench.cpp',
|
2014-09-10 19:19:30 +00:00
|
|
|
'../bench/RecordingBench.cpp',
|
2015-04-27 16:16:57 +00:00
|
|
|
'../bench/SKPAnimationBench.cpp',
|
2014-08-01 14:46:52 +00:00
|
|
|
'../bench/SKPBench.cpp',
|
2014-07-31 19:13:48 +00:00
|
|
|
'../bench/nanobench.cpp',
|
|
|
|
],
|
|
|
|
'includes': [
|
|
|
|
'bench.gypi',
|
|
|
|
'gmslides.gypi',
|
2014-06-25 21:08:00 +00:00
|
|
|
],
|
|
|
|
'dependencies': [
|
2014-07-22 17:15:34 +00:00
|
|
|
'flags.gyp:flags_common',
|
2014-07-14 18:30:37 +00:00
|
|
|
'jsoncpp.gyp:jsoncpp',
|
|
|
|
'skia_lib.gyp:skia_lib',
|
2014-06-25 21:08:00 +00:00
|
|
|
'tools.gyp:crash_handler',
|
2014-08-19 22:55:55 +00:00
|
|
|
'tools.gyp:proc_stats',
|
2014-06-25 21:08:00 +00:00
|
|
|
'tools.gyp:timer',
|
|
|
|
],
|
2014-08-21 20:17:50 +00:00
|
|
|
'conditions': [
|
|
|
|
['skia_android_framework', {
|
|
|
|
'libraries': [
|
|
|
|
'-lskia',
|
2015-03-26 18:28:06 +00:00
|
|
|
'-landroid',
|
|
|
|
'-lgui',
|
|
|
|
'-lhwui',
|
|
|
|
'-lutils',
|
|
|
|
],
|
|
|
|
'include_dirs': [
|
|
|
|
'../../../frameworks/base/libs/hwui/',
|
|
|
|
'../../../frameworks/native/include/',
|
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'../bench/nanobenchAndroid.cpp',
|
|
|
|
],
|
|
|
|
'dependencies': [
|
|
|
|
'utils.gyp:android_utils',
|
2014-08-21 20:17:50 +00:00
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
2014-06-25 21:08:00 +00:00
|
|
|
},
|
2011-05-31 21:21:54 +00:00
|
|
|
],
|
|
|
|
}
|