Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: third_party/woff2/BUILD.gn

Issue 1873123002: Update woff2 to 4e698b8 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update BUILD.gn (win8 build fix?) Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/woff2/CONTRIBUTING.md » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 config("woff2_warnings") {
6 if (!is_win || is_clang) {
7 cflags = [ "-Wno-unused-function" ]
8 }
9 }
10
5 source_set("woff2_dec") { 11 source_set("woff2_dec") {
6 sources = [ 12 sources = [
7 "src/buffer.h", 13 "src/buffer.h",
8 "src/round.h", 14 "src/round.h",
9 "src/store_bytes.h", 15 "src/store_bytes.h",
10 "src/table_tags.cc", 16 "src/table_tags.cc",
11 "src/table_tags.h", 17 "src/table_tags.h",
12 "src/variable_length.cc", 18 "src/variable_length.cc",
13 "src/variable_length.h", 19 "src/variable_length.h",
14 "src/woff2_common.cc", 20 "src/woff2_common.cc",
15 "src/woff2_common.h", 21 "src/woff2_common.h",
16 "src/woff2_dec.cc", 22 "src/woff2_dec.cc",
17 "src/woff2_dec.h", 23 "src/woff2_dec.h",
24 "src/woff2_out.cc",
25 "src/woff2_out.h",
18 ] 26 ]
19 27
20 configs -= [ "//build/config/compiler:chromium_code" ] 28 configs -= [ "//build/config/compiler:chromium_code" ]
21 configs += [ "//build/config/compiler:no_chromium_code" ] 29 configs += [ "//build/config/compiler:no_chromium_code" ]
30 configs += [ ":woff2_warnings" ]
22 31
23 deps = [ 32 deps = [
24 "//third_party/brotli", 33 "//third_party/brotli",
25 ] 34 ]
26 35
27 include_dirs = [ 36 include_dirs = [
28 "src", 37 "src",
29 "//third_party/brotli/dec", 38 "//third_party/brotli/dec",
30 ] 39 ]
31 40
32 # TODO(ksakamoto): http://crbug.com/167187 41 # TODO(ksakamoto): http://crbug.com/167187
33 if (is_win) { 42 if (is_win) {
34 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. 43 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'.
35 } 44 }
36 } 45 }
OLDNEW
« no previous file with comments | « no previous file | third_party/woff2/CONTRIBUTING.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698