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

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

Issue 11470020: Generate shim headers for libpng (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 8 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 | Annotate | Revision Log
« no previous file with comments | « build/shim_headers.gypi ('k') | tools/generate_shim_headers/generate_shim_headers.py » ('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 'variables': { 6 'variables': {
7 'conditions': [ 7 'conditions': [
8 [ 'os_posix == 1 and OS != "mac" and OS != "android"', { 8 [ 'os_posix == 1 and OS != "mac" and OS != "android"', {
9 # Maybe link to system .so once the security concerns are thought 9 # Maybe link to system .so once the security concerns are thought
10 # through, since we already use it due to GTK. 10 # through, since we already use it due to GTK.
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 { 102 {
103 'target_name': 'libpng', 103 'target_name': 'libpng',
104 'type': 'none', 104 'type': 'none',
105 'dependencies': [ 105 'dependencies': [
106 '../zlib/zlib.gyp:zlib', 106 '../zlib/zlib.gyp:zlib',
107 ], 107 ],
108 'direct_dependent_settings': { 108 'direct_dependent_settings': {
109 'cflags': [ 109 'cflags': [
110 '<!@(<(pkg-config) --cflags libpng)', 110 '<!@(<(pkg-config) --cflags libpng)',
111 ], 111 ],
112 'defines': [
113 'USE_SYSTEM_LIBPNG',
114 ],
115 }, 112 },
116 'link_settings': { 113 'link_settings': {
117 'ldflags': [ 114 'ldflags': [
118 '<!@(<(pkg-config) --libs-only-L --libs-only-other libpng)', 115 '<!@(<(pkg-config) --libs-only-L --libs-only-other libpng)',
119 ], 116 ],
120 'libraries': [ 117 'libraries': [
121 '<!@(<(pkg-config) --libs-only-l libpng)', 118 '<!@(<(pkg-config) --libs-only-l libpng)',
122 ], 119 ],
123 }, 120 },
121 'variables': {
122 'headers_root_path': '.',
123 'header_filenames': [
124 'png.h',
125 'pngconf.h',
126 ],
127 },
128 'includes': [
129 '../../build/shim_headers.gypi',
130 ],
124 }, 131 },
125 ], 132 ],
126 }], 133 }],
127 ], 134 ],
128 } 135 }
OLDNEW
« no previous file with comments | « build/shim_headers.gypi ('k') | tools/generate_shim_headers/generate_shim_headers.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698