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

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

Issue 1487873003: Convert enable_pre_sync_backup flag to new flags system. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Created 5 years 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/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/crypto.gni") 7 import("//build/config/crypto.gni")
8 import("//build/config/features.gni") 8 import("//build/config/features.gni")
9 import("//build/config/sanitizers/sanitizers.gni") 9 import("//build/config/sanitizers/sanitizers.gni")
10 import("//build/config/ui.gni") 10 import("//build/config/ui.gni")
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 } 232 }
233 if (proprietary_codecs) { 233 if (proprietary_codecs) {
234 defines += [ "USE_PROPRIETARY_CODECS" ] 234 defines += [ "USE_PROPRIETARY_CODECS" ]
235 } 235 }
236 if (enable_hangout_services_extension) { 236 if (enable_hangout_services_extension) {
237 defines += [ "ENABLE_HANGOUT_SERVICES_EXTENSION=1" ] 237 defines += [ "ENABLE_HANGOUT_SERVICES_EXTENSION=1" ]
238 } 238 }
239 if (enable_background) { 239 if (enable_background) {
240 defines += [ "ENABLE_BACKGROUND=1" ] 240 defines += [ "ENABLE_BACKGROUND=1" ]
241 } 241 }
242 if (enable_pre_sync_backup) {
243 defines += [ "ENABLE_PRE_SYNC_BACKUP" ]
244 }
245 if (enable_video_hole) { 242 if (enable_video_hole) {
246 defines += [ "VIDEO_HOLE=1" ] 243 defines += [ "VIDEO_HOLE=1" ]
247 } 244 }
248 if (safe_browsing_mode == 1) { 245 if (safe_browsing_mode == 1) {
249 defines += [ "FULL_SAFE_BROWSING" ] 246 defines += [ "FULL_SAFE_BROWSING" ]
250 defines += [ "SAFE_BROWSING_CSD" ] 247 defines += [ "SAFE_BROWSING_CSD" ]
251 defines += [ "SAFE_BROWSING_DB_LOCAL" ] 248 defines += [ "SAFE_BROWSING_DB_LOCAL" ]
252 } else if (safe_browsing_mode == 2) { 249 } else if (safe_browsing_mode == 2) {
253 defines += [ "SAFE_BROWSING_DB_REMOTE" ] 250 defines += [ "SAFE_BROWSING_DB_REMOTE" ]
254 } 251 }
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 # This error doesn't happen every time. In VS2013, it seems if the .pch 430 # This error doesn't happen every time. In VS2013, it seems if the .pch
434 # file doesn't exist, no error will be generated (probably MS tested this 431 # file doesn't exist, no error will be generated (probably MS tested this
435 # case but forgot the other one?). To reproduce this error, do a build, 432 # case but forgot the other one?). To reproduce this error, do a build,
436 # then delete the precompile.c.obj file, then build again. 433 # then delete the precompile.c.obj file, then build again.
437 cflags_c = [ "/wd4206" ] 434 cflags_c = [ "/wd4206" ]
438 } else if (is_mac && !is_official_build && !use_goma) { 435 } else if (is_mac && !is_official_build && !use_goma) {
439 precompiled_header = "build/precompile.h" 436 precompiled_header = "build/precompile.h"
440 precompiled_source = "//build/precompile.h" 437 precompiled_source = "//build/precompile.h"
441 } 438 }
442 } 439 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | build/config/features.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698