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

Unified Diff: third_party/libwebp/libwebp.gyp

Issue 14328020: Linux: fix compatibility with libwebp-0.3 for use_system_libwebp=1 case. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 months 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 | « no previous file | tools/compile_test/compile_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libwebp/libwebp.gyp
diff --git a/third_party/libwebp/libwebp.gyp b/third_party/libwebp/libwebp.gyp
index 1eb2217aa2e94bb256165cc6bbcc9be83f38512a..ef623977add87672be8fe4986601478ed637c4c2 100644
--- a/third_party/libwebp/libwebp.gyp
+++ b/third_party/libwebp/libwebp.gyp
@@ -162,7 +162,13 @@
},
'link_settings': {
'libraries': [
- '-lwebp',
+ # Check for presence of webpdemux library, use it if present.
+ '<!(python ../../tools/compile_test/compile_test.py '
jzern 2013/04/18 21:47:01 would this be better written as (DEPTH)/tools ?
Paweł Hajdan Jr. 2013/04/18 22:08:06 Done.
+ '--code "int main() { return 0; }" '
+ '--run-linker '
+ '--on-success "-lwebp -lwebpdemux" '
+ '--on-failure "-lwebp" '
+ '-- -lwebpdemux)',
],
},
}
« no previous file with comments | « no previous file | tools/compile_test/compile_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698