blob: 551af143bfb3255e0b064b5b9c4acf1b30b9da86 [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 ],
bsalomon84a4e5a2016-02-29 11:41:52 -080022 'include_dirs' : [
23 '../src/image',
24 ],
mtkleinf3723212014-06-25 14:08:00 -070025 'dependencies': [
caryclark17f0b6d2014-07-22 10:15:34 -070026 'flags.gyp:flags_common',
mtklein60317d0f2014-07-14 11:30:37 -070027 'jsoncpp.gyp:jsoncpp',
28 'skia_lib.gyp:skia_lib',
mtkleinf3723212014-06-25 14:08:00 -070029 'tools.gyp:crash_handler',
mtkleinafb43792014-08-19 15:55:55 -070030 'tools.gyp:proc_stats',
joshualitt3ebd0502016-02-09 07:18:08 -080031 'tools.gyp:thermal_manager',
halcanary1e440512016-02-24 15:17:19 -080032 'tools.gyp:timer',
mtkleinf3723212014-06-25 14:08:00 -070033 ],
djsollend92c4c52014-08-21 13:17:50 -070034 'conditions': [
35 ['skia_android_framework', {
36 'libraries': [
djsollen2a8fcb42016-02-12 08:44:39 -080037 'skia_static.a',
tomhudsond968a6f2015-03-26 11:28:06 -070038 '-lhwui',
tomhudsond968a6f2015-03-26 11:28:06 -070039 ],
40 'include_dirs': [
41 '../../../frameworks/base/libs/hwui/',
tomhudsond968a6f2015-03-26 11:28:06 -070042 ],
tomhudsond968a6f2015-03-26 11:28:06 -070043 'dependencies': [
djsollen14d8fa02015-12-18 09:34:08 -080044 'tools.gyp:android_utils',
djsollend92c4c52014-08-21 13:17:50 -070045 ],
46 }],
47 ],
mtkleinf3723212014-06-25 14:08:00 -070048 },
bungeman@google.com206c98a2011-05-31 21:21:54 +000049 ],
50}