| OLD | NEW |
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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"', { |
| 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, |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 'defines': [ | 66 'defines': [ |
| 67 'PNG_BUILD_DLL', | 67 'PNG_BUILD_DLL', |
| 68 'PNG_NO_MODULEDEF', | 68 'PNG_NO_MODULEDEF', |
| 69 ], | 69 ], |
| 70 'direct_dependent_settings': { | 70 'direct_dependent_settings': { |
| 71 'defines': [ | 71 'defines': [ |
| 72 'PNG_USE_DLL', | 72 'PNG_USE_DLL', |
| 73 ], | 73 ], |
| 74 }, | 74 }, |
| 75 }], | 75 }], |
| 76 ['OS=="android"', { |
| 77 'toolsets': ['target', 'host'], |
| 78 }], |
| 76 ], | 79 ], |
| 77 }, | 80 }, |
| 78 ] | 81 ] |
| 79 }, { | 82 }, { |
| 80 'conditions': [ | 83 'conditions': [ |
| 81 ['sysroot!=""', { | 84 ['sysroot!=""', { |
| 82 'variables': { | 85 'variables': { |
| 83 'pkg-config': '../../build/linux/pkg-config-wrapper "<(sysroot)"', | 86 'pkg-config': '../../build/linux/pkg-config-wrapper "<(sysroot)"', |
| 84 }, | 87 }, |
| 85 }, { | 88 }, { |
| (...skipping 23 matching lines...) Expand all Loading... |
| 109 ], | 112 ], |
| 110 'libraries': [ | 113 'libraries': [ |
| 111 '<!@(<(pkg-config) --libs-only-l libpng)', | 114 '<!@(<(pkg-config) --libs-only-l libpng)', |
| 112 ], | 115 ], |
| 113 }, | 116 }, |
| 114 }, | 117 }, |
| 115 ], | 118 ], |
| 116 }], | 119 }], |
| 117 ], | 120 ], |
| 118 } | 121 } |
| OLD | NEW |