| 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 'includes': [ | 7 'includes': [ |
| 8 'apptype_console.gypi', | 8 'apptype_console.gypi', |
| 9 ], | 9 ], |
| 10 'targets': [ | 10 'targets': [ |
| 11 { | 11 { |
| 12 'target_name': 'visualbench', | 12 'target_name': 'visualbench', |
| 13 'type': 'executable', | 13 'type': 'executable', |
| 14 'includes' : [ | 14 'includes' : [ |
| 15 'gmslides.gypi', | 15 'gmslides.gypi', |
| 16 ], | 16 ], |
| 17 'include_dirs' : [ | 17 'include_dirs' : [ |
| 18 '../bench', | 18 '../bench', |
| 19 '../include/gpu', | 19 '../include/gpu', |
| 20 '../include/private', | 20 '../include/private', |
| 21 '../src/core', | 21 '../src/core', |
| 22 '../src/effects', | 22 '../src/effects', |
| 23 '../src/images', | 23 '../src/images', |
| 24 '../src/pdf', |
| 24 ], | 25 ], |
| 25 'sources': [ | 26 'sources': [ |
| 26 '../gm/gm.cpp', | 27 '../gm/gm.cpp', |
| 27 '<!@(python find.py ../tools/VisualBench "*.cpp")', | 28 '<!@(python find.py ../tools/VisualBench "*.cpp")', |
| 28 '<!@(python find.py ../tools/VisualBench "*.h")', | 29 '<!@(python find.py ../tools/VisualBench "*.h")', |
| 29 '<!@(python find.py ../bench "*.cpp")', | 30 '<!@(python find.py ../bench "*.cpp")', |
| 30 ], | 31 ], |
| 31 'sources!': [ | 32 'sources!': [ |
| 32 '../bench/nanobench.cpp', | 33 '../bench/nanobench.cpp', |
| 33 '../bench/nanobenchAndroid.cpp', | 34 '../bench/nanobenchAndroid.cpp', |
| 34 ], | 35 ], |
| 35 'dependencies': [ | 36 'dependencies': [ |
| 36 'etc1.gyp:libetc1', | 37 'etc1.gyp:libetc1', |
| 37 'flags.gyp:flags', | 38 'flags.gyp:flags', |
| 38 'jsoncpp.gyp:jsoncpp', | 39 'jsoncpp.gyp:jsoncpp', |
| 39 'gputest.gyp:skgputest', | 40 'gputest.gyp:skgputest', |
| 41 'pdf.gyp:pdf', |
| 40 'skia_lib.gyp:skia_lib', | 42 'skia_lib.gyp:skia_lib', |
| 41 'tools.gyp:proc_stats', | 43 'tools.gyp:proc_stats', |
| 42 'tools.gyp:sk_tool_utils', | 44 'tools.gyp:sk_tool_utils', |
| 43 'tools.gyp:timer', | 45 'tools.gyp:timer', |
| 44 'tools.gyp:url_data_manager', | 46 'tools.gyp:url_data_manager', |
| 45 'views.gyp:views', | 47 'views.gyp:views', |
| 46 ], | 48 ], |
| 47 'conditions' : [ | 49 'conditions' : [ |
| 48 [ 'skia_os == "android" and skia_use_sdl == 0', { | 50 [ 'skia_os == "android" and skia_use_sdl == 0', { |
| 49 'dependencies': [ | 51 'dependencies': [ |
| (...skipping 10 matching lines...) Expand all Loading... |
| 60 }], | 62 }], |
| 61 [ 'skia_os == "android" and skia_use_sdl == 1', { | 63 [ 'skia_os == "android" and skia_use_sdl == 1', { |
| 62 'dependencies': [ | 64 'dependencies': [ |
| 63 'android_deps.gyp:Android_VisualBenchSDL', | 65 'android_deps.gyp:Android_VisualBenchSDL', |
| 64 ], | 66 ], |
| 65 }], | 67 }], |
| 66 ], | 68 ], |
| 67 }, | 69 }, |
| 68 ], | 70 ], |
| 69 } | 71 } |
| OLD | NEW |