summaryrefslogtreecommitdiffstats
path: root/third_party/libpng
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-18 01:51:37 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-18 01:51:37 +0000
commitddc6d877066d01a136e1b40c86865760d8cf414a (patch)
tree35b8c1ca59daebf2cf2c8770943fed28206ea094 /third_party/libpng
parent0a57c025d1e88036c4ae01b3293a74fc84834d04 (diff)
downloadchromium_src-ddc6d877066d01a136e1b40c86865760d8cf414a.zip
chromium_src-ddc6d877066d01a136e1b40c86865760d8cf414a.tar.gz
chromium_src-ddc6d877066d01a136e1b40c86865760d8cf414a.tar.bz2
Generate shim headers for libpng
BUG=165264 Review URL: https://codereview.chromium.org/11470020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173618 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/libpng')
-rw-r--r--third_party/libpng/libpng.gyp13
1 files changed, 10 insertions, 3 deletions
diff --git a/third_party/libpng/libpng.gyp b/third_party/libpng/libpng.gyp
index 634c0e3..2a20b6b 100644
--- a/third_party/libpng/libpng.gyp
+++ b/third_party/libpng/libpng.gyp
@@ -109,9 +109,6 @@
'cflags': [
'<!@(<(pkg-config) --cflags libpng)',
],
- 'defines': [
- 'USE_SYSTEM_LIBPNG',
- ],
},
'link_settings': {
'ldflags': [
@@ -121,6 +118,16 @@
'<!@(<(pkg-config) --libs-only-l libpng)',
],
},
+ 'variables': {
+ 'headers_root_path': '.',
+ 'header_filenames': [
+ 'png.h',
+ 'pngconf.h',
+ ],
+ },
+ 'includes': [
+ '../../build/shim_headers.gypi',
+ ],
},
],
}],