| 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 import("//build/module_args/v8.gni") | 9 import("//build/module_args/v8.gni") | 
| 10 | 10 | 
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 119   } | 119   } | 
| 120   if (use_glib) { | 120   if (use_glib) { | 
| 121     defines += [ "USE_GLIB=1" ] | 121     defines += [ "USE_GLIB=1" ] | 
| 122   } | 122   } | 
| 123   if (use_openssl) { | 123   if (use_openssl) { | 
| 124     defines += [ "USE_OPENSSL=1" ] | 124     defines += [ "USE_OPENSSL=1" ] | 
| 125     if (use_openssl_certs) { | 125     if (use_openssl_certs) { | 
| 126       defines += [ "USE_OPENSSL_CERTS=1" ] | 126       defines += [ "USE_OPENSSL_CERTS=1" ] | 
| 127     } | 127     } | 
| 128   } else if (use_nss_certs) { | 128   } else if (use_nss_certs) { | 
| 129     # USE_NSS really means "use nss for certificate validation and storage" | 129     defines += [ | 
| 130     # (like USE_OPENSSL_CERTS) and not "we're linking to NSS." It might be nice | 130       "USE_NSS_CERTS=1", | 
| 131     # to rename this but we're hoping to transition away from NSS. | 131 | 
| 132     defines += [ "USE_NSS=1" ] | 132       # TODO(davidben): USE_NSS is a deprecated alias for USE_NSS_CERTS and will | 
|  | 133       # be removed. See https://crbug.com/462040. | 
|  | 134       "USE_NSS=1", | 
|  | 135     ] | 
| 133   } | 136   } | 
| 134   if (use_ozone) { | 137   if (use_ozone) { | 
| 135     defines += [ "USE_OZONE=1" ] | 138     defines += [ "USE_OZONE=1" ] | 
| 136   } | 139   } | 
| 137   if (use_x11) { | 140   if (use_x11) { | 
| 138     defines += [ "USE_X11=1" ] | 141     defines += [ "USE_X11=1" ] | 
| 139   } | 142   } | 
| 140   if (use_allocator != "tcmalloc") { | 143   if (use_allocator != "tcmalloc") { | 
| 141     defines += [ "NO_TCMALLOC" ] | 144     defines += [ "NO_TCMALLOC" ] | 
| 142   } | 145   } | 
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 331       "CoreFoundation.framework", | 334       "CoreFoundation.framework", | 
| 332       "CoreGraphics.framework", | 335       "CoreGraphics.framework", | 
| 333       "CoreText.framework", | 336       "CoreText.framework", | 
| 334       "Foundation.framework", | 337       "Foundation.framework", | 
| 335       "UIKit.framework", | 338       "UIKit.framework", | 
| 336     ] | 339     ] | 
| 337   } else if (is_linux) { | 340   } else if (is_linux) { | 
| 338     libs = [ "dl" ] | 341     libs = [ "dl" ] | 
| 339   } | 342   } | 
| 340 } | 343 } | 
| OLD | NEW | 
|---|