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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 [ 'skia_arch_type == "mips" 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 }, |
208 ], | 208 ], |
(...skipping 111 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 |