Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'use_system_libwebp%': 0, | 7 'use_system_libwebp%': 0, |
| 8 }, | 8 }, |
| 9 'conditions': [ | 9 'conditions': [ |
| 10 ['use_system_libwebp==0', { | 10 ['use_system_libwebp==0', { |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 155 { | 155 { |
| 156 'target_name': 'libwebp', | 156 'target_name': 'libwebp', |
| 157 'type': 'none', | 157 'type': 'none', |
| 158 'direct_dependent_settings': { | 158 'direct_dependent_settings': { |
| 159 'defines': [ | 159 'defines': [ |
| 160 'ENABLE_WEBP', | 160 'ENABLE_WEBP', |
| 161 ], | 161 ], |
| 162 }, | 162 }, |
| 163 'link_settings': { | 163 'link_settings': { |
| 164 'libraries': [ | 164 'libraries': [ |
| 165 '-lwebp', | 165 # Check for presence of webpdemux library, use it if present. |
| 166 '<!(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.
| |
| 167 '--code "int main() { return 0; }" ' | |
| 168 '--run-linker ' | |
| 169 '--on-success "-lwebp -lwebpdemux" ' | |
| 170 '--on-failure "-lwebp" ' | |
| 171 '-- -lwebpdemux)', | |
| 166 ], | 172 ], |
| 167 }, | 173 }, |
| 168 } | 174 } |
| 169 ], | 175 ], |
| 170 }], | 176 }], |
| 171 ], | 177 ], |
| 172 } | 178 } |
| OLD | NEW |