OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 'conditions': [ | 7 'conditions': [ |
8 [ 'os_posix == 1 and OS != "mac"', { | 8 [ 'os_posix == 1 and OS != "mac" and OS != "android"', { |
9 # Link to system .so since we already use it due to GTK. | 9 # Link to system .so since we already use it due to GTK. |
10 'use_system_libpng%': 1, | 10 'use_system_libpng%': 1, |
11 }, { # os_posix != 1 or OS == "mac" | 11 }, { # os_posix != 1 or OS == "mac" |
12 'use_system_libpng%': 0, | 12 'use_system_libpng%': 0, |
13 }], | 13 }], |
14 ], | 14 ], |
15 }, | 15 }, |
16 'conditions': [ | 16 'conditions': [ |
17 ['use_system_libpng==0', { | 17 ['use_system_libpng==0', { |
18 'targets': [ | 18 'targets': [ |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 ], | 112 ], |
113 'libraries': [ | 113 'libraries': [ |
114 '<!@(<(pkg-config) --libs-only-l libpng)', | 114 '<!@(<(pkg-config) --libs-only-l libpng)', |
115 ], | 115 ], |
116 }, | 116 }, |
117 }, | 117 }, |
118 ], | 118 ], |
119 }], | 119 }], |
120 ], | 120 ], |
121 } | 121 } |
OLD | NEW |