OLD | NEW |
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 Loading... |
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 } |
221 if (enable_one_click_signin) { | 224 if (enable_one_click_signin) { |
222 defines += [ "ENABLE_ONE_CLICK_SIGNIN" ] | 225 defines += [ "ENABLE_ONE_CLICK_SIGNIN" ] |
223 } | 226 } |
224 if (enable_hidpi) { | 227 if (enable_hidpi) { |
225 defines += [ "ENABLE_HIDPI=1" ] | 228 defines += [ "ENABLE_HIDPI=1" ] |
226 } | 229 } |
227 if (enable_topchrome_md) { | 230 if (enable_topchrome_md) { |
228 defines += [ "ENABLE_TOPCHROME_MD=1" ] | 231 defines += [ "ENABLE_TOPCHROME_MD=1" ] |
229 } | 232 } |
230 if (enable_wayland_server) { | 233 if (enable_wayland_server) { |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
436 # This error doesn't happen every time. In VS2013, it seems if the .pch | 439 # 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 | 440 # 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, | 441 # case but forgot the other one?). To reproduce this error, do a build, |
439 # then delete the precompile.c.obj file, then build again. | 442 # then delete the precompile.c.obj file, then build again. |
440 cflags_c = [ "/wd4206" ] | 443 cflags_c = [ "/wd4206" ] |
441 } else if (is_mac && !is_official_build && !use_goma) { | 444 } else if (is_mac && !is_official_build && !use_goma) { |
442 precompiled_header = "build/precompile.h" | 445 precompiled_header = "build/precompile.h" |
443 precompiled_source = "//build/precompile.h" | 446 precompiled_source = "//build/precompile.h" |
444 } | 447 } |
445 } | 448 } |
OLD | NEW |