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

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

Issue 683113005: Update from chromium https://crrev.com/302282 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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/BUILDCONFIG.gn » ('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 9
10 declare_args() { 10 declare_args() {
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 } 114 }
115 if (use_x11) { 115 if (use_x11) {
116 defines += [ "USE_X11=1" ] 116 defines += [ "USE_X11=1" ]
117 if (use_xi2_mt > 0) { 117 if (use_xi2_mt > 0) {
118 defines += [ "USE_XI2_MT=$use_xi2_mt" ] 118 defines += [ "USE_XI2_MT=$use_xi2_mt" ]
119 } 119 }
120 } 120 }
121 if (use_allocator != "tcmalloc") { 121 if (use_allocator != "tcmalloc") {
122 defines += [ "NO_TCMALLOC" ] 122 defines += [ "NO_TCMALLOC" ]
123 } 123 }
124 if (is_asan) {
125 defines += [
126 "ADDRESS_SANITIZER",
127 "MEMORY_TOOL_REPLACES_ALLOCATOR",
128 "MEMORY_SANITIZER_INITIAL_SIZE",
129 ]
130 }
124 if (enable_webrtc) { 131 if (enable_webrtc) {
125 defines += [ "ENABLE_WEBRTC=1" ] 132 defines += [ "ENABLE_WEBRTC=1" ]
126 } 133 }
127 if (disable_ftp_support) { 134 if (disable_ftp_support) {
128 defines += [ "DISABLE_FTP_SUPPORT=1" ] 135 defines += [ "DISABLE_FTP_SUPPORT=1" ]
129 } 136 }
130 if (!enable_nacl) { 137 if (!enable_nacl) {
131 defines += [ "DISABLE_NACL" ] 138 defines += [ "DISABLE_NACL" ]
132 } 139 }
133 if (enable_extensions) { 140 if (enable_extensions) {
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 "CoreText.framework", 299 "CoreText.framework",
293 "Foundation.framework", 300 "Foundation.framework",
294 "UIKit.framework", 301 "UIKit.framework",
295 ] 302 ]
296 } else if (is_linux) { 303 } else if (is_linux) {
297 libs = [ 304 libs = [
298 "dl", 305 "dl",
299 ] 306 ]
300 } 307 }
301 } 308 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | build/config/BUILDCONFIG.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698