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

Unified Diff: third_party/libpng/libpng.gyp

Issue 2332843004: Remove GYP files. (Closed)
Patch Set: Merge Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/libphonenumber/libphonenumber.gyp ('k') | third_party/libsync/libsync.gyp » ('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
deleted file mode 100644
index 3c42401baa89318fbe6fc7abf80284e1d8e50e85..0000000000000000000000000000000000000000
--- a/third_party/libpng/libpng.gyp
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright (c) 2012 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-{
- 'targets': [
- {
- 'target_name': 'libpng',
- 'dependencies': [
- '../zlib/zlib.gyp:zlib',
- ],
- 'variables': {
- # libpng checks that the width is not greater than PNG_SIZE_MAX.
- # On platforms where size_t is 64-bits, this comparison will always
- # be false.
- 'clang_warning_flags': [ '-Wno-tautological-constant-out-of-range-compare' ],
- },
- 'sources': [
- 'png.c',
- 'png.h',
- 'pngconf.h',
- 'pngerror.c',
- 'pngget.c',
- 'pnginfo.h',
- 'pnglibconf.h',
- 'pngmem.c',
- 'pngpread.c',
- 'pngprefix.h',
- 'pngpriv.h',
- 'pngread.c',
- 'pngrio.c',
- 'pngrtran.c',
- 'pngrutil.c',
- 'pngset.c',
- 'pngstruct.h',
- 'pngtrans.c',
- 'pngwio.c',
- 'pngwrite.c',
- 'pngwtran.c',
- 'pngwutil.c',
- ],
- 'direct_dependent_settings': {
- 'include_dirs': [
- '.',
- ],
- },
- 'export_dependent_settings': [
- '../zlib/zlib.gyp:zlib',
- ],
- 'msvs_disabled_warnings': [
- 4267, # TODO(jschuh): http://crbug.com/167187
- 4146, # Unary minus applied to unsigned type.
- ],
- 'conditions': [
- # Disable ARM optimizations on IOS. Can't find a way to get gyp to even try
- # to compile the optimization files. This works fine on GN.
- [ 'OS=="ios"', {
- 'defines': [
- 'PNG_ARM_NEON_OPT=0',
- ],
- }],
-
- # SSE optimizations
- [ 'target_arch=="ia32" or target_arch=="x64"', {
- 'defines': [
- 'PNG_INTEL_SSE_OPT=1',
- ],
- 'sources': [
- 'contrib/intel/intel_init.c',
- 'contrib/intel/filter_sse2_intrinsics.c',
- ],
- }],
-
- # ARM optimizations
- [ '(target_arch=="arm" or target_arch=="arm64") and OS!="ios" and arm_neon==1', {
- 'defines': [
- 'PNG_ARM_NEON_OPT=2',
- 'PNG_ARM_NEON_IMPLEMENTATION=1',
- ],
- 'sources': [
- 'arm/arm_init.c',
- 'arm/filter_neon_intrinsics.c',
- ],
- }],
-
- ['OS!="win"', {'product_name': 'png'}],
- ['OS=="win"', {
- 'type': '<(component)',
- }, {
- # Chromium libpng does not support building as a shared_library
- # on non-Windows platforms.
- 'type': 'static_library',
- }],
- ['OS=="win" and component=="shared_library"', {
- 'defines': [
- 'PNG_BUILD_DLL',
- 'PNG_NO_MODULEDEF',
- ],
- 'direct_dependent_settings': {
- 'defines': [
- 'PNG_USE_DLL',
- ],
- },
- }],
- ['OS=="android"', {
- 'toolsets': ['target', 'host'],
- }],
- ],
- },
- ]
-}
« no previous file with comments | « third_party/libphonenumber/libphonenumber.gyp ('k') | third_party/libsync/libsync.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698