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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 } | 170 } |
171 if (enable_remoting) { | 171 if (enable_remoting) { |
172 defines += [ "ENABLE_REMOTING=1" ] | 172 defines += [ "ENABLE_REMOTING=1" ] |
173 } | 173 } |
174 if (enable_google_now) { | 174 if (enable_google_now) { |
175 defines += [ "ENABLE_GOOGLE_NOW=1" ] | 175 defines += [ "ENABLE_GOOGLE_NOW=1" ] |
176 } | 176 } |
177 if (enable_one_click_signin) { | 177 if (enable_one_click_signin) { |
178 defines += [ "ENABLE_ONE_CLICK_SIGNIN" ] | 178 defines += [ "ENABLE_ONE_CLICK_SIGNIN" ] |
179 } | 179 } |
| 180 if (use_athena) { |
| 181 defines += [ "USE_ATHENA=1" ] |
| 182 } |
| 183 if (enable_hidpi) { |
| 184 defines += [ "ENABLE_HIDPI=1" ] |
| 185 } |
180 } | 186 } |
181 | 187 |
182 # Debug/release ---------------------------------------------------------------- | 188 # Debug/release ---------------------------------------------------------------- |
183 | 189 |
184 config("debug") { | 190 config("debug") { |
185 defines = [ | 191 defines = [ |
186 "_DEBUG", | 192 "_DEBUG", |
187 "DYNAMIC_ANNOTATIONS_ENABLED=1", | 193 "DYNAMIC_ANNOTATIONS_ENABLED=1", |
188 "WTF_USE_DYNAMIC_ANNOTATIONS=1", | 194 "WTF_USE_DYNAMIC_ANNOTATIONS=1", |
189 ] | 195 ] |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 "CoreText.framework", | 279 "CoreText.framework", |
274 "Foundation.framework", | 280 "Foundation.framework", |
275 "UIKit.framework", | 281 "UIKit.framework", |
276 ] | 282 ] |
277 } else if (is_linux) { | 283 } else if (is_linux) { |
278 libs = [ | 284 libs = [ |
279 "dl", | 285 "dl", |
280 ] | 286 ] |
281 } | 287 } |
282 } | 288 } |
OLD | NEW |