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