Revert "Omit calls to set composing region when pasting image."
[chromium-blink-merge.git] / third_party / woff2 / BUILD.gn
blobc1495be7ca0f10e41d4dc985e516a9f94cf0157b
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.
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   ]
17   configs -= [ "//build/config/compiler:chromium_code" ]
18   configs += [ "//build/config/compiler:no_chromium_code" ]
20   deps = [
21     "//third_party/brotli",
22   ]
24   include_dirs = [
25     "src",
26     "//third_party/brotli/dec",
27   ]
29   # TODO(ksakamoto): http://crbug.com/167187
30   if (is_win) {
31     cflags = [ "/wd4267" ]  # Conversion from size_t to 'type'.
32   }