| OLD | NEW |
| (Empty) |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 { | |
| 6 'variables': { | |
| 7 'lzma_sdk_sources': [ | |
| 8 '7z.h', | |
| 9 '7zAlloc.c', | |
| 10 '7zAlloc.h', | |
| 11 '7zArcIn.c', | |
| 12 '7zBuf.c', | |
| 13 '7zBuf.h', | |
| 14 '7zCrc.c', | |
| 15 '7zCrc.h', | |
| 16 '7zCrcOpt.c', | |
| 17 '7zDec.c', | |
| 18 '7zFile.c', | |
| 19 '7zFile.h', | |
| 20 '7zStream.c', | |
| 21 '7zTypes.h', | |
| 22 'Alloc.c', | |
| 23 'Alloc.h', | |
| 24 'Bcj2.c', | |
| 25 'Bcj2.h', | |
| 26 'Bra.c', | |
| 27 'Bra.h', | |
| 28 'Bra86.c', | |
| 29 'Compiler.h', | |
| 30 'CpuArch.c', | |
| 31 'CpuArch.h', | |
| 32 'Delta.c', | |
| 33 'Delta.h', | |
| 34 'LzFind.c', | |
| 35 'LzFind.h', | |
| 36 'LzHash.h', | |
| 37 'Lzma2Dec.c', | |
| 38 'Lzma2Dec.h', | |
| 39 'LzmaEnc.c', | |
| 40 'LzmaEnc.h', | |
| 41 'LzmaDec.c', | |
| 42 'LzmaDec.h', | |
| 43 'LzmaLib.c', | |
| 44 'LzmaLib.h', | |
| 45 'Precomp.h', | |
| 46 ], | |
| 47 }, | |
| 48 'targets': [ | |
| 49 { | |
| 50 'target_name': 'lzma_sdk', | |
| 51 'type': 'static_library', | |
| 52 'defines': [ | |
| 53 '_7ZIP_ST', | |
| 54 '_7Z_NO_METHODS_FILTERS', | |
| 55 '_LZMA_PROB32', | |
| 56 ], | |
| 57 'variables': { | |
| 58 # Upstream uses self-assignment to avoid warnings. | |
| 59 'clang_warning_flags': [ '-Wno-self-assign' ] | |
| 60 }, | |
| 61 'sources': [ | |
| 62 '<@(lzma_sdk_sources)', | |
| 63 ], | |
| 64 'include_dirs': [ | |
| 65 '.', | |
| 66 ], | |
| 67 'direct_dependent_settings': { | |
| 68 'include_dirs': [ | |
| 69 '.', | |
| 70 ], | |
| 71 }, | |
| 72 }, | |
| 73 ], | |
| 74 'conditions': [ | |
| 75 ['OS=="win"', { | |
| 76 'targets': [ | |
| 77 { | |
| 78 'target_name': 'lzma_sdk64', | |
| 79 'type': 'static_library', | |
| 80 'defines': [ | |
| 81 '_7ZIP_ST', | |
| 82 '_LZMA_PROB32', | |
| 83 ], | |
| 84 'variables': { | |
| 85 # Upstream uses self-assignment to avoid warnings. | |
| 86 'clang_warning_flags': [ '-Wno-self-assign' ] | |
| 87 }, | |
| 88 'include_dirs': [ | |
| 89 '.', | |
| 90 ], | |
| 91 'sources': [ | |
| 92 '<@(lzma_sdk_sources)', | |
| 93 ], | |
| 94 'configurations': { | |
| 95 'Common_Base': { | |
| 96 'msvs_target_platform': 'x64', | |
| 97 }, | |
| 98 }, | |
| 99 'direct_dependent_settings': { | |
| 100 'include_dirs': [ | |
| 101 '.', | |
| 102 ], | |
| 103 }, | |
| 104 }, | |
| 105 ], | |
| 106 }], | |
| 107 ], | |
| 108 } | |
| OLD | NEW |