OLD | NEW |
1 # GYP file to build performance testbench. | 1 # GYP file to build performance testbench. |
2 # | 2 # |
3 { | 3 { |
4 'includes': [ | 4 'includes': [ |
5 'apptype_console.gypi', | 5 'apptype_console.gypi', |
6 ], | 6 ], |
7 'targets': [ | 7 'targets': [ |
8 { | 8 { |
9 'target_name': 'nanobench', | 9 'target_name': 'nanobench', |
10 'type': 'executable', | 10 'type': 'executable', |
11 'sources': [ | 11 'sources': [ |
12 '../gm/gm.cpp', | 12 '../gm/gm.cpp', |
13 '../bench/GMBench.cpp', | 13 '../bench/GMBench.cpp', |
14 '../bench/SKPBench.cpp', | 14 '../bench/SKPBench.cpp', |
15 '../bench/nanobench.cpp', | 15 '../bench/nanobench.cpp', |
16 ], | 16 ], |
17 'includes': [ | 17 'includes': [ |
18 'bench.gypi', | 18 'bench.gypi', |
19 'gmslides.gypi', | 19 'gmslides.gypi', |
20 ], | 20 ], |
21 'dependencies': [ | 21 'dependencies': [ |
22 'flags.gyp:flags_common', | 22 'flags.gyp:flags_common', |
23 'jsoncpp.gyp:jsoncpp', | 23 'jsoncpp.gyp:jsoncpp', |
24 'skia_lib.gyp:skia_lib', | 24 'skia_lib.gyp:skia_lib', |
25 'tools.gyp:crash_handler', | 25 'tools.gyp:crash_handler', |
26 'tools.gyp:proc_stats', | 26 'tools.gyp:proc_stats', |
27 'tools.gyp:timer', | 27 'tools.gyp:timer', |
28 ], | 28 ], |
| 29 'conditions': [ |
| 30 ['skia_android_framework', { |
| 31 'libraries': [ |
| 32 '-lskia', |
| 33 ], |
| 34 }], |
| 35 ], |
29 }, | 36 }, |
30 ], | 37 ], |
31 } | 38 } |
OLD | NEW |