| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |