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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/shim_headers.gypi ('k') | tools/generate_shim_headers/generate_shim_headers.py » ('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 634c0e3e6f0f8ae72264a5d15d07efbdd7c44a33..2a20b6bffc2cd3662d8e8b4b3457f5c1acf93379 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',
+ ],
},
],
}],
« 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