OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # This gypi file handles the removal of platform-specific files from the | 5 # This gypi file handles the removal of platform-specific files from the |
6 # Skia build. | 6 # Skia build. |
7 { | 7 { |
8 'includes': [ | 8 'includes': [ |
9 # skia_for_chromium_defines.gypi defines skia_for_chromium_defines | 9 # skia_for_chromium_defines.gypi defines skia_for_chromium_defines |
10 '../third_party/skia/gyp/skia_for_chromium_defines.gypi', | 10 '../third_party/skia/gyp/skia_for_chromium_defines.gypi', |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 'direct_dependent_settings': { | 104 'direct_dependent_settings': { |
105 'defines': [ | 105 'defines': [ |
106 'SK_USE_POSIX_THREADS', | 106 'SK_USE_POSIX_THREADS', |
107 ], | 107 ], |
108 }, | 108 }, |
109 }], | 109 }], |
110 | 110 |
111 # Neon support. | 111 # Neon support. |
112 [ 'target_arch == "arm" and arm_version >= 7 and arm_neon == 1', { | 112 [ 'target_arch == "arm" and arm_version >= 7 and arm_neon == 1', { |
113 'defines': [ | 113 'defines': [ |
| 114 'SK_ARM_HAS_NEON', |
114 '__ARM_HAVE_NEON', | 115 '__ARM_HAVE_NEON', |
115 ], | 116 ], |
116 }], | 117 }], |
117 [ 'target_arch == "arm" and arm_version >= 7 and arm_neon_optional == 1', { | 118 [ 'target_arch == "arm" and arm_version >= 7 and arm_neon_optional == 1', { |
118 'defines': [ | 119 'defines': [ |
| 120 'SK_ARM_HAS_OPTIONAL_NEON', |
119 '__ARM_HAVE_OPTIONAL_NEON_SUPPORT', | 121 '__ARM_HAVE_OPTIONAL_NEON_SUPPORT', |
120 ], | 122 ], |
121 }], | 123 }], |
122 ], | 124 ], |
123 | 125 |
124 'variables': { | 126 'variables': { |
125 'variables': { | 127 'variables': { |
126 'conditions': [ | 128 'conditions': [ |
127 ['OS== "ios"', { | 129 ['OS== "ios"', { |
128 'skia_support_gpu': 0, | 130 'skia_support_gpu': 0, |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 # re-export if they include Skia headers in their public headers. | 214 # re-export if they include Skia headers in their public headers. |
213 'all_dependent_settings': { | 215 'all_dependent_settings': { |
214 'include_dirs': [ | 216 'include_dirs': [ |
215 '..', | 217 '..', |
216 'config', | 218 'config', |
217 ], | 219 ], |
218 }, | 220 }, |
219 | 221 |
220 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800], | 222 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800], |
221 } | 223 } |
OLD | NEW |