| 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=="linux" or OS=="freebsd" or OS=="openbsd"', { | 8 ['chromeos==1 or OS=="freebsd" or OS=="openbsd"', { |
| 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 # See crbug.com/30288 and 31427 for why we skip OS=="linux" above. |
| 10 'use_system_libjpeg%': 1, | 11 'use_system_libjpeg%': 1, |
| 11 }, { # OS!="linux" and OS!="freebsd" and OS!="openbsd" | 12 }, { # chromeos!=1 and OS!="freebsd" and OS!="openbsd" |
| 12 'use_system_libjpeg%': 0, | 13 'use_system_libjpeg%': 0, |
| 13 }], | 14 }], |
| 14 ], | 15 ], |
| 15 }, | 16 }, |
| 16 'conditions': [ | 17 'conditions': [ |
| 17 ['use_system_libjpeg==0', { | 18 ['use_system_libjpeg==0', { |
| 18 'targets': [ | 19 'targets': [ |
| 19 { | 20 { |
| 20 'target_name': 'libjpeg', | 21 'target_name': 'libjpeg', |
| 21 'type': '<(library)', | 22 'type': '<(library)', |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 ], | 106 ], |
| 106 }], | 107 }], |
| 107 ], | 108 ], |
| 108 } | 109 } |
| 109 | 110 |
| 110 # Local Variables: | 111 # Local Variables: |
| 111 # tab-width:2 | 112 # tab-width:2 |
| 112 # indent-tabs-mode:nil | 113 # indent-tabs-mode:nil |
| 113 # End: | 114 # End: |
| 114 # vim: set expandtab tabstop=2 shiftwidth=2: | 115 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |