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 config("ots_config") { | 5 config("ots_config") { |
6 include_dirs = [ "include" ] | 6 include_dirs = [ "include" ] |
7 } | 7 } |
8 | 8 |
9 source_set("ots") { | 9 source_set("ots") { |
10 sources = [ | 10 sources = [ |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 "src/prep.cc", | 63 "src/prep.cc", |
64 "src/prep.h", | 64 "src/prep.h", |
65 "src/vdmx.cc", | 65 "src/vdmx.cc", |
66 "src/vdmx.h", | 66 "src/vdmx.h", |
67 "src/vhea.cc", | 67 "src/vhea.cc", |
68 "src/vhea.h", | 68 "src/vhea.h", |
69 "src/vmtx.cc", | 69 "src/vmtx.cc", |
70 "src/vmtx.h", | 70 "src/vmtx.h", |
71 "src/vorg.cc", | 71 "src/vorg.cc", |
72 "src/vorg.h", | 72 "src/vorg.h", |
73 "src/woff2.cc", | |
74 "src/woff2.h", | |
75 ] | 73 ] |
76 | 74 |
77 public_configs = [ ":ots_config" ] | 75 public_configs = [ ":ots_config" ] |
78 | 76 |
79 deps = [ | 77 deps = [ |
80 "//third_party/brotli", | 78 "//third_party/brotli", |
| 79 "//third_party/woff2:woff2_dec", |
81 "//third_party/zlib", | 80 "//third_party/zlib", |
82 ] | 81 ] |
83 | 82 |
84 if (is_win) { | 83 if (is_win) { |
85 cflags = [ | 84 cflags = [ |
86 "/wd4267", # Conversion from size_t to 'type'. | 85 "/wd4267", # Conversion from size_t to 'type'. |
87 "/wd4334", # 32-bit shift implicitly converted to 64-bits. | 86 "/wd4334", # 32-bit shift implicitly converted to 64-bits. |
88 ] | 87 ] |
89 } | 88 } |
90 } | 89 } |
OLD | NEW |