OLD | NEW |
1 # Copyright 2016 Google Inc. | 1 # Copyright 2016 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 ], |
(...skipping 24 matching lines...) Expand all Loading... |
35 'gputest.gyp:skgputest', | 35 'gputest.gyp:skgputest', |
36 'jsoncpp.gyp:jsoncpp', | 36 'jsoncpp.gyp:jsoncpp', |
37 'skia_lib.gyp:skia_lib', | 37 'skia_lib.gyp:skia_lib', |
38 'tools.gyp:crash_handler', | 38 'tools.gyp:crash_handler', |
39 'tools.gyp:proc_stats', | 39 'tools.gyp:proc_stats', |
40 'tools.gyp:resources', | 40 'tools.gyp:resources', |
41 'tools.gyp:sk_tool_utils', | 41 'tools.gyp:sk_tool_utils', |
42 'tools.gyp:timer', | 42 'tools.gyp:timer', |
43 'tools.gyp:url_data_manager', | 43 'tools.gyp:url_data_manager', |
44 ], | 44 ], |
| 45 'conditions' : [ |
| 46 [ 'skia_os == "android"', { |
| 47 'dependencies': [ |
| 48 'android_deps.gyp:Android_EntryPoint', |
| 49 'android_deps.gyp:native_app_glue', |
| 50 ], |
| 51 'link_settings': { |
| 52 'libraries': [ |
| 53 '-landroid', |
| 54 ], |
| 55 }, |
| 56 }], |
| 57 ['skia_os != "android"', { |
| 58 'sources/': [ ['exclude', '_android.(h|cpp)$'], |
| 59 ], |
| 60 }], |
| 61 ['skia_os != "win"', { |
| 62 'sources/': [ ['exclude', '_win.(h|cpp)$'], |
| 63 ], |
| 64 }], |
| 65 ], |
45 }, | 66 }, |
46 ], | 67 ], |
47 } | 68 } |
OLD | NEW |