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', |
+ ], |
}, |
], |
}], |