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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 [ 'skia_angle', { | 56 [ 'skia_angle', { |
57 'defines': [ | 57 'defines': [ |
58 'SK_ANGLE', | 58 'SK_ANGLE', |
59 ], | 59 ], |
60 'direct_dependent_settings': { | 60 'direct_dependent_settings': { |
61 'defines': [ | 61 'defines': [ |
62 'SK_ANGLE', | 62 'SK_ANGLE', |
63 ], | 63 ], |
64 }, | 64 }, |
65 }], | 65 }], |
| 66 [ 'skia_vulkan', { |
| 67 'defines': [ |
| 68 'SK_VULKAN', |
| 69 ], |
| 70 'direct_dependent_settings': { |
| 71 'defines': [ |
| 72 'SK_VULKAN', |
| 73 ], |
| 74 }, |
| 75 }], |
66 [ 'skia_win_debuggers_path and skia_os == "win"', | 76 [ 'skia_win_debuggers_path and skia_os == "win"', |
67 { | 77 { |
68 'defines': [ | 78 'defines': [ |
69 'SK_USE_CDB', | 79 'SK_USE_CDB', |
70 ], | 80 ], |
71 }, | 81 }, |
72 ], | 82 ], |
73 [ 'skia_android_framework==0', { | 83 [ 'skia_android_framework==0', { |
74 # These defines are not used for skia_android_framework, where we build | 84 # These defines are not used for skia_android_framework, where we build |
75 # one makefile and allow someone to add SK_DEBUG etc for their own | 85 # one makefile and allow someone to add SK_DEBUG etc for their own |
76 # debugging purposes. | 86 # debugging purposes. |
77 'configurations': { | 87 'configurations': { |
78 'Debug': { 'defines': [ 'SK_DEVELOPER=1' ] }, | 88 'Debug': { 'defines': [ 'SK_DEVELOPER=1' ] }, |
79 'Release': { 'defines': [ 'NDEBUG' ] }, | 89 'Release': { 'defines': [ 'NDEBUG' ] }, |
80 'Release_Developer': { | 90 'Release_Developer': { |
81 'inherit_from': ['Release'], | 91 'inherit_from': ['Release'], |
82 'defines': [ 'SK_DEVELOPER=1' ], | 92 'defines': [ 'SK_DEVELOPER=1' ], |
83 }, | 93 }, |
84 }, | 94 }, |
85 }], | 95 }], |
86 ], | 96 ], |
87 }, # end 'target_defaults' | 97 }, # end 'target_defaults' |
88 } | 98 } |
OLD | NEW |