Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Side by Side Diff: third_party/lzma_sdk/BUILD.gn

Issue 1700453002: Update lzma_sdk sources to 15.14. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Chromium modifications Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/lzma_sdk/Alloc.c ('k') | third_party/lzma_sdk/Bcj2.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 # Must be in a config because of how GN orders flags (otherwise -Wall will 9 # Must be in a config because of how GN orders flags (otherwise -Wall will
10 # appear after this, and turn it back on). 10 # appear after this, and turn it back on).
11 config("clang_warnings") { 11 config("clang_warnings") {
12 if (is_clang) { 12 if (is_clang) {
13 # Upstream uses self-assignment to avoid warnings. 13 # Upstream uses self-assignment to avoid warnings.
14 cflags = [ "-Wno-self-assign" ] 14 cflags = [ "-Wno-self-assign" ]
15 } 15 }
16 } 16 }
17 17
18 static_library("lzma_sdk") { 18 static_library("lzma_sdk") {
19 sources = [ 19 sources = [
20 "7z.h", 20 "7z.h",
21 "7zAlloc.c", 21 "7zAlloc.c",
22 "7zAlloc.h", 22 "7zAlloc.h",
23 "7zArcIn.c",
23 "7zBuf.c", 24 "7zBuf.c",
24 "7zBuf.h", 25 "7zBuf.h",
25 "7zCrc.c", 26 "7zCrc.c",
26 "7zCrc.h", 27 "7zCrc.h",
27 "7zCrcOpt.c", 28 "7zCrcOpt.c",
28 "7zDec.c", 29 "7zDec.c",
29 "7zFile.c", 30 "7zFile.c",
30 "7zFile.h", 31 "7zFile.h",
31 "7zIn.c",
32 "7zStream.c", 32 "7zStream.c",
33 "7zTypes.h",
33 "Alloc.c", 34 "Alloc.c",
34 "Alloc.h", 35 "Alloc.h",
35 "Bcj2.c", 36 "Bcj2.c",
36 "Bcj2.h", 37 "Bcj2.h",
37 "Bra.c", 38 "Bra.c",
38 "Bra.h", 39 "Bra.h",
39 "Bra86.c", 40 "Bra86.c",
41 "Compiler.h",
40 "CpuArch.c", 42 "CpuArch.c",
41 "CpuArch.h", 43 "CpuArch.h",
44 "Delta.c",
45 "Delta.h",
42 "LzFind.c", 46 "LzFind.c",
43 "LzFind.h", 47 "LzFind.h",
44 "LzHash.h", 48 "LzHash.h",
45 "Lzma2Dec.c", 49 "Lzma2Dec.c",
46 "Lzma2Dec.h", 50 "Lzma2Dec.h",
47 "LzmaDec.c", 51 "LzmaDec.c",
48 "LzmaDec.h", 52 "LzmaDec.h",
49 "LzmaEnc.c", 53 "LzmaEnc.c",
50 "LzmaEnc.h", 54 "LzmaEnc.h",
51 "LzmaLib.c", 55 "LzmaLib.c",
52 "LzmaLib.h", 56 "LzmaLib.h",
53 "Types.h", 57 "Precomp.h",
54 ] 58 ]
55 59
56 defines = [ 60 defines = [
57 "_7ZIP_ST", 61 "_7ZIP_ST",
62 "_7Z_NO_METHODS_FILTERS",
58 "_LZMA_PROB32", 63 "_LZMA_PROB32",
59 ] 64 ]
60 65
61 configs -= [ "//build/config/compiler:chromium_code" ] 66 configs -= [ "//build/config/compiler:chromium_code" ]
62 configs += [ 67 configs += [
63 "//build/config/compiler:no_chromium_code", 68 "//build/config/compiler:no_chromium_code",
64 69
65 # Must be after no_chromium_code for warning flags to be ordered correctly. 70 # Must be after no_chromium_code for warning flags to be ordered correctly.
66 ":clang_warnings", 71 ":clang_warnings",
67 ] 72 ]
68 public_configs = [ ":lzma_sdk_config" ] 73 public_configs = [ ":lzma_sdk_config" ]
69 } 74 }
OLDNEW
« no previous file with comments | « third_party/lzma_sdk/Alloc.c ('k') | third_party/lzma_sdk/Bcj2.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698