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
3 # found in the LICENSE file.
8 'target_name': 'libpng',
10 '../zlib/zlib.gyp:zlib',
13 'CHROME_PNG_WRITE_SUPPORT',
38 'direct_dependent_settings': {
43 'CHROME_PNG_WRITE_SUPPORT',
47 'export_dependent_settings': [
48 '../zlib/zlib.gyp:zlib',
50 # TODO(jschuh): http://crbug.com/167187
51 'msvs_disabled_warnings': [ 4267 ],
53 ['OS!="win"', {'product_name': 'png'}],
55 'type': '<(component)',
57 # Chromium libpng does not support building as a shared_library
58 # on non-Windows platforms.
59 'type': 'static_library',
61 ['OS=="win" and component=="shared_library"', {
66 'direct_dependent_settings': {
73 'toolsets': ['target', 'host'],