| 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 'use_system_libpng%': 0, | 7 'conditions': [ |
| 8 [ 'OS=="linux"', { |
| 9 # Link to system .so since we already use it due to GTK. |
| 10 'use_system_libpng%': 1, |
| 11 }, { # OS!="linux" |
| 12 'use_system_libpng%': 0, |
| 13 }], |
| 14 ], |
| 8 }, | 15 }, |
| 9 'conditions': [ | 16 'conditions': [ |
| 10 ['use_system_libpng==0', { | 17 ['use_system_libpng==0', { |
| 11 'targets': [ | 18 'targets': [ |
| 12 { | 19 { |
| 13 'target_name': 'libpng', | 20 'target_name': 'libpng', |
| 14 'type': '<(library)', | 21 'type': '<(library)', |
| 15 'dependencies': [ | 22 'dependencies': [ |
| 16 '../zlib/zlib.gyp:zlib', | 23 '../zlib/zlib.gyp:zlib', |
| 17 ], | 24 ], |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 ], | 94 ], |
| 88 }], | 95 }], |
| 89 ], | 96 ], |
| 90 } | 97 } |
| 91 | 98 |
| 92 # Local Variables: | 99 # Local Variables: |
| 93 # tab-width:2 | 100 # tab-width:2 |
| 94 # indent-tabs-mode:nil | 101 # indent-tabs-mode:nil |
| 95 # End: | 102 # End: |
| 96 # vim: set expandtab tabstop=2 shiftwidth=2: | 103 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |