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',
|
2014-07-31 19:13:48 +00:00
|
|
|
],
|
|
|
|
'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',
|
|
|
|
'-lhwui',
|
|
|
|
'-lutils',
|
|
|
|
],
|
|
|
|
'include_dirs': [
|
|
|
|
'../../../frameworks/base/libs/hwui/',
|
|
|
|
],
|
|
|
|
'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
|
|
|
],
|
|
|
|
}
|