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

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

Issue 2149483002: Reduce chrome.exe .text size by 50 KB with static_library (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweaking comments Created 4 years, 5 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
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) { 5 if (is_win) {
6 import("//build/config/win/visual_studio_version.gni") 6 import("//build/config/win/visual_studio_version.gni")
7 } 7 }
8 8
9 source_set("brotli") { 9 static_library("brotli") {
10 sources = [ 10 sources = [
11 "dec/bit_reader.c", 11 "dec/bit_reader.c",
12 "dec/bit_reader.h", 12 "dec/bit_reader.h",
13 "dec/context.h", 13 "dec/context.h",
14 "dec/decode.c", 14 "dec/decode.c",
15 "dec/decode.h", 15 "dec/decode.h",
16 "dec/dictionary.c", 16 "dec/dictionary.c",
17 "dec/dictionary.h", 17 "dec/dictionary.h",
18 "dec/huffman.c", 18 "dec/huffman.c",
19 "dec/huffman.h", 19 "dec/huffman.h",
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 cflags = [ "/wd4334" ] 97 cflags = [ "/wd4334" ]
98 } 98 }
99 99
100 # Always build release since this is a build tool. 100 # Always build release since this is a build tool.
101 if (is_debug) { 101 if (is_debug) {
102 configs -= [ "//build/config:debug" ] 102 configs -= [ "//build/config:debug" ]
103 configs += [ "//build/config:release" ] 103 configs += [ "//build/config:release" ]
104 } 104 }
105 } 105 }
106 } 106 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698