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 'targets': [ | 7 'targets': [ |
8 { | 8 { |
9 'target_name': 'visualbench', | 9 'target_name': 'visualbench', |
10 'type': 'executable', | 10 'type': 'executable', |
11 'mac_bundle' : 1, | 11 'mac_bundle' : 1, |
12 'include_dirs' : [ | 12 'include_dirs' : [ |
13 '../include/gpu', | 13 '../include/gpu', |
14 '../src/core', | 14 '../src/core', |
15 '../src/images', | 15 '../src/images', |
16 ], | 16 ], |
17 'sources': [ | 17 'sources': [ |
18 '../tools/VisualBench.h', | 18 '../tools/VisualBench.h', |
19 '../tools/VisualBench.cpp', | 19 '../tools/VisualBench.cpp', |
20 '../src/images/SkForceLinking.cpp', | |
21 ], | 20 ], |
22 'dependencies': [ | 21 'dependencies': [ |
23 'flags.gyp:flags_common', | 22 'flags.gyp:flags_common', |
24 'images.gyp:images', | |
25 'skia_lib.gyp:skia_lib', | 23 'skia_lib.gyp:skia_lib', |
26 'tools.gyp:proc_stats', | 24 'tools.gyp:proc_stats', |
27 'tools.gyp:timer', | 25 'tools.gyp:timer', |
28 'views.gyp:views', | 26 'views.gyp:views', |
29 ], | 27 ], |
30 'conditions' : [ | 28 'conditions' : [ |
31 [ 'skia_os == "win"', { | 29 [ 'skia_os == "win"', { |
32 'sources' : [ | 30 'sources' : [ |
33 '../src/views/win/SkOSWindow_Win.cpp', | 31 '../src/views/win/SkOSWindow_Win.cpp', |
34 '../src/views/win/skia_win.cpp', | 32 '../src/views/win/skia_win.cpp', |
(...skipping 14 matching lines...) Expand all Loading... |
49 'include_dirs' : [ | 47 'include_dirs' : [ |
50 '../src/views/mac/' | 48 '../src/views/mac/' |
51 ], | 49 ], |
52 'xcode_settings' : { | 50 'xcode_settings' : { |
53 'INFOPLIST_FILE' : '../example/mac/HelloWorld-Info.plist', | 51 'INFOPLIST_FILE' : '../example/mac/HelloWorld-Info.plist', |
54 }, | 52 }, |
55 'mac_bundle_resources' : [ | 53 'mac_bundle_resources' : [ |
56 '../example/mac/HelloWorld.xib' | 54 '../example/mac/HelloWorld.xib' |
57 ], | 55 ], |
58 }], | 56 }], |
| 57 [ 'skia_os == "android"', { |
| 58 'dependencies': [ |
| 59 'android_deps.gyp:Android_VisualBench', |
| 60 'android_deps.gyp:native_app_glue', |
| 61 ], |
| 62 'link_settings': { |
| 63 'libraries': [ |
| 64 '-landroid', |
| 65 '-lGLESv2', |
| 66 '-lEGL', |
| 67 ], |
| 68 }, |
| 69 }], |
59 ], | 70 ], |
60 }, | 71 }, |
61 ], | 72 ], |
62 } | 73 } |
OLD | NEW |