Revert of [Webapp Refactor] Remove remoting.SessionConnector. (patchset #3 id:60001...
[chromium-blink-merge.git] / third_party / lzma_sdk / BUILD.gn
blobac31fc1c2dc5e6cd4bf173987a6c60e25e70578c
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
3 # found in the LICENSE file.
5 config("lzma_sdk_config") {
6   include_dirs = [ "." ]
9 static_library("lzma_sdk") {
10   sources = [
11     "7z.h",
12     "7zAlloc.c",
13     "7zAlloc.h",
14     "7zBuf.c",
15     "7zBuf.h",
16     "7zCrc.c",
17     "7zCrc.h",
18     "7zCrcOpt.c",
19     "7zDec.c",
20     "7zFile.c",
21     "7zFile.h",
22     "7zIn.c",
23     "7zStream.c",
24     "Alloc.c",
25     "Alloc.h",
26     "Bcj2.c",
27     "Bcj2.h",
28     "Bra.c",
29     "Bra.h",
30     "Bra86.c",
31     "CpuArch.c",
32     "CpuArch.h",
33     "LzFind.c",
34     "LzFind.h",
35     "LzHash.h",
36     "Lzma2Dec.c",
37     "Lzma2Dec.h",
38     "LzmaDec.c",
39     "LzmaDec.h",
40     "LzmaEnc.c",
41     "LzmaEnc.h",
42     "LzmaLib.c",
43     "LzmaLib.h",
44     "Types.h",
45   ]
47   defines = [
48     "_7ZIP_ST",
49     "_LZMA_PROB32",
50   ]
52   configs -= [ "//build/config/compiler:chromium_code" ]
53   configs += [ "//build/config/compiler:no_chromium_code" ]
55   public_configs = [ ":lzma_sdk_config" ]