blob: 3d5c329ef5aa7db59c5b7abeb1cf7031b4c748d3 [file] [log] [blame]
scroggo3e562272015-03-25 10:22:41 -07001# Copyright 2015 Google Inc.
2#
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
epoger@google.comccdbd2c2011-06-02 14:38:23 +00005# GYP file to build performance testbench.
6#
bungeman@google.com206c98a2011-05-31 21:21:54 +00007{
8 'includes': [
epoger@google.comccdbd2c2011-06-02 14:38:23 +00009 'apptype_console.gypi',
bungeman@google.com206c98a2011-05-31 21:21:54 +000010 ],
11 'targets': [
12 {
mtkleinf3723212014-06-25 14:08:00 -070013 'target_name': 'nanobench',
14 'type': 'executable',
15 'sources': [
mtklein963504b2014-09-17 06:58:39 -070016 '../gm/gm.cpp',
mtklein0590fa52016-09-01 07:06:54 -070017 '../tools/LsanSuppressions.cpp',
mtkleinf3723212014-06-25 14:08:00 -070018 ],
mtkleine714e752014-07-31 12:13:48 -070019 'includes': [
20 'bench.gypi',
21 'gmslides.gypi',
22 ],
bsalomon84a4e5a2016-02-29 11:41:52 -080023 'include_dirs' : [
24 '../src/image',
25 ],
mtkleinf3723212014-06-25 14:08:00 -070026 'dependencies': [
caryclark17f0b6d2014-07-22 10:15:34 -070027 'flags.gyp:flags_common',
mtklein60317d0f2014-07-14 11:30:37 -070028 'jsoncpp.gyp:jsoncpp',
29 'skia_lib.gyp:skia_lib',
mtkleinf3723212014-06-25 14:08:00 -070030 'tools.gyp:crash_handler',
mtkleinafb43792014-08-19 15:55:55 -070031 'tools.gyp:proc_stats',
joshualitt3ebd0502016-02-09 07:18:08 -080032 'tools.gyp:thermal_manager',
halcanary1e440512016-02-24 15:17:19 -080033 'tools.gyp:timer',
mtkleinf3723212014-06-25 14:08:00 -070034 ],
djsollend92c4c52014-08-21 13:17:50 -070035 'conditions': [
36 ['skia_android_framework', {
37 'libraries': [
djsollen2a8fcb42016-02-12 08:44:39 -080038 'skia_static.a',
tomhudsond968a6f2015-03-26 11:28:06 -070039 '-lhwui',
tomhudsond968a6f2015-03-26 11:28:06 -070040 ],
41 'include_dirs': [
42 '../../../frameworks/base/libs/hwui/',
tomhudsond968a6f2015-03-26 11:28:06 -070043 ],
tomhudsond968a6f2015-03-26 11:28:06 -070044 'dependencies': [
djsollen14d8fa02015-12-18 09:34:08 -080045 'tools.gyp:android_utils',
djsollend92c4c52014-08-21 13:17:50 -070046 ],
47 }],
48 ],
mtkleinf3723212014-06-25 14:08:00 -070049 },
bungeman@google.com206c98a2011-05-31 21:21:54 +000050 ],
51}