OLD | NEW |
1 # Copyright 2015 Google Inc. | 1 # Copyright 2015 Google Inc. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 # GYP file to build visual bench tool | 5 # GYP file to build visual bench tool |
6 { | 6 { |
7 'includes': [ | 7 'includes': [ |
8 'apptype_console.gypi', | 8 'apptype_console.gypi', |
9 ], | 9 ], |
10 'targets': [ | 10 'targets': [ |
11 { | 11 { |
12 'target_name': 'visualbench', | 12 'target_name': 'visualbench', |
13 'type': 'executable', | 13 'type': 'executable', |
14 'include_dirs' : [ | 14 'include_dirs' : [ |
15 '../include/gpu', | 15 '../include/gpu', |
16 '../src/core', | 16 '../src/core', |
17 '../src/images', | 17 '../src/images', |
18 ], | 18 ], |
19 'sources': [ | 19 'sources': [ |
20 '../tools/VisualBench.h', | 20 '../tools/VisualBench/VisualBench.h', |
21 '../tools/VisualBench.cpp', | 21 '../tools/VisualBench/VisualBench.cpp', |
22 ], | 22 ], |
23 'dependencies': [ | 23 'dependencies': [ |
24 'flags.gyp:flags_common', | 24 'flags.gyp:flags_common', |
25 'skia_lib.gyp:skia_lib', | 25 'skia_lib.gyp:skia_lib', |
26 'tools.gyp:proc_stats', | 26 'tools.gyp:proc_stats', |
27 'tools.gyp:timer', | 27 'tools.gyp:timer', |
28 'views.gyp:views', | 28 'views.gyp:views', |
29 ], | 29 ], |
30 'conditions' : [ | 30 'conditions' : [ |
31 [ 'skia_os == "android"', { | 31 [ 'skia_os == "android"', { |
32 'dependencies': [ | 32 'dependencies': [ |
33 'android_deps.gyp:Android_VisualBench', | 33 'android_deps.gyp:Android_VisualBench', |
34 'android_deps.gyp:native_app_glue', | 34 'android_deps.gyp:native_app_glue', |
35 ], | 35 ], |
36 'link_settings': { | 36 'link_settings': { |
37 'libraries': [ | 37 'libraries': [ |
38 '-landroid', | 38 '-landroid', |
39 '-lGLESv2', | 39 '-lGLESv2', |
40 '-lEGL', | 40 '-lEGL', |
41 ], | 41 ], |
42 }, | 42 }, |
43 }], | 43 }], |
44 ], | 44 ], |
45 }, | 45 }, |
46 ], | 46 ], |
47 } | 47 } |
OLD | NEW |