blob: 6dbce2e3ab876cf003a5e8a01b7d595731b2517a [file] [log] [blame]
Ben Murdoch097c5b22016-05-18 11:27:45 +01001# 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.
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}