| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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 static_library("woff2_dec") { | 5 static_library("woff2_dec") { |
| 6 sources = [ | 6 sources = [ |
| 7 "src/buffer.h", | 7 "src/buffer.h", |
| 8 "src/round.h", | 8 "src/round.h", |
| 9 "src/store_bytes.h", | 9 "src/store_bytes.h", |
| 10 "src/table_tags.cc", | 10 "src/table_tags.cc", |
| 11 "src/table_tags.h", | 11 "src/table_tags.h", |
| 12 "src/variable_length.cc", | 12 "src/variable_length.cc", |
| 13 "src/variable_length.h", | 13 "src/variable_length.h", |
| 14 "src/woff2_common.cc", | 14 "src/woff2_common.cc", |
| 15 "src/woff2_common.h", | 15 "src/woff2_common.h", |
| 16 "src/woff2_dec.cc", | 16 "src/woff2_dec.cc", |
| 17 "src/woff2_dec.h", | 17 "src/woff2_dec.h", |
| 18 "src/woff2_out.cc", | 18 "src/woff2_out.cc", |
| 19 "src/woff2_out.h", | 19 "src/woff2_out.h", |
| 20 ] | 20 ] |
| 21 | 21 |
| 22 configs -= [ "//build/config/compiler:chromium_code" ] | 22 configs -= [ "//build/config/compiler:chromium_code" ] |
| 23 configs += [ "//build/config/compiler:no_chromium_code" ] | 23 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 24 | 24 |
| 25 deps = [ | 25 deps = [ |
| 26 "//third_party/brotli", | 26 "//third_party/brotli:dec", |
| 27 ] | 27 ] |
| 28 | 28 |
| 29 include_dirs = [ | 29 include_dirs = [ "src" ] |
| 30 "src", | |
| 31 "//third_party/brotli/dec", | |
| 32 ] | |
| 33 | 30 |
| 34 # TODO(ksakamoto): http://crbug.com/167187 | 31 # TODO(ksakamoto): http://crbug.com/167187 |
| 35 if (is_win) { | 32 if (is_win) { |
| 36 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. | 33 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. |
| 37 } | 34 } |
| 38 } | 35 } |
| OLD | NEW |