Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 { | |
| 6 'targets': [ | |
| 7 { | |
| 8 'target_name': 'libwebp', | |
| 9 'type': 'none', | |
| 10 'direct_dependent_settings': { | |
| 11 'defines': [ | |
| 12 'ENABLE_WEBP', | |
| 13 ], | |
| 14 }, | |
| 15 'link_settings': { | |
| 16 'libraries': [ | |
| 17 # Check for presence of webpdemux library, use it if present. | |
|
Ryan Sleevi
2013/04/25 22:19:19
I don't suppose you can just treat this as a varia
Paweł Hajdan Jr.
2013/04/25 22:41:50
I could make it require libwebp-0.3...
Ryan Sleevi
2013/04/25 23:12:40
How is this not exactly that - attempting to detec
Paweł Hajdan Jr.
2013/04/26 00:55:18
I'll take a closer look at how libwebp handles SON
Paweł Hajdan Jr.
2013/04/26 18:21:40
I have further investigated this. Chrome binary bu
| |
| 18 '<!(python <(DEPTH)/tools/compile_test/compile_test.py ' | |
| 19 '--code "int main() { return 0; }" ' | |
| 20 '--run-linker ' | |
| 21 '--on-success "-lwebp -lwebpdemux" ' | |
| 22 '--on-failure "-lwebp" ' | |
| 23 '-- -lwebpdemux)', | |
| 24 ], | |
| 25 }, | |
| 26 } | |
| 27 ], | |
| 28 } | |
| OLD | NEW |