| 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 Import('env') | 5 Import('env') |
| 6 | 6 |
| 7 env = env.Clone() | 7 env = env.Clone() |
| 8 | 8 |
| 9 if env.WantSystemLib('lzma_sdk'): |
| 10 Return() |
| 11 |
| 9 env.Prepend( | 12 env.Prepend( |
| 10 CPPPATH = [ | 13 CPPPATH = [ |
| 11 '.', | 14 '.', |
| 12 '$CHROME_SRC_DIR', | 15 '$CHROME_SRC_DIR', |
| 13 ] | 16 ] |
| 14 ) | 17 ) |
| 15 | 18 |
| 16 env.Append( | 19 env.Append( |
| 17 CPPDEFINES = [ | 20 CPPDEFINES = [ |
| 18 '_LZMA_PROB32', | 21 '_LZMA_PROB32', |
| (...skipping 18 matching lines...) Expand all Loading... |
| 37 'Archive/7z/7zHeader.c', | 40 'Archive/7z/7zHeader.c', |
| 38 'Archive/7z/7zIn.c', | 41 'Archive/7z/7zIn.c', |
| 39 'Archive/7z/7zItem.c', | 42 'Archive/7z/7zItem.c', |
| 40 'Archive/7z/7zMethodID.c', | 43 'Archive/7z/7zMethodID.c', |
| 41 'Compress/Branch/BranchX86.c', | 44 'Compress/Branch/BranchX86.c', |
| 42 'Compress/Branch/BranchX86_2.c', | 45 'Compress/Branch/BranchX86_2.c', |
| 43 'Compress/Lzma/LzmaDecode.c', | 46 'Compress/Lzma/LzmaDecode.c', |
| 44 ] | 47 ] |
| 45 | 48 |
| 46 env.ChromeStaticLibrary('lzma_sdk', input_files) | 49 env.ChromeStaticLibrary('lzma_sdk', input_files) |
| OLD | NEW |