blob: 4c2bca2b02924755dc155c5929f093c33552e1c0 [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' : [
msarettc0444612016-09-16 11:45:58 -070024 '../src/codec',
bsalomon84a4e5a2016-02-29 11:41:52 -080025 '../src/image',
26 ],
mtkleinf3723212014-06-25 14:08:00 -070027 'dependencies': [
caryclark17f0b6d2014-07-22 10:15:34 -070028 'flags.gyp:flags_common',
mtklein60317d0f2014-07-14 11:30:37 -070029 'jsoncpp.gyp:jsoncpp',
30 'skia_lib.gyp:skia_lib',
mtkleinf3723212014-06-25 14:08:00 -070031 'tools.gyp:crash_handler',
mtkleinafb43792014-08-19 15:55:55 -070032 'tools.gyp:proc_stats',
joshualitt3ebd0502016-02-09 07:18:08 -080033 'tools.gyp:thermal_manager',
halcanary1e440512016-02-24 15:17:19 -080034 'tools.gyp:timer',
mtkleinf3723212014-06-25 14:08:00 -070035 ],
djsollend92c4c52014-08-21 13:17:50 -070036 'conditions': [
37 ['skia_android_framework', {
38 'libraries': [
djsollen2a8fcb42016-02-12 08:44:39 -080039 'skia_static.a',
tomhudsond968a6f2015-03-26 11:28:06 -070040 '-lhwui',
tomhudsond968a6f2015-03-26 11:28:06 -070041 ],
42 'include_dirs': [
43 '../../../frameworks/base/libs/hwui/',
tomhudsond968a6f2015-03-26 11:28:06 -070044 ],
tomhudsond968a6f2015-03-26 11:28:06 -070045 'dependencies': [
djsollen14d8fa02015-12-18 09:34:08 -080046 'tools.gyp:android_utils',
djsollend92c4c52014-08-21 13:17:50 -070047 ],
48 }],
49 ],
mtkleinf3723212014-06-25 14:08:00 -070050 },
bungeman@google.com206c98a2011-05-31 21:21:54 +000051 ],
52}