OLD | NEW |
1 # Copyright 2011 The Android Open Source Project | 1 # Copyright 2011 The Android Open Source Project |
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 # | 5 # |
6 # This file is automatically included by gyp_skia when building any target. | 6 # This file is automatically included by gyp_skia when building any target. |
7 | 7 |
8 { | 8 { |
9 'includes': [ | 9 'includes': [ |
10 'common_variables.gypi', | 10 'common_variables.gypi', |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 }], | 63 }], |
64 [ 'skia_vulkan', { | 64 [ 'skia_vulkan', { |
65 'defines': [ | 65 'defines': [ |
66 'SK_VULKAN', | 66 'SK_VULKAN', |
67 ], | 67 ], |
68 'direct_dependent_settings': { | 68 'direct_dependent_settings': { |
69 'defines': [ | 69 'defines': [ |
70 'SK_VULKAN', | 70 'SK_VULKAN', |
71 ], | 71 ], |
72 }, | 72 }, |
| 73 'conditions': [ |
| 74 [ 'skia_vulkan_debug_layers', { |
| 75 'configurations': { |
| 76 'Debug': { 'defines': [ 'SK_ENABLE_VK_LAYERS' ] }, |
| 77 }, |
| 78 }], |
| 79 ], |
73 }], | 80 }], |
74 [ 'skia_command_buffer', { | 81 [ 'skia_command_buffer', { |
75 'defines': [ | 82 'defines': [ |
76 'SK_COMMAND_BUFFER', | 83 'SK_COMMAND_BUFFER', |
77 ], | 84 ], |
78 'direct_dependent_settings': { | 85 'direct_dependent_settings': { |
79 'defines': [ | 86 'defines': [ |
80 'SK_COMMAND_BUFFER', | 87 'SK_COMMAND_BUFFER', |
81 ], | 88 ], |
82 }, | 89 }, |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 [ 'skia_experimental_shadowing', | 122 [ 'skia_experimental_shadowing', |
116 { | 123 { |
117 'defines': [ | 124 'defines': [ |
118 'SK_EXPERIMENTAL_SHADOWING', | 125 'SK_EXPERIMENTAL_SHADOWING', |
119 ], | 126 ], |
120 }, | 127 }, |
121 ], | 128 ], |
122 ], | 129 ], |
123 }, # end 'target_defaults' | 130 }, # end 'target_defaults' |
124 } | 131 } |
OLD | NEW |