scroggo | 3e56227 | 2015-03-25 10:22:41 -0700 | [diff] [blame] | 1 | # 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.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 5 | # GYP file to build performance testbench. |
| 6 | # |
bungeman@google.com | 206c98a | 2011-05-31 21:21:54 +0000 | [diff] [blame] | 7 | { |
| 8 | 'includes': [ |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 9 | 'apptype_console.gypi', |
bungeman@google.com | 206c98a | 2011-05-31 21:21:54 +0000 | [diff] [blame] | 10 | ], |
| 11 | 'targets': [ |
| 12 | { |
mtklein | f372321 | 2014-06-25 14:08:00 -0700 | [diff] [blame] | 13 | 'target_name': 'nanobench', |
| 14 | 'type': 'executable', |
| 15 | 'sources': [ |
mtklein | 963504b | 2014-09-17 06:58:39 -0700 | [diff] [blame] | 16 | '../gm/gm.cpp', |
mtklein | 0590fa5 | 2016-09-01 07:06:54 -0700 | [diff] [blame] | 17 | '../tools/LsanSuppressions.cpp', |
mtklein | f372321 | 2014-06-25 14:08:00 -0700 | [diff] [blame] | 18 | ], |
mtklein | e714e75 | 2014-07-31 12:13:48 -0700 | [diff] [blame] | 19 | 'includes': [ |
| 20 | 'bench.gypi', |
| 21 | 'gmslides.gypi', |
| 22 | ], |
bsalomon | 84a4e5a | 2016-02-29 11:41:52 -0800 | [diff] [blame] | 23 | 'include_dirs' : [ |
msarett | c044461 | 2016-09-16 11:45:58 -0700 | [diff] [blame] | 24 | '../src/codec', |
bsalomon | 84a4e5a | 2016-02-29 11:41:52 -0800 | [diff] [blame] | 25 | '../src/image', |
| 26 | ], |
mtklein | f372321 | 2014-06-25 14:08:00 -0700 | [diff] [blame] | 27 | 'dependencies': [ |
caryclark | 17f0b6d | 2014-07-22 10:15:34 -0700 | [diff] [blame] | 28 | 'flags.gyp:flags_common', |
mtklein | 60317d0f | 2014-07-14 11:30:37 -0700 | [diff] [blame] | 29 | 'jsoncpp.gyp:jsoncpp', |
| 30 | 'skia_lib.gyp:skia_lib', |
mtklein | f372321 | 2014-06-25 14:08:00 -0700 | [diff] [blame] | 31 | 'tools.gyp:crash_handler', |
mtklein | afb4379 | 2014-08-19 15:55:55 -0700 | [diff] [blame] | 32 | 'tools.gyp:proc_stats', |
joshualitt | 3ebd050 | 2016-02-09 07:18:08 -0800 | [diff] [blame] | 33 | 'tools.gyp:thermal_manager', |
halcanary | 1e44051 | 2016-02-24 15:17:19 -0800 | [diff] [blame] | 34 | 'tools.gyp:timer', |
mtklein | f372321 | 2014-06-25 14:08:00 -0700 | [diff] [blame] | 35 | ], |
djsollen | d92c4c5 | 2014-08-21 13:17:50 -0700 | [diff] [blame] | 36 | 'conditions': [ |
| 37 | ['skia_android_framework', { |
| 38 | 'libraries': [ |
djsollen | 2a8fcb4 | 2016-02-12 08:44:39 -0800 | [diff] [blame] | 39 | 'skia_static.a', |
tomhudson | d968a6f | 2015-03-26 11:28:06 -0700 | [diff] [blame] | 40 | '-lhwui', |
tomhudson | d968a6f | 2015-03-26 11:28:06 -0700 | [diff] [blame] | 41 | ], |
| 42 | 'include_dirs': [ |
| 43 | '../../../frameworks/base/libs/hwui/', |
tomhudson | d968a6f | 2015-03-26 11:28:06 -0700 | [diff] [blame] | 44 | ], |
tomhudson | d968a6f | 2015-03-26 11:28:06 -0700 | [diff] [blame] | 45 | 'dependencies': [ |
djsollen | 14d8fa0 | 2015-12-18 09:34:08 -0800 | [diff] [blame] | 46 | 'tools.gyp:android_utils', |
djsollen | d92c4c5 | 2014-08-21 13:17:50 -0700 | [diff] [blame] | 47 | ], |
| 48 | }], |
| 49 | ], |
mtklein | f372321 | 2014-06-25 14:08:00 -0700 | [diff] [blame] | 50 | }, |
bungeman@google.com | 206c98a | 2011-05-31 21:21:54 +0000 | [diff] [blame] | 51 | ], |
| 52 | } |