| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 'Debug': { 'defines': [ 'SK_DEBUG=1' ] }, | 96 'Debug': { 'defines': [ 'SK_DEBUG=1' ] }, |
| 97 'Release': { 'defines': [ 'NDEBUG' ] }, | 97 'Release': { 'defines': [ 'NDEBUG' ] }, |
| 98 'Release_Developer': { | 98 'Release_Developer': { |
| 99 'inherit_from': ['Release'], | 99 'inherit_from': ['Release'], |
| 100 'defines': [ 'SK_DEBUG=1' ], | 100 'defines': [ 'SK_DEBUG=1' ], |
| 101 'conditions': [ | 101 'conditions': [ |
| 102 [ 'skia_clang_build == 0', { | 102 [ 'skia_clang_build == 0', { |
| 103 # gcc has problems providing useful warnings of these types for | 103 # gcc has problems providing useful warnings of these types for |
| 104 # optimized builds. | 104 # optimized builds. |
| 105 'cflags': [ | 105 'cflags': [ |
| 106 '-Wno-array-bounds', |
| 106 '-Wno-maybe-uninitialized', | 107 '-Wno-maybe-uninitialized', |
| 107 '-Wno-strict-overflow', | 108 '-Wno-strict-overflow', |
| 108 ], | 109 ], |
| 109 }], | 110 }], |
| 110 ], | 111 ], |
| 111 }, | 112 }, |
| 112 }, | 113 }, |
| 113 }], | 114 }], |
| 114 ], | 115 ], |
| 115 }, # end 'target_defaults' | 116 }, # end 'target_defaults' |
| 116 } | 117 } |
| OLD | NEW |