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',
|
2016-09-01 14:06:54 +00:00
|
|
|
'../tools/LsanSuppressions.cpp',
|
2014-07-31 19:13:48 +00:00
|
|
|
],
|
|
|
|
'includes': [
|
|
|
|
'bench.gypi',
|
|
|
|
'gmslides.gypi',
|
2014-06-25 21:08:00 +00:00
|
|
|
],
|
2016-02-29 19:41:52 +00:00
|
|
|
'include_dirs' : [
|
|
|
|
'../src/image',
|
|
|
|
],
|
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',
|
2016-02-09 15:18:08 +00:00
|
|
|
'tools.gyp:thermal_manager',
|
2016-02-24 23:17:19 +00:00
|
|
|
'tools.gyp:timer',
|
2014-06-25 21:08:00 +00:00
|
|
|
],
|
2014-08-21 20:17:50 +00:00
|
|
|
'conditions': [
|
|
|
|
['skia_android_framework', {
|
|
|
|
'libraries': [
|
2016-02-12 16:44:39 +00:00
|
|
|
'skia_static.a',
|
2015-03-26 18:28:06 +00:00
|
|
|
'-lhwui',
|
|
|
|
],
|
|
|
|
'include_dirs': [
|
|
|
|
'../../../frameworks/base/libs/hwui/',
|
|
|
|
],
|
|
|
|
'dependencies': [
|
2015-12-18 17:34:08 +00:00
|
|
|
'tools.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
|
|
|
],
|
|
|
|
}
|