Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / third_party / ots / BUILD.gn
blobc7c9b939e7639f388ecef0e65e33490c65dbf4d7
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
3 # found in the LICENSE file.
5 config("ots_config") {
6   include_dirs = [ "include" ]
9 source_set("ots") {
10   sources = [
11     "include/opentype-sanitiser.h",
12     "include/ots-memory-stream.h",
13     "src/cff.cc",
14     "src/cff.h",
15     "src/cff_type2_charstring.cc",
16     "src/cff_type2_charstring.h",
17     "src/cmap.cc",
18     "src/cmap.h",
19     "src/cvt.cc",
20     "src/cvt.h",
21     "src/fpgm.cc",
22     "src/fpgm.h",
23     "src/gasp.cc",
24     "src/gasp.h",
25     "src/gdef.cc",
26     "src/gdef.h",
27     "src/glyf.cc",
28     "src/glyf.h",
29     "src/gpos.cc",
30     "src/gpos.h",
31     "src/gsub.cc",
32     "src/gsub.h",
33     "src/hdmx.cc",
34     "src/hdmx.h",
35     "src/head.cc",
36     "src/head.h",
37     "src/hhea.cc",
38     "src/hhea.h",
39     "src/hmtx.cc",
40     "src/hmtx.h",
41     "src/kern.cc",
42     "src/kern.h",
43     "src/layout.cc",
44     "src/layout.h",
45     "src/loca.cc",
46     "src/loca.h",
47     "src/ltsh.cc",
48     "src/ltsh.h",
49     "src/math.cc",
50     "src/math_.h",
51     "src/maxp.cc",
52     "src/maxp.h",
53     "src/metrics.cc",
54     "src/metrics.h",
55     "src/name.cc",
56     "src/name.h",
57     "src/os2.cc",
58     "src/os2.h",
59     "src/ots.cc",
60     "src/ots.h",
61     "src/post.cc",
62     "src/post.h",
63     "src/prep.cc",
64     "src/prep.h",
65     "src/vdmx.cc",
66     "src/vdmx.h",
67     "src/vhea.cc",
68     "src/vhea.h",
69     "src/vmtx.cc",
70     "src/vmtx.h",
71     "src/vorg.cc",
72     "src/vorg.h",
73     "src/woff2.cc",
74     "src/woff2.h",
75   ]
77   public_configs = [ ":ots_config" ]
79   deps = [
80     "//third_party/brotli",
81     "//third_party/zlib",
82   ]
84   if (is_win) {
85     cflags = [
86       "/wd4267",  # Conversion from size_t to 'type'.
87       "/wd4334",  # 32-bit shift implicitly converted to 64-bits.
88     ]
89   }