| 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 '../tools/LsanSuppressions.cpp', | 17 '../tools/LsanSuppressions.cpp', |
| 18 ], | 18 ], |
| 19 'includes': [ | 19 'includes': [ |
| 20 'bench.gypi', | 20 'bench.gypi', |
| 21 'gmslides.gypi', | 21 'gmslides.gypi', |
| 22 ], | 22 ], |
| 23 'include_dirs' : [ | 23 'include_dirs' : [ |
| 24 '../src/codec', |
| 24 '../src/image', | 25 '../src/image', |
| 25 ], | 26 ], |
| 26 'dependencies': [ | 27 'dependencies': [ |
| 27 'flags.gyp:flags_common', | 28 'flags.gyp:flags_common', |
| 28 'jsoncpp.gyp:jsoncpp', | 29 'jsoncpp.gyp:jsoncpp', |
| 29 'skia_lib.gyp:skia_lib', | 30 'skia_lib.gyp:skia_lib', |
| 30 'tools.gyp:crash_handler', | 31 'tools.gyp:crash_handler', |
| 31 'tools.gyp:proc_stats', | 32 'tools.gyp:proc_stats', |
| 32 'tools.gyp:thermal_manager', | 33 'tools.gyp:thermal_manager', |
| 33 'tools.gyp:timer', | 34 'tools.gyp:timer', |
| 34 ], | 35 ], |
| 35 'conditions': [ | 36 'conditions': [ |
| 36 ['skia_android_framework', { | 37 ['skia_android_framework', { |
| 37 'libraries': [ | 38 'libraries': [ |
| 38 'skia_static.a', | 39 'skia_static.a', |
| 39 '-lhwui', | 40 '-lhwui', |
| 40 ], | 41 ], |
| 41 'include_dirs': [ | 42 'include_dirs': [ |
| 42 '../../../frameworks/base/libs/hwui/', | 43 '../../../frameworks/base/libs/hwui/', |
| 43 ], | 44 ], |
| 44 'dependencies': [ | 45 'dependencies': [ |
| 45 'tools.gyp:android_utils', | 46 'tools.gyp:android_utils', |
| 46 ], | 47 ], |
| 47 }], | 48 }], |
| 48 ], | 49 ], |
| 49 }, | 50 }, |
| 50 ], | 51 ], |
| 51 } | 52 } |
| OLD | NEW |