blob: 874b0aafa0170f1bf2cccb80b2cc36768fb3c3ae [file] [log] [blame]
joshualittda7b8432015-05-27 09:19:03 -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.
5# GYP file to build visual bench tool
6{
bsalomon48297f72015-06-16 12:21:00 -07007 'includes': [
8 'apptype_console.gypi',
9 ],
joshualittda7b8432015-05-27 09:19:03 -070010 'targets': [
11 {
12 'target_name': 'visualbench',
13 'type': 'executable',
joshualittda7b8432015-05-27 09:19:03 -070014 'include_dirs' : [
15 '../include/gpu',
joshualitt7fe8ee42015-06-01 10:03:54 -070016 '../src/core',
joshualittda7b8432015-05-27 09:19:03 -070017 '../src/images',
18 ],
19 'sources': [
joshualitt91b6f322015-06-30 06:50:10 -070020 '../tools/VisualBench/VisualBench.h',
21 '../tools/VisualBench/VisualBench.cpp',
joshualittda7b8432015-05-27 09:19:03 -070022 ],
23 'dependencies': [
24 'flags.gyp:flags_common',
joshualittda7b8432015-05-27 09:19:03 -070025 'skia_lib.gyp:skia_lib',
joshualitt7fe8ee42015-06-01 10:03:54 -070026 'tools.gyp:proc_stats',
joshualittda7b8432015-05-27 09:19:03 -070027 'tools.gyp:timer',
28 'views.gyp:views',
29 ],
30 'conditions' : [
joshualitt030dc842015-06-12 12:51:44 -070031 [ 'skia_os == "android"', {
32 'dependencies': [
33 'android_deps.gyp:Android_VisualBench',
34 'android_deps.gyp:native_app_glue',
35 ],
36 'link_settings': {
37 'libraries': [
38 '-landroid',
39 '-lGLESv2',
40 '-lEGL',
41 ],
42 },
43 }],
joshualittda7b8432015-05-27 09:19:03 -070044 ],
45 },
46 ],
47}