| 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 performance testbench. | 5 # GYP file to build performance testbench. |
| 6 # | 6 # |
| 7 { | 7 { |
| 8 'includes': [ | 8 'includes': [ |
| 9 'apptype_console.gypi', | 9 'apptype_console.gypi', |
| 10 ], | 10 ], |
| 11 'targets': [ | 11 'targets': [ |
| 12 { | 12 { |
| 13 'target_name': 'nanobench', | 13 'target_name': 'nanobench', |
| 14 'type': 'executable', | 14 'type': 'executable', |
| 15 'sources': [ | 15 'sources': [ |
| 16 '../gm/gm.cpp', | 16 '../gm/gm.cpp', |
| 17 '../bench/CodecBench.cpp', | |
| 18 '../bench/DecodingBench.cpp', | |
| 19 '../bench/DecodingSubsetBench.cpp', | |
| 20 '../bench/GMBench.cpp', | |
| 21 '../bench/RecordingBench.cpp', | |
| 22 '../bench/SKPAnimationBench.cpp', | |
| 23 '../bench/SKPBench.cpp', | |
| 24 '../bench/nanobench.cpp', | |
| 25 ], | 17 ], |
| 26 'includes': [ | 18 'includes': [ |
| 27 'bench.gypi', | 19 'bench.gypi', |
| 28 'gmslides.gypi', | 20 'gmslides.gypi', |
| 29 ], | 21 ], |
| 30 'dependencies': [ | 22 'dependencies': [ |
| 31 'flags.gyp:flags_common', | 23 'flags.gyp:flags_common', |
| 32 'jsoncpp.gyp:jsoncpp', | 24 'jsoncpp.gyp:jsoncpp', |
| 33 'skia_lib.gyp:skia_lib', | 25 'skia_lib.gyp:skia_lib', |
| 34 'tools.gyp:crash_handler', | 26 'tools.gyp:crash_handler', |
| 35 'tools.gyp:proc_stats', | 27 'tools.gyp:proc_stats', |
| 36 'tools.gyp:timer', | 28 'tools.gyp:timer', |
| 37 ], | 29 ], |
| 38 'conditions': [ | 30 'conditions': [ |
| 39 ['skia_android_framework', { | 31 ['skia_android_framework', { |
| 40 'libraries': [ | 32 'libraries': [ |
| 41 '-lskia', | 33 '-lskia', |
| 42 '-landroid', | 34 '-landroid', |
| 43 '-lgui', | 35 '-lgui', |
| 44 '-lhwui', | 36 '-lhwui', |
| 45 '-lutils', | 37 '-lutils', |
| 46 ], | 38 ], |
| 47 'include_dirs': [ | 39 'include_dirs': [ |
| 48 '../../../frameworks/base/libs/hwui/', | 40 '../../../frameworks/base/libs/hwui/', |
| 49 '../../../frameworks/native/include/', | 41 '../../../frameworks/native/include/', |
| 50 ], | 42 ], |
| 51 'sources': [ | |
| 52 '../bench/nanobenchAndroid.cpp', | |
| 53 ], | |
| 54 'dependencies': [ | 43 'dependencies': [ |
| 55 'utils.gyp:android_utils', | 44 'utils.gyp:android_utils', |
| 56 ], | 45 ], |
| 57 }], | 46 }], |
| 58 ], | 47 ], |
| 59 }, | 48 }, |
| 60 ], | 49 ], |
| 61 } | 50 } |
| OLD | NEW |