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

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

Issue 343233004: Add chrome/renderer to the GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: work around lack of hunspell Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « apps/common/api/api.gyp ('k') | build/config/features.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 9
10 declare_args() { 10 declare_args() {
(...skipping 19 matching lines...) Expand all
30 config("feature_flags") { 30 config("feature_flags") {
31 # TODO(brettw) most of these need to be parameterized. 31 # TODO(brettw) most of these need to be parameterized.
32 defines = [ 32 defines = [
33 "CHROMIUM_BUILD", 33 "CHROMIUM_BUILD",
34 "ENABLE_ONE_CLICK_SIGNIN", 34 "ENABLE_ONE_CLICK_SIGNIN",
35 "ENABLE_REMOTING=1", 35 "ENABLE_REMOTING=1",
36 "ENABLE_CONFIGURATION_POLICY", 36 "ENABLE_CONFIGURATION_POLICY",
37 "ENABLE_NOTIFICATIONS", 37 "ENABLE_NOTIFICATIONS",
38 "ENABLE_EGLIMAGE=1", 38 "ENABLE_EGLIMAGE=1",
39 "ENABLE_TASK_MANAGER=1", 39 "ENABLE_TASK_MANAGER=1",
40 "ENABLE_EXTENSIONS=1",
41 "ENABLE_PLUGIN_INSTALLATION=1", 40 "ENABLE_PLUGIN_INSTALLATION=1",
42 "ENABLE_SESSION_SERVICE=1", 41 "ENABLE_SESSION_SERVICE=1",
43 "ENABLE_THEMES=1", 42 "ENABLE_THEMES=1",
44 "ENABLE_AUTOFILL_DIALOG=1", 43 "ENABLE_AUTOFILL_DIALOG=1",
45 "ENABLE_BACKGROUND=1", 44 "ENABLE_BACKGROUND=1",
46 "ENABLE_GOOGLE_NOW=1", 45 "ENABLE_GOOGLE_NOW=1",
47 "ENABLE_CAPTIVE_PORTAL_DETECTION=1", 46 "ENABLE_CAPTIVE_PORTAL_DETECTION=1",
48 "ENABLE_APP_LIST=1", 47 "ENABLE_APP_LIST=1",
49 "ENABLE_SETTINGS_APP=1", 48 "ENABLE_SETTINGS_APP=1",
50 "ENABLE_MANAGED_USERS=1", 49 "ENABLE_MANAGED_USERS=1",
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 } 130 }
132 if (use_allocator != "tcmalloc") { 131 if (use_allocator != "tcmalloc") {
133 defines += [ "NO_TCMALLOC" ] 132 defines += [ "NO_TCMALLOC" ]
134 } 133 }
135 if (enable_webrtc) { 134 if (enable_webrtc) {
136 defines += [ "ENABLE_WEBRTC=1" ] 135 defines += [ "ENABLE_WEBRTC=1" ]
137 } 136 }
138 if (disable_ftp_support) { 137 if (disable_ftp_support) {
139 defines += [ "DISABLE_FTP_SUPPORT=1" ] 138 defines += [ "DISABLE_FTP_SUPPORT=1" ]
140 } 139 }
140 if (!enable_nacl) {
141 defines += [ "DISABLE_NACL" ]
142 }
143 if (enable_extensions) {
144 defines += [ "ENABLE_EXTENSIONS=1" ]
145 }
141 } 146 }
142 147
143 # Debug/release ---------------------------------------------------------------- 148 # Debug/release ----------------------------------------------------------------
144 149
145 config("debug") { 150 config("debug") {
146 defines = [ 151 defines = [
147 "_DEBUG", 152 "_DEBUG",
148 "DYNAMIC_ANNOTATIONS_ENABLED=1", 153 "DYNAMIC_ANNOTATIONS_ENABLED=1",
149 "WTF_USE_DYNAMIC_ANNOTATIONS=1", 154 "WTF_USE_DYNAMIC_ANNOTATIONS=1",
150 ] 155 ]
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 "CoreText.framework", 239 "CoreText.framework",
235 "Foundation.framework", 240 "Foundation.framework",
236 "UIKit.framework", 241 "UIKit.framework",
237 ] 242 ]
238 } else if (is_linux) { 243 } else if (is_linux) {
239 libs = [ 244 libs = [
240 "dl", 245 "dl",
241 ] 246 ]
242 } 247 }
243 } 248 }
OLDNEW
« no previous file with comments | « apps/common/api/api.gyp ('k') | build/config/features.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698