| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 # so we only include the minimum set of views files in sources | 71 # so we only include the minimum set of views files in sources |
| 72 'dependencies!': [ | 72 'dependencies!': [ |
| 73 'views.gyp:views', | 73 'views.gyp:views', |
| 74 ], | 74 ], |
| 75 'link_settings': { | 75 'link_settings': { |
| 76 'libraries': [ | 76 'libraries': [ |
| 77 '-landroid', | 77 '-landroid', |
| 78 ], | 78 ], |
| 79 }, | 79 }, |
| 80 }], | 80 }], |
| 81 [ 'skia_os == "linux"', { | 81 [ 'skia_os == "linux" and skia_vulkan == 1', { |
| 82 'link_settings': { | 82 'link_settings': { |
| 83 'libraries': [ | 83 'libraries': [ |
| 84 '-lX11-xcb', | 84 '-lX11-xcb', |
| 85 ], | 85 ], |
| 86 }, | 86 }, |
| 87 }], | 87 }], |
| 88 ['skia_os != "android"', { | 88 ['skia_os != "android"', { |
| 89 'sources/': [ | 89 'sources/': [ |
| 90 ['exclude', '_android.(h|cpp)$'], | 90 ['exclude', '_android.(h|cpp)$'], |
| 91 ['exclude', 'src/views'], | 91 ['exclude', 'src/views'], |
| 92 ], | 92 ], |
| 93 }], | 93 }], |
| 94 ['skia_os != "linux"', { | 94 ['skia_os != "linux"', { |
| 95 'sources/': [ | 95 'sources/': [ |
| 96 ['exclude', '_unix.(h|cpp)$'], | 96 ['exclude', '_unix.(h|cpp)$'], |
| 97 ['exclude', 'keysym2ucs.c'], | 97 ['exclude', 'keysym2ucs.c'], |
| 98 ], | 98 ], |
| 99 }], | 99 }], |
| 100 ['skia_os != "win"', { | 100 ['skia_os != "win"', { |
| 101 'sources/': [ ['exclude', '_win.(h|cpp)$'], | 101 'sources/': [ ['exclude', '_win.(h|cpp)$'], |
| 102 ], | 102 ], |
| 103 }], | 103 }], |
| 104 ['skia_vulkan == 0', { |
| 105 'sources/': [ ['exclude', 'Vulkan'] |
| 106 ], |
| 107 }], |
| 104 ], | 108 ], |
| 105 }, | 109 }, |
| 106 ], | 110 ], |
| 107 } | 111 } |
| OLD | NEW |