| 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 hello world example. | 5 # GYP file to build visual bench tool |
| 6 { | 6 { |
| 7 'targets': [ | 7 'targets': [ |
| 8 { | 8 { |
| 9 'target_name': 'HelloWorld', | 9 'target_name': 'visualbench', |
| 10 'type': 'executable', | 10 'type': 'executable', |
| 11 'mac_bundle' : 1, | 11 'mac_bundle' : 1, |
| 12 'include_dirs' : [ | 12 'include_dirs' : [ |
| 13 '../include/gpu', | 13 '../include/gpu', |
| 14 '../src/images', |
| 14 ], | 15 ], |
| 15 'sources': [ | 16 'sources': [ |
| 16 '../example/HelloWorld.h', | 17 '../tools/VisualBench.h', |
| 17 '../example/HelloWorld.cpp', | 18 '../tools/VisualBench.cpp', |
| 19 '../src/images/SkForceLinking.cpp', |
| 18 ], | 20 ], |
| 19 'dependencies': [ | 21 'dependencies': [ |
| 22 'flags.gyp:flags_common', |
| 23 'images.gyp:images', |
| 20 'skia_lib.gyp:skia_lib', | 24 'skia_lib.gyp:skia_lib', |
| 25 'tools.gyp:timer', |
| 21 'views.gyp:views', | 26 'views.gyp:views', |
| 22 ], | 27 ], |
| 23 'conditions' : [ | 28 'conditions' : [ |
| 24 [ 'skia_os == "win"', { | 29 [ 'skia_os == "win"', { |
| 25 'sources' : [ | 30 'sources' : [ |
| 26 '../src/views/win/SkOSWindow_Win.cpp', | 31 '../src/views/win/SkOSWindow_Win.cpp', |
| 27 '../src/views/win/skia_win.cpp', | 32 '../src/views/win/skia_win.cpp', |
| 28 ], | 33 ], |
| 29 }], | 34 }], |
| 30 [ 'skia_os == "mac"', { | 35 [ 'skia_os == "mac"', { |
| (...skipping 15 matching lines...) Expand all Loading... |
| 46 'INFOPLIST_FILE' : '../example/mac/HelloWorld-Info.plist', | 51 'INFOPLIST_FILE' : '../example/mac/HelloWorld-Info.plist', |
| 47 }, | 52 }, |
| 48 'mac_bundle_resources' : [ | 53 'mac_bundle_resources' : [ |
| 49 '../example/mac/HelloWorld.xib' | 54 '../example/mac/HelloWorld.xib' |
| 50 ], | 55 ], |
| 51 }], | 56 }], |
| 52 ], | 57 ], |
| 53 }, | 58 }, |
| 54 ], | 59 ], |
| 55 } | 60 } |
| OLD | NEW |