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

Side by Side Diff: sdch/BUILD.gn

Issue 2943713002: fuchsia: Make sdch build. (Closed)
Patch Set: Created 3 years, 6 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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("sdch_config") { 5 config("sdch_config") {
6 include_dirs = [ "open-vcdiff/src" ] 6 include_dirs = [ "open-vcdiff/src" ]
7 } 7 }
8 8
9 # gn orders flags on a target before flags from configs. The default config 9 # gn orders flags on a target before flags from configs. The default config
10 # adds -Wall, and these flags have to be after -Wall -- so they need to come 10 # adds -Wall, and these flags have to be after -Wall -- so they need to come
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 ] 52 ]
53 53
54 configs += [ ":sdch_warnings" ] 54 configs += [ ":sdch_warnings" ]
55 public_configs = [ ":sdch_config" ] 55 public_configs = [ ":sdch_config" ]
56 56
57 deps = [ 57 deps = [
58 "//base", 58 "//base",
59 "//third_party/zlib", 59 "//third_party/zlib",
60 ] 60 ]
61 61
62 if (is_linux || is_android) { 62 if (is_linux || is_android || is_fuchsia) {
63 include_dirs = [ "linux" ] 63 include_dirs = [ "linux" ]
64 } else if (is_ios) { 64 } else if (is_ios) {
65 include_dirs = [ "ios" ] 65 include_dirs = [ "ios" ]
66 } else if (is_mac) { 66 } else if (is_mac) {
67 include_dirs = [ "mac" ] 67 include_dirs = [ "mac" ]
68 defines = [ "OPEN_VCDIFF_USE_AUTO_PTR" ] 68 defines = [ "OPEN_VCDIFF_USE_AUTO_PTR" ]
69 } else if (is_win) { 69 } else if (is_win) {
70 include_dirs = [ "win" ] 70 include_dirs = [ "win" ]
71 } 71 }
72 72
(...skipping 10 matching lines...) Expand all
83 "sdch/logging_forward.h", 83 "sdch/logging_forward.h",
84 ] 84 ]
85 } else { 85 } else {
86 logging_file = rebase_path("logging_forward.h", root_build_dir) 86 logging_file = rebase_path("logging_forward.h", root_build_dir)
87 cflags = [ 87 cflags = [
88 "-include", 88 "-include",
89 logging_file, 89 logging_file,
90 ] 90 ]
91 } 91 }
92 } 92 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698