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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 ], | 70 ], |
71 }, | 71 }, |
72 'conditions': [ | 72 'conditions': [ |
73 [ 'skia_vulkan_debug_layers', { | 73 [ 'skia_vulkan_debug_layers', { |
74 'configurations': { | 74 'configurations': { |
75 'Debug': { 'defines': [ 'SK_ENABLE_VK_LAYERS' ] }, | 75 'Debug': { 'defines': [ 'SK_ENABLE_VK_LAYERS' ] }, |
76 }, | 76 }, |
77 }], | 77 }], |
78 ], | 78 ], |
79 }], | 79 }], |
80 [ 'skia_command_buffer', { | |
81 'defines': [ | |
82 'SK_COMMAND_BUFFER', | |
83 ], | |
84 'direct_dependent_settings': { | |
85 'defines': [ | |
86 'SK_COMMAND_BUFFER', | |
87 ], | |
88 }, | |
89 }], | |
90 [ 'skia_win_debuggers_path and skia_os == "win"', | 80 [ 'skia_win_debuggers_path and skia_os == "win"', |
91 { | 81 { |
92 'defines': [ | 82 'defines': [ |
93 'SK_USE_CDB', | 83 'SK_USE_CDB', |
94 ], | 84 ], |
95 }, | 85 }, |
96 ], | 86 ], |
97 [ 'skia_android_framework==0', { | 87 [ 'skia_android_framework==0', { |
98 # These defines are not used for skia_android_framework, where we build | 88 # These defines are not used for skia_android_framework, where we build |
99 # one makefile and allow someone to add SK_DEBUG etc for their own | 89 # one makefile and allow someone to add SK_DEBUG etc for their own |
(...skipping 21 matching lines...) Expand all Loading... |
121 [ 'skia_experimental_shadowing', | 111 [ 'skia_experimental_shadowing', |
122 { | 112 { |
123 'defines': [ | 113 'defines': [ |
124 'SK_EXPERIMENTAL_SHADOWING', | 114 'SK_EXPERIMENTAL_SHADOWING', |
125 ], | 115 ], |
126 }, | 116 }, |
127 ], | 117 ], |
128 ], | 118 ], |
129 }, # end 'target_defaults' | 119 }, # end 'target_defaults' |
130 } | 120 } |
OLD | NEW |