| 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/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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 defines = [ "V8_DEPRECATION_WARNINGS" ] | 64 defines = [ "V8_DEPRECATION_WARNINGS" ] |
| 65 if (enable_notifications) { | 65 if (enable_notifications) { |
| 66 defines += [ "ENABLE_NOTIFICATIONS" ] | 66 defines += [ "ENABLE_NOTIFICATIONS" ] |
| 67 } | 67 } |
| 68 if (enable_plugins) { | 68 if (enable_plugins) { |
| 69 defines += [ "ENABLE_PLUGINS=1" ] | 69 defines += [ "ENABLE_PLUGINS=1" ] |
| 70 } | 70 } |
| 71 if (enable_pdf) { | 71 if (enable_pdf) { |
| 72 defines += [ "ENABLE_PDF=1" ] | 72 defines += [ "ENABLE_PDF=1" ] |
| 73 } | 73 } |
| 74 if (enable_spellcheck) { | |
| 75 defines += [ "ENABLE_SPELLCHECK=1" ] | |
| 76 } | |
| 77 if (use_browser_spellchecker) { | |
| 78 defines += [ "USE_BROWSER_SPELLCHECKER=1" ] | |
| 79 } | |
| 80 if (dcheck_always_on) { | 74 if (dcheck_always_on) { |
| 81 defines += [ "DCHECK_ALWAYS_ON=1" ] | 75 defines += [ "DCHECK_ALWAYS_ON=1" ] |
| 82 } | 76 } |
| 83 if (use_udev) { | 77 if (use_udev) { |
| 84 # TODO(brettw) should probably be "=1". | 78 # TODO(brettw) should probably be "=1". |
| 85 defines += [ "USE_UDEV" ] | 79 defines += [ "USE_UDEV" ] |
| 86 } | 80 } |
| 87 if (ui_compositor_image_transport) { | 81 if (ui_compositor_image_transport) { |
| 88 # TODO(brettw) should probably be "=1". | 82 # TODO(brettw) should probably be "=1". |
| 89 defines += [ "UI_COMPOSITOR_IMAGE_TRANSPORT" ] | 83 defines += [ "UI_COMPOSITOR_IMAGE_TRANSPORT" ] |
| (...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 430 # file doesn't exist, no error will be generated (probably MS tested this | 424 # file doesn't exist, no error will be generated (probably MS tested this |
| 431 # case but forgot the other one?). To reproduce this error, do a build, | 425 # case but forgot the other one?). To reproduce this error, do a build, |
| 432 # then delete the precompile.c.obj file, then build again. | 426 # then delete the precompile.c.obj file, then build again. |
| 433 cflags_c = [ "/wd4206" ] | 427 cflags_c = [ "/wd4206" ] |
| 434 } else if (is_mac) { | 428 } else if (is_mac) { |
| 435 precompiled_header = "build/precompile.h" | 429 precompiled_header = "build/precompile.h" |
| 436 precompiled_source = "//build/precompile.h" | 430 precompiled_source = "//build/precompile.h" |
| 437 } | 431 } |
| 438 } | 432 } |
| 439 } | 433 } |
| OLD | NEW |