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