OLD | NEW |
---|---|
1 # Copyright 2015 Google Inc. | 1 # Copyright 2015 Google Inc. |
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 GYP file stores the dependencies necessary to build Skia on the Android | 6 # This GYP file stores the dependencies necessary to build Skia on the Android |
7 # platform. The OS doesn't provide many stable libraries as part of the | 7 # platform. The OS doesn't provide many stable libraries as part of the |
8 # distribution so we have to build a few of them ourselves. | 8 # distribution so we have to build a few of them ourselves. |
9 # | 9 # |
10 # NOTE: We tried adding the gyp file to the android/ directory at the root of | 10 # NOTE: We tried adding the gyp file to the android/ directory at the root of |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
176 '../third_party/externals/jpeg/jidctfst.c', | 176 '../third_party/externals/jpeg/jidctfst.c', |
177 '../third_party/externals/jpeg/jidctint.c', | 177 '../third_party/externals/jpeg/jidctint.c', |
178 '../third_party/externals/jpeg/jidctred.c', | 178 '../third_party/externals/jpeg/jidctred.c', |
179 '../third_party/externals/jpeg/jmem-ashmem.c', | 179 '../third_party/externals/jpeg/jmem-ashmem.c', |
180 '../third_party/externals/jpeg/jmemmgr.c', | 180 '../third_party/externals/jpeg/jmemmgr.c', |
181 '../third_party/externals/jpeg/jquant1.c', | 181 '../third_party/externals/jpeg/jquant1.c', |
182 '../third_party/externals/jpeg/jquant2.c', | 182 '../third_party/externals/jpeg/jquant2.c', |
183 '../third_party/externals/jpeg/jutils.c', | 183 '../third_party/externals/jpeg/jutils.c', |
184 ], | 184 ], |
185 'conditions': [ | 185 'conditions': [ |
186 [ 'arm_neon == 1 and skia_clang_build == 0', | 186 #[ 'arm_neon == 1 and skia_clang_build == 0', |
msarett
2015/08/10 17:28:21
There are namespace conflicts between simd arm/neo
| |
187 { | 187 # { |
188 'sources' : [ | 188 # 'sources' : [ |
189 '../third_party/externals/jpeg/armv6_idct.S', | 189 # '../third_party/externals/jpeg/armv6_idct.S', |
190 '../third_party/externals/jpeg/jsimd_arm_neon.S', | 190 # '../third_party/externals/jpeg/jsimd_arm_neon.S', |
191 '../third_party/externals/jpeg/jsimd_neon.c', | 191 # '../third_party/externals/jpeg/jsimd_neon.c', |
192 ], | 192 # ], |
193 'defines' : [ | 193 # 'defines' : [ |
194 'NV_ARM_NEON', | 194 # 'NV_ARM_NEON', |
195 ], | 195 # ], |
196 }, | 196 # }, |
197 ], | 197 #], |
198 [ '"mips" in skia_arch_type and mips_dsp == 2', | 198 [ '"mips" in skia_arch_type and mips_dsp == 2', |
199 { | 199 { |
200 'sources' : [ | 200 'sources' : [ |
201 '../third_party/externals/jpeg/mips_jidctfst.c', | 201 '../third_party/externals/jpeg/mips_jidctfst.c', |
202 '../third_party/externals/jpeg/mips_idct_le.S', | 202 '../third_party/externals/jpeg/mips_idct_le.S', |
203 ], | 203 ], |
204 'defines' : [ | 204 'defines' : [ |
205 'ANDROID_MIPS_IDCT', | 205 'ANDROID_MIPS_IDCT', |
206 ], | 206 ], |
207 }, | 207 }, |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
320 '../../../tools/VisualBench/', | 320 '../../../tools/VisualBench/', |
321 ], | 321 ], |
322 'sources': [ | 322 'sources': [ |
323 '../apps/visualbench/src/main/jni/SkOSWindow_AndroidNative.cpp', | 323 '../apps/visualbench/src/main/jni/SkOSWindow_AndroidNative.cpp', |
324 '../apps/visualbench/src/main/jni/main.cpp', | 324 '../apps/visualbench/src/main/jni/main.cpp', |
325 ], | 325 ], |
326 }, | 326 }, |
327 }, | 327 }, |
328 ] | 328 ] |
329 } | 329 } |
OLD | NEW |