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

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

Issue 2479593006: Move enable extensions define to a build flag. (Closed)
Patch Set: Merge Created 4 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 | « apps/BUILD.gn ('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/chrome_build.gni") 6 import("//build/config/chrome_build.gni")
7 import("//build/config/chromecast_build.gni") 7 import("//build/config/chromecast_build.gni")
8 import("//build/config/crypto.gni") 8 import("//build/config/crypto.gni")
9 import("//build/config/dcheck_always_on.gni") 9 import("//build/config/dcheck_always_on.gni")
10 import("//build/config/features.gni") 10 import("//build/config/features.gni")
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 } 154 }
155 if (use_external_popup_menu) { 155 if (use_external_popup_menu) {
156 defines += [ "USE_EXTERNAL_POPUP_MENU=1" ] 156 defines += [ "USE_EXTERNAL_POPUP_MENU=1" ]
157 } 157 }
158 if (enable_webrtc) { 158 if (enable_webrtc) {
159 defines += [ "ENABLE_WEBRTC=1" ] 159 defines += [ "ENABLE_WEBRTC=1" ]
160 } 160 }
161 if (!enable_nacl) { 161 if (!enable_nacl) {
162 defines += [ "DISABLE_NACL" ] 162 defines += [ "DISABLE_NACL" ]
163 } 163 }
164 if (enable_extensions) {
165 defines += [ "ENABLE_EXTENSIONS=1" ]
166 }
167 if (enable_task_manager) { 164 if (enable_task_manager) {
168 defines += [ "ENABLE_TASK_MANAGER=1" ] 165 defines += [ "ENABLE_TASK_MANAGER=1" ]
169 } 166 }
170 if (enable_themes) { 167 if (enable_themes) {
171 defines += [ "ENABLE_THEMES=1" ] 168 defines += [ "ENABLE_THEMES=1" ]
172 } 169 }
173 if (enable_rlz) { 170 if (enable_rlz) {
174 defines += [ "ENABLE_RLZ" ] 171 defines += [ "ENABLE_RLZ" ]
175 } 172 }
176 if (enable_image_loader_extension) { 173 if (enable_image_loader_extension) {
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 # file doesn't exist, no error will be generated (probably MS tested this 433 # file doesn't exist, no error will be generated (probably MS tested this
437 # case but forgot the other one?). To reproduce this error, do a build, 434 # case but forgot the other one?). To reproduce this error, do a build,
438 # then delete the precompile.c.obj file, then build again. 435 # then delete the precompile.c.obj file, then build again.
439 cflags_c = [ "/wd4206" ] 436 cflags_c = [ "/wd4206" ]
440 } else if (is_mac) { 437 } else if (is_mac) {
441 precompiled_header = "build/precompile.h" 438 precompiled_header = "build/precompile.h"
442 precompiled_source = "//build/precompile.h" 439 precompiled_source = "//build/precompile.h"
443 } 440 }
444 } 441 }
445 } 442 }
OLDNEW
« no previous file with comments | « apps/BUILD.gn ('k') | build/config/features.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698