| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 config("lzma_sdk_config") { | 5 config("lzma_sdk_config") { |
| 6 include_dirs = [ "." ] | 6 include_dirs = [ "." ] |
| 7 } | 7 } |
| 8 | 8 |
| 9 static_library("lzma_sdk") { | 9 static_library("lzma_sdk") { |
| 10 sources = [ | 10 sources = [ |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 "Bra.c", | 28 "Bra.c", |
| 29 "Bra.h", | 29 "Bra.h", |
| 30 "Bra86.c", | 30 "Bra86.c", |
| 31 "CpuArch.c", | 31 "CpuArch.c", |
| 32 "CpuArch.h", | 32 "CpuArch.h", |
| 33 "LzFind.c", | 33 "LzFind.c", |
| 34 "LzFind.h", | 34 "LzFind.h", |
| 35 "LzHash.h", | 35 "LzHash.h", |
| 36 "Lzma2Dec.c", | 36 "Lzma2Dec.c", |
| 37 "Lzma2Dec.h", | 37 "Lzma2Dec.h", |
| 38 "LzmaDec.c", |
| 39 "LzmaDec.h", |
| 38 "LzmaEnc.c", | 40 "LzmaEnc.c", |
| 39 "LzmaEnc.h", | 41 "LzmaEnc.h", |
| 40 "LzmaDec.c", | |
| 41 "LzmaDec.h", | |
| 42 "LzmaLib.c", | 42 "LzmaLib.c", |
| 43 "LzmaLib.h", | 43 "LzmaLib.h", |
| 44 "Types.h", | 44 "Types.h", |
| 45 ] | 45 ] |
| 46 | 46 |
| 47 defines = [ | 47 defines = [ |
| 48 "_7ZIP_ST", | 48 "_7ZIP_ST", |
| 49 "_LZMA_PROB32", | 49 "_LZMA_PROB32", |
| 50 ] | 50 ] |
| 51 | 51 |
| 52 configs -= [ "//build/config/compiler:chromium_code" ] | 52 configs -= [ "//build/config/compiler:chromium_code" ] |
| 53 configs += [ "//build/config/compiler:no_chromium_code" ] | 53 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 54 | 54 |
| 55 public_configs = [ ":lzma_sdk_config" ] | 55 public_configs = [ ":lzma_sdk_config" ] |
| 56 } | 56 } |
| OLD | NEW |