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

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

Issue 1469383005: New build flag system, convert Google Now flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make separate gyp to avoid cycle 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
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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 } 211 }
212 if (enable_service_discovery) { 212 if (enable_service_discovery) {
213 defines += [ "ENABLE_SERVICE_DISCOVERY=1" ] 213 defines += [ "ENABLE_SERVICE_DISCOVERY=1" ]
214 } 214 }
215 if (enable_autofill_dialog) { 215 if (enable_autofill_dialog) {
216 defines += [ "ENABLE_AUTOFILL_DIALOG=1" ] 216 defines += [ "ENABLE_AUTOFILL_DIALOG=1" ]
217 } 217 }
218 if (enable_image_loader_extension) { 218 if (enable_image_loader_extension) {
219 defines += [ "IMAGE_LOADER_EXTENSION=1" ] 219 defines += [ "IMAGE_LOADER_EXTENSION=1" ]
220 } 220 }
221 if (enable_google_now) {
222 defines += [ "ENABLE_GOOGLE_NOW=1" ]
223 }
224 if (enable_one_click_signin) { 221 if (enable_one_click_signin) {
225 defines += [ "ENABLE_ONE_CLICK_SIGNIN" ] 222 defines += [ "ENABLE_ONE_CLICK_SIGNIN" ]
226 } 223 }
227 if (enable_hidpi) { 224 if (enable_hidpi) {
228 defines += [ "ENABLE_HIDPI=1" ] 225 defines += [ "ENABLE_HIDPI=1" ]
229 } 226 }
230 if (enable_topchrome_md) { 227 if (enable_topchrome_md) {
231 defines += [ "ENABLE_TOPCHROME_MD=1" ] 228 defines += [ "ENABLE_TOPCHROME_MD=1" ]
232 } 229 }
233 if (enable_wayland_server) { 230 if (enable_wayland_server) {
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 # This error doesn't happen every time. In VS2013, it seems if the .pch 433 # This error doesn't happen every time. In VS2013, it seems if the .pch
437 # file doesn't exist, no error will be generated (probably MS tested this 434 # file doesn't exist, no error will be generated (probably MS tested this
438 # case but forgot the other one?). To reproduce this error, do a build, 435 # case but forgot the other one?). To reproduce this error, do a build,
439 # then delete the precompile.c.obj file, then build again. 436 # then delete the precompile.c.obj file, then build again.
440 cflags_c = [ "/wd4206" ] 437 cflags_c = [ "/wd4206" ]
441 } else if (is_mac && !is_official_build && !use_goma) { 438 } else if (is_mac && !is_official_build && !use_goma) {
442 precompiled_header = "build/precompile.h" 439 precompiled_header = "build/precompile.h"
443 precompiled_source = "//build/precompile.h" 440 precompiled_source = "//build/precompile.h"
444 } 441 }
445 } 442 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | build/config/features.gni » ('j') | chrome/chrome_resources.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698