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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libpng/libpng.gyp
diff --git a/third_party/libpng/libpng.gyp b/third_party/libpng/libpng.gyp
index 48b3fa409c24e80d9df8e0c4623f634943c8de82..8d8dd9d460aedad58fa7fc4df2571469c89f4f13 100644
--- a/third_party/libpng/libpng.gyp
+++ b/third_party/libpng/libpng.gyp
@@ -6,6 +6,7 @@
'targets': [
{
'target_name': 'libpng',
+ 'toolsets': ['target', 'host'],
'dependencies': [
'../zlib/zlib.gyp:zlib',
],
@@ -15,25 +16,26 @@
},
'defines': [
'CHROME_PNG_WRITE_SUPPORT',
- 'PNG_USER_CONFIG',
],
'sources': [
'png.c',
'png.h',
'pngconf.h',
+ 'pngdebug.h',
'pngerror.c',
- 'pnggccrd.c',
'pngget.c',
+ 'pnginfo.h',
+ 'pnglibconf.h',
'pngmem.c',
'pngpread.c',
+ 'pngpriv.h',
'pngread.c',
'pngrio.c',
'pngrtran.c',
'pngrutil.c',
'pngset.c',
+ 'pngstruct.h',
'pngtrans.c',
- 'pngusr.h',
- 'pngvcrd.c',
'pngwio.c',
'pngwrite.c',
'pngwtran.c',
@@ -74,7 +76,6 @@
},
}],
['OS=="android"', {
- 'toolsets': ['target', 'host'],
'defines': [
'CHROME_PNG_READ_PACK_SUPPORT', # Required by freetype.
],
@@ -84,6 +85,21 @@
],
},
}],
+ ['_toolset=="target" and (target_arch=="arm" or target_arch=="arm64" or target_arch=="armv7")', {
+ 'sources': [
+ 'arm/arm_init.c',
+ 'arm/filter_neon.S',
+ 'arm/filter_neon_intrinsics.c',
+ ],
+ 'defines': [
+ 'PNG_ARM_NEON_OPT=2',
+ ],
+ }],
+ ['OS=="ios"', {
+ 'defines': [
+ 'PNG_ARM_NEON_OPT=0',
+ ],
+ }],
],
},
]
« 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