| 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/crypto.gni") | 5 import("//build/config/crypto.gni") |
| 6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
| 7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
| 8 | 8 |
| 9 declare_args() { | 9 declare_args() { |
| 10 # When set, turns off the (normally-on) iterator debugging and related stuff | 10 # When set, turns off the (normally-on) iterator debugging and related stuff |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 } | 95 } |
| 96 if (use_clipboard_aurax11) { | 96 if (use_clipboard_aurax11) { |
| 97 defines += [ "USE_CLIPBOARD_AURAX11=1" ] | 97 defines += [ "USE_CLIPBOARD_AURAX11=1" ] |
| 98 } | 98 } |
| 99 if (use_default_render_theme) { | 99 if (use_default_render_theme) { |
| 100 defines += [ "USE_DEFAULT_RENDER_THEME=1" ] | 100 defines += [ "USE_DEFAULT_RENDER_THEME=1" ] |
| 101 } | 101 } |
| 102 if (use_glib) { | 102 if (use_glib) { |
| 103 defines += [ "USE_GLIB=1" ] | 103 defines += [ "USE_GLIB=1" ] |
| 104 } | 104 } |
| 105 if (use_nss) { | |
| 106 defines += [ "USE_NSS=1" ] | |
| 107 } | |
| 108 if (use_openssl) { | 105 if (use_openssl) { |
| 109 defines += [ "USE_OPENSSL=1" ] | 106 defines += [ "USE_OPENSSL=1" ] |
| 107 } else { |
| 108 defines += [ "USE_NSS=1" ] |
| 110 } | 109 } |
| 111 if (use_ozone) { | 110 if (use_ozone) { |
| 112 defines += [ "USE_OZONE=1" ] | 111 defines += [ "USE_OZONE=1" ] |
| 113 } | 112 } |
| 114 if (use_x11) { | 113 if (use_x11) { |
| 115 defines += [ "USE_X11=1" ] | 114 defines += [ "USE_X11=1" ] |
| 116 if (use_xi2_mt > 0) { | 115 if (use_xi2_mt > 0) { |
| 117 defines += [ "USE_XI2_MT=$use_xi2_mt" ] | 116 defines += [ "USE_XI2_MT=$use_xi2_mt" ] |
| 118 } | 117 } |
| 119 } | 118 } |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 "CoreText.framework", | 212 "CoreText.framework", |
| 214 "Foundation.framework", | 213 "Foundation.framework", |
| 215 "UIKit.framework", | 214 "UIKit.framework", |
| 216 ] | 215 ] |
| 217 } else if (is_linux) { | 216 } else if (is_linux) { |
| 218 libs = [ | 217 libs = [ |
| 219 "dl", | 218 "dl", |
| 220 ] | 219 ] |
| 221 } | 220 } |
| 222 } | 221 } |
| OLD | NEW |