OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 import("//build/config/allocator.gni") | 5 import("//build/config/allocator.gni") |
6 import("//build/config/crypto.gni") | 6 import("//build/config/crypto.gni") |
7 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
9 | 9 |
10 declare_args() { | 10 declare_args() { |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 if (use_xi2_mt > 0) { | 119 if (use_xi2_mt > 0) { |
120 defines += [ "USE_XI2_MT=$use_xi2_mt" ] | 120 defines += [ "USE_XI2_MT=$use_xi2_mt" ] |
121 } | 121 } |
122 } | 122 } |
123 if (use_allocator != "tcmalloc") { | 123 if (use_allocator != "tcmalloc") { |
124 defines += [ "NO_TCMALLOC" ] | 124 defines += [ "NO_TCMALLOC" ] |
125 } | 125 } |
126 if (enable_webrtc) { | 126 if (enable_webrtc) { |
127 defines += [ "ENABLE_WEBRTC=1" ] | 127 defines += [ "ENABLE_WEBRTC=1" ] |
128 } | 128 } |
| 129 if (disable_ftp_support) { |
| 130 defines += [ "DISABLE_FTP_SUPPORT=1" ] |
| 131 } |
129 } | 132 } |
130 | 133 |
131 # Debug/release ---------------------------------------------------------------- | 134 # Debug/release ---------------------------------------------------------------- |
132 | 135 |
133 config("debug") { | 136 config("debug") { |
134 defines = [ | 137 defines = [ |
135 "_DEBUG", | 138 "_DEBUG", |
136 "DYNAMIC_ANNOTATIONS_ENABLED=1", | 139 "DYNAMIC_ANNOTATIONS_ENABLED=1", |
137 "WTF_USE_DYNAMIC_ANNOTATIONS=1", | 140 "WTF_USE_DYNAMIC_ANNOTATIONS=1", |
138 ] | 141 ] |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 "CoreText.framework", | 225 "CoreText.framework", |
223 "Foundation.framework", | 226 "Foundation.framework", |
224 "UIKit.framework", | 227 "UIKit.framework", |
225 ] | 228 ] |
226 } else if (is_linux) { | 229 } else if (is_linux) { |
227 libs = [ | 230 libs = [ |
228 "dl", | 231 "dl", |
229 ] | 232 ] |
230 } | 233 } |
231 } | 234 } |
OLD | NEW |