| 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 [ 'skia_android_framework==0', { | 95 [ 'skia_android_framework==0', { |
| 96 # These defines are not used for skia_android_framework, where we build | 96 # These defines are not used for skia_android_framework, where we build |
| 97 # one makefile and allow someone to add SK_DEBUG etc for their own | 97 # one makefile and allow someone to add SK_DEBUG etc for their own |
| 98 # debugging purposes. | 98 # debugging purposes. |
| 99 'configurations': { | 99 'configurations': { |
| 100 'Debug': { 'defines': [ 'SK_DEBUG=1' ] }, | 100 'Debug': { 'defines': [ 'SK_DEBUG=1' ] }, |
| 101 'Release': { 'defines': [ 'NDEBUG' ] }, | 101 'Release': { 'defines': [ 'NDEBUG' ] }, |
| 102 'Release_Developer': { | 102 'Release_Developer': { |
| 103 'inherit_from': ['Release'], | 103 'inherit_from': ['Release'], |
| 104 'defines': [ 'SK_DEBUG=1' ], | 104 'defines': [ 'SK_DEBUG=1' ], |
| 105 'conditions': [ |
| 106 [ 'skia_clang_build == 0', { |
| 107 # gcc has problems providing useful warnings of these types for |
| 108 # optimized builds. |
| 109 'cflags': [ |
| 110 '-Wno-maybe-uninitialized', |
| 111 '-Wno-strict-overflow', |
| 112 ], |
| 113 }], |
| 114 ], |
| 105 }, | 115 }, |
| 106 }, | 116 }, |
| 107 }], | 117 }], |
| 108 ], | 118 ], |
| 109 }, # end 'target_defaults' | 119 }, # end 'target_defaults' |
| 110 } | 120 } |
| OLD | NEW |