Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Side by Side Diff: build/config/BUILD.gn

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/common.gypi ('k') | build/config/ui.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 if (enable_spellcheck) { 71 if (enable_spellcheck) {
72 defines += [ "ENABLE_SPELLCHECK=1" ] 72 defines += [ "ENABLE_SPELLCHECK=1" ]
73 } 73 }
74 if (dont_embed_build_metadata) { 74 if (dont_embed_build_metadata) {
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 (toolkit_views) {
82 defines += [ "TOOLKIT_VIEWS=1" ]
83 }
84 if (ui_compositor_image_transport) { 81 if (ui_compositor_image_transport) {
85 # TODO(brettw) should probably be "=1". 82 # TODO(brettw) should probably be "=1".
86 defines += [ "UI_COMPOSITOR_IMAGE_TRANSPORT" ] 83 defines += [ "UI_COMPOSITOR_IMAGE_TRANSPORT" ]
87 } 84 }
88 if (use_ash) { 85 if (use_ash) {
89 defines += [ "USE_ASH=1" ] 86 defines += [ "USE_ASH=1" ]
90 } 87 }
91 if (use_aura) { 88 if (use_aura) {
92 defines += [ "USE_AURA=1" ] 89 defines += [ "USE_AURA=1" ]
93 } 90 }
(...skipping 16 matching lines...) Expand all
110 defines += [ "USE_OPENSSL=1" ] 107 defines += [ "USE_OPENSSL=1" ]
111 if (use_openssl_certs) { 108 if (use_openssl_certs) {
112 defines += [ "USE_OPENSSL_CERTS=1" ] 109 defines += [ "USE_OPENSSL_CERTS=1" ]
113 } 110 }
114 } else if (use_nss_certs) { 111 } else if (use_nss_certs) {
115 # USE_NSS really means "use nss for certificate validation and storage" 112 # USE_NSS really means "use nss for certificate validation and storage"
116 # (like USE_OPENSSL_CERTS) and not "we're linking to NSS." It might be nice 113 # (like USE_OPENSSL_CERTS) and not "we're linking to NSS." It might be nice
117 # to rename this but we're hoping to transition away from NSS. 114 # to rename this but we're hoping to transition away from NSS.
118 defines += [ "USE_NSS=1" ] 115 defines += [ "USE_NSS=1" ]
119 } 116 }
120 if (use_ozone) {
121 defines += [ "USE_OZONE=1" ]
122 }
123 if (use_x11) { 117 if (use_x11) {
124 defines += [ "USE_X11=1" ] 118 defines += [ "USE_X11=1" ]
125 } 119 }
126 if (use_allocator != "tcmalloc") { 120 if (use_allocator != "tcmalloc") {
127 defines += [ "NO_TCMALLOC" ] 121 defines += [ "NO_TCMALLOC" ]
128 } 122 }
129 if (is_asan) { 123 if (is_asan) {
130 defines += [ 124 defines += [
131 "ADDRESS_SANITIZER", 125 "ADDRESS_SANITIZER",
132 "MEMORY_TOOL_REPLACES_ALLOCATOR", 126 "MEMORY_TOOL_REPLACES_ALLOCATOR",
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 "CoreFoundation.framework", 301 "CoreFoundation.framework",
308 "CoreGraphics.framework", 302 "CoreGraphics.framework",
309 "CoreText.framework", 303 "CoreText.framework",
310 "Foundation.framework", 304 "Foundation.framework",
311 "UIKit.framework", 305 "UIKit.framework",
312 ] 306 ]
313 } else if (is_linux) { 307 } else if (is_linux) {
314 libs = [ "dl" ] 308 libs = [ "dl" ]
315 } 309 }
316 } 310 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | build/config/ui.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698