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

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

Issue 1951363002: Brotli compression used on about credits html file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Guarded Windows include 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
5 source_set("brotli") { 9 source_set("brotli") {
6 sources = [ 10 sources = [
7 "dec/bit_reader.c", 11 "dec/bit_reader.c",
8 "dec/bit_reader.h", 12 "dec/bit_reader.h",
9 "dec/context.h", 13 "dec/context.h",
10 "dec/decode.c", 14 "dec/decode.c",
11 "dec/decode.h", 15 "dec/decode.h",
12 "dec/dictionary.c", 16 "dec/dictionary.c",
13 "dec/dictionary.h", 17 "dec/dictionary.h",
14 "dec/huffman.c", 18 "dec/huffman.c",
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 "enc/types.h", 82 "enc/types.h",
79 "enc/utf8_util.cc", 83 "enc/utf8_util.cc",
80 "enc/utf8_util.h", 84 "enc/utf8_util.h",
81 "enc/write_bits.h", 85 "enc/write_bits.h",
82 "tools/bro.cc", 86 "tools/bro.cc",
83 ] 87 ]
84 deps = [ 88 deps = [
85 ":brotli", 89 ":brotli",
86 ] 90 ]
87 91
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
88 # Always build release since this is a build tool. 98 # Always build release since this is a build tool.
89 if (is_debug) { 99 if (is_debug) {
90 configs -= [ "//build/config:debug" ] 100 configs -= [ "//build/config:debug" ]
91 configs += [ "//build/config:release" ] 101 configs += [ "//build/config:release" ]
92 } 102 }
93 if (is_posix) {
94 configs -= [ "//build/config/gcc:no_exceptions" ]
95 } else if (is_win) {
96 cflags_cc = [ "/EHsc" ]
97 }
98 } 103 }
99 } 104 }
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