| OLD | NEW |
| 1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2006-2008 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 __doc__ = """ | 5 __doc__ = """ |
| 6 Settings for other components using the bzip2 library. | 6 Settings for other components using the bzip2 library. |
| 7 """ | 7 """ |
| 8 | 8 |
| 9 Import("env") | 9 Import("env") |
| 10 | 10 |
| 11 env.Append( | 11 if env.WantSystemLib('bzip2'): |
| 12 LIBS = [ | 12 env.Append(LIBS = ['bz2']) |
| 13 env['BZIP2_LIB'], | 13 else: |
| 14 ], | 14 env.Append(LIBS = ['bzip2']) |
| 15 ) | |
| OLD | NEW |