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

Side by Side Diff: third_party/libpng/libpng.gyp

Issue 1509773004: CL for perf tryjob on android Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « third_party/libpng/arm/filter_neon_intrinsics.c ('k') | third_party/libpng/png.h » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'libpng', 8 'target_name': 'libpng',
9 'toolsets': ['target', 'host'],
9 'dependencies': [ 10 'dependencies': [
10 '../zlib/zlib.gyp:zlib', 11 '../zlib/zlib.gyp:zlib',
11 ], 12 ],
12 'variables': { 13 'variables': {
13 # Upstream uses self-assignment to avoid warnings. 14 # Upstream uses self-assignment to avoid warnings.
14 'clang_warning_flags': [ '-Wno-self-assign' ] 15 'clang_warning_flags': [ '-Wno-self-assign' ]
15 }, 16 },
16 'defines': [ 17 'defines': [
17 'CHROME_PNG_WRITE_SUPPORT', 18 'CHROME_PNG_WRITE_SUPPORT',
18 'PNG_USER_CONFIG',
19 ], 19 ],
20 'sources': [ 20 'sources': [
21 'png.c', 21 'png.c',
22 'png.h', 22 'png.h',
23 'pngconf.h', 23 'pngconf.h',
24 'pngdebug.h',
24 'pngerror.c', 25 'pngerror.c',
25 'pnggccrd.c',
26 'pngget.c', 26 'pngget.c',
27 'pnginfo.h',
28 'pnglibconf.h',
27 'pngmem.c', 29 'pngmem.c',
28 'pngpread.c', 30 'pngpread.c',
31 'pngpriv.h',
29 'pngread.c', 32 'pngread.c',
30 'pngrio.c', 33 'pngrio.c',
31 'pngrtran.c', 34 'pngrtran.c',
32 'pngrutil.c', 35 'pngrutil.c',
33 'pngset.c', 36 'pngset.c',
37 'pngstruct.h',
34 'pngtrans.c', 38 'pngtrans.c',
35 'pngusr.h',
36 'pngvcrd.c',
37 'pngwio.c', 39 'pngwio.c',
38 'pngwrite.c', 40 'pngwrite.c',
39 'pngwtran.c', 41 'pngwtran.c',
40 'pngwutil.c', 42 'pngwutil.c',
41 ], 43 ],
42 'direct_dependent_settings': { 44 'direct_dependent_settings': {
43 'include_dirs': [ 45 'include_dirs': [
44 '.', 46 '.',
45 ], 47 ],
46 'defines': [ 48 'defines': [
(...skipping 20 matching lines...) Expand all
67 'PNG_BUILD_DLL', 69 'PNG_BUILD_DLL',
68 'PNG_NO_MODULEDEF', 70 'PNG_NO_MODULEDEF',
69 ], 71 ],
70 'direct_dependent_settings': { 72 'direct_dependent_settings': {
71 'defines': [ 73 'defines': [
72 'PNG_USE_DLL', 74 'PNG_USE_DLL',
73 ], 75 ],
74 }, 76 },
75 }], 77 }],
76 ['OS=="android"', { 78 ['OS=="android"', {
77 'toolsets': ['target', 'host'],
78 'defines': [ 79 'defines': [
79 'CHROME_PNG_READ_PACK_SUPPORT', # Required by freetype. 80 'CHROME_PNG_READ_PACK_SUPPORT', # Required by freetype.
80 ], 81 ],
81 'direct_dependent_settings': { 82 'direct_dependent_settings': {
82 'defines': [ 83 'defines': [
83 'CHROME_PNG_READ_PACK_SUPPORT', 84 'CHROME_PNG_READ_PACK_SUPPORT',
84 ], 85 ],
85 }, 86 },
86 }], 87 }],
88 ['_toolset=="target" and (target_arch=="arm" or target_arch=="arm64" or target_arch=="armv7")', {
89 'sources': [
90 'arm/arm_init.c',
91 'arm/filter_neon.S',
92 'arm/filter_neon_intrinsics.c',
93 ],
94 'defines': [
95 'PNG_ARM_NEON_OPT=2',
96 ],
97 }],
98 ['OS=="ios"', {
99 'defines': [
100 'PNG_ARM_NEON_OPT=0',
101 ],
102 }],
87 ], 103 ],
88 }, 104 },
89 ] 105 ]
90 } 106 }
OLDNEW
« no previous file with comments | « third_party/libpng/arm/filter_neon_intrinsics.c ('k') | third_party/libpng/png.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698