blob: c7a03b8d04158fb46ec4f27586f226908c1dac36 [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',
mtkleinf3723212014-06-25 14:08:00 -070017 ],
mtkleine714e752014-07-31 12:13:48 -070018 'includes': [
19 'bench.gypi',
20 'gmslides.gypi',
21 ],
mtkleinf3723212014-06-25 14:08:00 -070022 'dependencies': [
caryclark17f0b6d2014-07-22 10:15:34 -070023 'flags.gyp:flags_common',
mtklein60317d0f2014-07-14 11:30:37 -070024 'jsoncpp.gyp:jsoncpp',
25 'skia_lib.gyp:skia_lib',
mtkleinf3723212014-06-25 14:08:00 -070026 'tools.gyp:crash_handler',
mtkleinafb43792014-08-19 15:55:55 -070027 'tools.gyp:proc_stats',
mtkleinf3723212014-06-25 14:08:00 -070028 'tools.gyp:timer',
29 ],
djsollend92c4c52014-08-21 13:17:50 -070030 'conditions': [
31 ['skia_android_framework', {
32 'libraries': [
33 '-lskia',
tomhudsond968a6f2015-03-26 11:28:06 -070034 '-landroid',
tomhudsond968a6f2015-03-26 11:28:06 -070035 '-lhwui',
36 '-lutils',
37 ],
38 'include_dirs': [
39 '../../../frameworks/base/libs/hwui/',
tomhudsond968a6f2015-03-26 11:28:06 -070040 ],
tomhudsond968a6f2015-03-26 11:28:06 -070041 'dependencies': [
42 'utils.gyp:android_utils',
djsollend92c4c52014-08-21 13:17:50 -070043 ],
44 }],
45 ],
mtkleinf3723212014-06-25 14:08:00 -070046 },
bungeman@google.com206c98a2011-05-31 21:21:54 +000047 ],
48}