| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 defines += [ "DONT_EMBED_BUILD_METADATA" ] | 75 defines += [ "DONT_EMBED_BUILD_METADATA" ] |
| 76 } | 76 } |
| 77 if (use_udev) { | 77 if (use_udev) { |
| 78 # TODO(brettw) should probably be "=1". | 78 # TODO(brettw) should probably be "=1". |
| 79 defines += [ "USE_UDEV" ] | 79 defines += [ "USE_UDEV" ] |
| 80 } | 80 } |
| 81 if (ui_compositor_image_transport) { | 81 if (ui_compositor_image_transport) { |
| 82 # TODO(brettw) should probably be "=1". | 82 # TODO(brettw) should probably be "=1". |
| 83 defines += [ "UI_COMPOSITOR_IMAGE_TRANSPORT" ] | 83 defines += [ "UI_COMPOSITOR_IMAGE_TRANSPORT" ] |
| 84 } | 84 } |
| 85 if (use_ash) { | |
| 86 defines += [ "USE_ASH=1" ] | |
| 87 } | |
| 88 if (use_aura) { | |
| 89 defines += [ "USE_AURA=1" ] | |
| 90 } | |
| 91 if (use_pango) { | |
| 92 defines += [ "USE_PANGO=1" ] | |
| 93 } | |
| 94 if (use_cairo) { | 85 if (use_cairo) { |
| 95 defines += [ "USE_CAIRO=1" ] | 86 defines += [ "USE_CAIRO=1" ] |
| 96 } | 87 } |
| 97 if (use_clipboard_aurax11) { | |
| 98 defines += [ "USE_CLIPBOARD_AURAX11=1" ] | |
| 99 } | |
| 100 if (use_default_render_theme) { | |
| 101 defines += [ "USE_DEFAULT_RENDER_THEME=1" ] | |
| 102 } | |
| 103 if (use_glib) { | 88 if (use_glib) { |
| 104 defines += [ "USE_GLIB=1" ] | 89 defines += [ "USE_GLIB=1" ] |
| 105 } | 90 } |
| 106 if (use_openssl) { | 91 if (use_openssl) { |
| 107 defines += [ "USE_OPENSSL=1" ] | 92 defines += [ "USE_OPENSSL=1" ] |
| 108 if (use_openssl_certs) { | 93 if (use_openssl_certs) { |
| 109 defines += [ "USE_OPENSSL_CERTS=1" ] | 94 defines += [ "USE_OPENSSL_CERTS=1" ] |
| 110 } | 95 } |
| 111 } else if (use_nss_certs) { | 96 } else if (use_nss_certs) { |
| 112 # USE_NSS really means "use nss for certificate validation and storage" | 97 # USE_NSS really means "use nss for certificate validation and storage" |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 "CoreFoundation.framework", | 286 "CoreFoundation.framework", |
| 302 "CoreGraphics.framework", | 287 "CoreGraphics.framework", |
| 303 "CoreText.framework", | 288 "CoreText.framework", |
| 304 "Foundation.framework", | 289 "Foundation.framework", |
| 305 "UIKit.framework", | 290 "UIKit.framework", |
| 306 ] | 291 ] |
| 307 } else if (is_linux) { | 292 } else if (is_linux) { |
| 308 libs = [ "dl" ] | 293 libs = [ "dl" ] |
| 309 } | 294 } |
| 310 } | 295 } |
| OLD | NEW |