Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Side by Side Diff: gyp/libpng.gyp

Issue 1054233002: Try ARMv7 and NEON for Daisy. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | platform_tools/chromeos/bin/chromeos_setup.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 Google Inc. 1 # Copyright 2014 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 { 6 {
7 'variables': { 7 'variables': {
8 'skia_warnings_as_errors': 0, 8 'skia_warnings_as_errors': 0,
9 }, 9 },
10 'targets': [ 10 'targets': [
(...skipping 18 matching lines...) Expand all
29 'include_dirs': [ 29 'include_dirs': [
30 '../third_party/externals/libpng', 30 '../third_party/externals/libpng',
31 # Needed for generated pnglibconf.h 31 # Needed for generated pnglibconf.h
32 '../third_party/libpng', 32 '../third_party/libpng',
33 ], 33 ],
34 }, 34 },
35 'cflags': [ 35 'cflags': [
36 '-w', 36 '-w',
37 '-fvisibility=hidden', 37 '-fvisibility=hidden',
38 ], 38 ],
39 'conditions': [ 39 'defines': [
40 ['not arm_neon', { 40 # TODO: it'd be nice to enable PNG's NEON when possible.
41 'defines': [ 41 'PNG_ARM_NEON_OPT=0',
42 # FIXME: Why is this needed? Without it, pngpriv.h sets it
43 # to 2 if __ARM_NEON is defined, but shouldn't __ARM_NEON
44 # not be defined since arm_neon is 0?
45 'PNG_ARM_NEON_OPT=0',
46 ],
47 }],
48 ], 42 ],
49 'sources': [ 43 'sources': [
50 '../third_party/externals/libpng/png.c', 44 '../third_party/externals/libpng/png.c',
51 '../third_party/externals/libpng/pngerror.c', 45 '../third_party/externals/libpng/pngerror.c',
52 '../third_party/externals/libpng/pngget.c', 46 '../third_party/externals/libpng/pngget.c',
53 '../third_party/externals/libpng/pngmem.c', 47 '../third_party/externals/libpng/pngmem.c',
54 '../third_party/externals/libpng/pngpread.c', 48 '../third_party/externals/libpng/pngpread.c',
55 '../third_party/externals/libpng/pngread.c', 49 '../third_party/externals/libpng/pngread.c',
56 '../third_party/externals/libpng/pngrio.c', 50 '../third_party/externals/libpng/pngrio.c',
57 '../third_party/externals/libpng/pngrtran.c', 51 '../third_party/externals/libpng/pngrtran.c',
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 }, 85 },
92 } 86 }
93 ] 87 ]
94 ] 88 ]
95 } 89 }
96 ] 90 ]
97 ], 91 ],
98 }, 92 },
99 ] 93 ]
100 } 94 }
OLDNEW
« no previous file with comments | « no previous file | platform_tools/chromeos/bin/chromeos_setup.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698