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

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

Issue 2494183002: Remove some global defines and build flags. (Closed)
Patch Set: 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 | « no previous file | 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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 } 166 }
167 if (enable_task_manager) { 167 if (enable_task_manager) {
168 defines += [ "ENABLE_TASK_MANAGER=1" ] 168 defines += [ "ENABLE_TASK_MANAGER=1" ]
169 } 169 }
170 if (enable_themes) { 170 if (enable_themes) {
171 defines += [ "ENABLE_THEMES=1" ] 171 defines += [ "ENABLE_THEMES=1" ]
172 } 172 }
173 if (enable_rlz) { 173 if (enable_rlz) {
174 defines += [ "ENABLE_RLZ" ] 174 defines += [ "ENABLE_RLZ" ]
175 } 175 }
176 if (enable_image_loader_extension) {
177 defines += [ "IMAGE_LOADER_EXTENSION=1" ]
178 }
179 if (enable_wayland_server) { 176 if (enable_wayland_server) {
180 defines += [ "ENABLE_WAYLAND_SERVER=1" ] 177 defines += [ "ENABLE_WAYLAND_SERVER=1" ]
181 } 178 }
182 if (enable_wifi_display) { 179 if (enable_wifi_display) {
183 defines += [ "ENABLE_WIFI_DISPLAY=1" ] 180 defines += [ "ENABLE_WIFI_DISPLAY=1" ]
184 } 181 }
185 if (proprietary_codecs) { 182 if (proprietary_codecs) {
186 defines += [ "USE_PROPRIETARY_CODECS" ] 183 defines += [ "USE_PROPRIETARY_CODECS" ]
187 } 184 }
188 if (safe_browsing_mode == 1) { 185 if (safe_browsing_mode == 1) {
(...skipping 247 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 | « no previous file | build/config/features.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698