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

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

Issue 2013493006: Revert of Brotli compression used on about credits html file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « components/resources/BUILD.gn ('k') | third_party/brotli/README.chromium » ('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 if (is_win) {
6 import("//build/config/win/visual_studio_version.gni")
7 }
8
9 source_set("brotli") { 5 source_set("brotli") {
10 sources = [ 6 sources = [
11 "dec/bit_reader.c", 7 "dec/bit_reader.c",
12 "dec/bit_reader.h", 8 "dec/bit_reader.h",
13 "dec/context.h", 9 "dec/context.h",
14 "dec/decode.c", 10 "dec/decode.c",
15 "dec/decode.h", 11 "dec/decode.h",
16 "dec/dictionary.c", 12 "dec/dictionary.c",
17 "dec/dictionary.h", 13 "dec/dictionary.h",
18 "dec/huffman.c", 14 "dec/huffman.c",
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 "enc/types.h", 78 "enc/types.h",
83 "enc/utf8_util.cc", 79 "enc/utf8_util.cc",
84 "enc/utf8_util.h", 80 "enc/utf8_util.h",
85 "enc/write_bits.h", 81 "enc/write_bits.h",
86 "tools/bro.cc", 82 "tools/bro.cc",
87 ] 83 ]
88 deps = [ 84 deps = [
89 ":brotli", 85 ":brotli",
90 ] 86 ]
91 87
92 if (is_win && visual_studio_version == "2015") {
93 # Disabling "result of 32-bit shift implicitly converted to 64 bits",
94 # caused by code like: foo |= (1 << i); // warning 4334
95 cflags = [ "/wd4334" ]
96 }
97
98 # Always build release since this is a build tool. 88 # Always build release since this is a build tool.
99 if (is_debug) { 89 if (is_debug) {
100 configs -= [ "//build/config:debug" ] 90 configs -= [ "//build/config:debug" ]
101 configs += [ "//build/config:release" ] 91 configs += [ "//build/config:release" ]
102 } 92 }
93 if (is_posix) {
94 configs -= [ "//build/config/gcc:no_exceptions" ]
95 } else if (is_win) {
96 cflags_cc = [ "/EHsc" ]
97 }
103 } 98 }
104 } 99 }
OLDNEW
« no previous file with comments | « components/resources/BUILD.gn ('k') | third_party/brotli/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698