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 } | |
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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 # This error doesn't happen every time. In VS2013, it seems if the .pch | 436 # This error doesn't happen every time. In VS2013, it seems if the .pch |
440 # file doesn't exist, no error will be generated (probably MS tested this | 437 # file doesn't exist, no error will be generated (probably MS tested this |
441 # case but forgot the other one?). To reproduce this error, do a build, | 438 # case but forgot the other one?). To reproduce this error, do a build, |
442 # then delete the precompile.c.obj file, then build again. | 439 # then delete the precompile.c.obj file, then build again. |
443 cflags_c = [ "/wd4206" ] | 440 cflags_c = [ "/wd4206" ] |
444 } else if (is_mac && !is_official_build && !use_goma) { | 441 } else if (is_mac && !is_official_build && !use_goma) { |
445 precompiled_header = "build/precompile.h" | 442 precompiled_header = "build/precompile.h" |
446 precompiled_source = "//build/precompile.h" | 443 precompiled_source = "//build/precompile.h" |
447 } | 444 } |
448 } | 445 } |
OLD | NEW |