OLD | NEW |
(Empty) | |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 source_set("woff2_dec") { |
| 6 sources = [ |
| 7 "src/buffer.h", |
| 8 "src/round.h", |
| 9 "src/store_bytes.h", |
| 10 "src/table_tags.cc", |
| 11 "src/table_tags.h", |
| 12 "src/woff2_common.h", |
| 13 "src/woff2_dec.cc", |
| 14 "src/woff2_dec.h", |
| 15 ] |
| 16 |
| 17 configs -= [ "//build/config/compiler:chromium_code" ] |
| 18 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 19 |
| 20 deps = [ |
| 21 "//third_party/brotli", |
| 22 ] |
| 23 |
| 24 include_dirs = [ |
| 25 "src", |
| 26 "//third_party/brotli/dec", |
| 27 ] |
| 28 |
| 29 # TODO(ksakamoto): http://crbug.com/167187 |
| 30 if (is_win) { |
| 31 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. |
| 32 } |
| 33 } |
OLD | NEW |