OLD | NEW |
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 }, | 57 }, |
58 'conditions': [ | 58 'conditions': [ |
59 ['OS!="win"', {'product_name': 'webp'}], | 59 ['OS!="win"', {'product_name': 'webp'}], |
60 ], | 60 ], |
61 }, | 61 }, |
62 ], | 62 ], |
63 }, { | 63 }, { |
64 'targets': [ | 64 'targets': [ |
65 { | 65 { |
66 'target_name': 'libwebp', | 66 'target_name': 'libwebp', |
67 'type': 'settings', | 67 'type': 'none', |
68 'direct_dependent_settings': { | 68 'direct_dependent_settings': { |
69 'defines': [ | 69 'defines': [ |
70 'ENABLE_WEBP', | 70 'ENABLE_WEBP', |
71 ], | 71 ], |
72 }, | 72 }, |
73 'link_settings': { | 73 'link_settings': { |
74 'libraries': [ | 74 'libraries': [ |
75 '-lwebp', | 75 '-lwebp', |
76 ], | 76 ], |
77 }, | 77 }, |
78 } | 78 } |
79 ], | 79 ], |
80 }], | 80 }], |
81 ], | 81 ], |
82 } | 82 } |
OLD | NEW |