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 | f372321 | 2014-06-25 14:08:00 -0700 | [diff] [blame] | 17 | ], |
mtklein | e714e75 | 2014-07-31 12:13:48 -0700 | [diff] [blame] | 18 | 'includes': [ |
| 19 | 'bench.gypi', |
| 20 | 'gmslides.gypi', |
| 21 | ], |
mtklein | f372321 | 2014-06-25 14:08:00 -0700 | [diff] [blame] | 22 | 'dependencies': [ |
caryclark | 17f0b6d | 2014-07-22 10:15:34 -0700 | [diff] [blame] | 23 | 'flags.gyp:flags_common', |
mtklein | 60317d0f | 2014-07-14 11:30:37 -0700 | [diff] [blame] | 24 | 'jsoncpp.gyp:jsoncpp', |
| 25 | 'skia_lib.gyp:skia_lib', |
mtklein | f372321 | 2014-06-25 14:08:00 -0700 | [diff] [blame] | 26 | 'tools.gyp:crash_handler', |
mtklein | afb4379 | 2014-08-19 15:55:55 -0700 | [diff] [blame] | 27 | 'tools.gyp:proc_stats', |
mtklein | f372321 | 2014-06-25 14:08:00 -0700 | [diff] [blame] | 28 | 'tools.gyp:timer', |
| 29 | ], |
djsollen | d92c4c5 | 2014-08-21 13:17:50 -0700 | [diff] [blame] | 30 | 'conditions': [ |
| 31 | ['skia_android_framework', { |
| 32 | 'libraries': [ |
| 33 | '-lskia', |
tomhudson | d968a6f | 2015-03-26 11:28:06 -0700 | [diff] [blame] | 34 | '-landroid', |
| 35 | '-lgui', |
| 36 | '-lhwui', |
| 37 | '-lutils', |
| 38 | ], |
| 39 | 'include_dirs': [ |
| 40 | '../../../frameworks/base/libs/hwui/', |
| 41 | '../../../frameworks/native/include/', |
| 42 | ], |
tomhudson | d968a6f | 2015-03-26 11:28:06 -0700 | [diff] [blame] | 43 | 'dependencies': [ |
| 44 | 'utils.gyp:android_utils', |
djsollen | d92c4c5 | 2014-08-21 13:17:50 -0700 | [diff] [blame] | 45 | ], |
| 46 | }], |
| 47 | ], |
mtklein | f372321 | 2014-06-25 14:08:00 -0700 | [diff] [blame] | 48 | }, |
bungeman@google.com | 206c98a | 2011-05-31 21:21:54 +0000 | [diff] [blame] | 49 | ], |
| 50 | } |