| 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/ui.gni") | 9 import("//build/config/ui.gni") |
| 10 import("//build/module_args/v8.gni") | 10 import("//build/module_args/v8.gni") |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 } | 73 } |
| 74 if (enable_print_preview) { | 74 if (enable_print_preview) { |
| 75 # Enable printing with print preview. | 75 # Enable printing with print preview. |
| 76 # Can be defined without ENABLE_BASIC_PRINTING. | 76 # Can be defined without ENABLE_BASIC_PRINTING. |
| 77 defines += [ "ENABLE_PRINT_PREVIEW=1" ] | 77 defines += [ "ENABLE_PRINT_PREVIEW=1" ] |
| 78 } | 78 } |
| 79 } | 79 } |
| 80 if (enable_spellcheck) { | 80 if (enable_spellcheck) { |
| 81 defines += [ "ENABLE_SPELLCHECK=1" ] | 81 defines += [ "ENABLE_SPELLCHECK=1" ] |
| 82 } | 82 } |
| 83 if (use_platform_spellchecker) { |
| 84 defines += [ "USE_PLATFORM_SPELLCHECKER=1" ] |
| 85 } |
| 83 if (dont_embed_build_metadata) { | 86 if (dont_embed_build_metadata) { |
| 84 defines += [ "DONT_EMBED_BUILD_METADATA" ] | 87 defines += [ "DONT_EMBED_BUILD_METADATA" ] |
| 85 } | 88 } |
| 86 if (dcheck_always_on) { | 89 if (dcheck_always_on) { |
| 87 defines += [ "DCHECK_ALWAYS_ON=1" ] | 90 defines += [ "DCHECK_ALWAYS_ON=1" ] |
| 88 } | 91 } |
| 89 if (use_udev) { | 92 if (use_udev) { |
| 90 # TODO(brettw) should probably be "=1". | 93 # TODO(brettw) should probably be "=1". |
| 91 defines += [ "USE_UDEV" ] | 94 defines += [ "USE_UDEV" ] |
| 92 } | 95 } |
| (...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 417 | 420 |
| 418 # This is a file that GN will compile with the above header. It will be | 421 # This is a file that GN will compile with the above header. It will be |
| 419 # implicitly added to the sources (potentially multiple times, with one | 422 # implicitly added to the sources (potentially multiple times, with one |
| 420 # variant for each language used in the target). | 423 # variant for each language used in the target). |
| 421 precompiled_source = "//build/precompile.cc" | 424 precompiled_source = "//build/precompile.cc" |
| 422 | 425 |
| 423 # Force include the header. | 426 # Force include the header. |
| 424 cflags = [ "/FI$precompiled_header" ] | 427 cflags = [ "/FI$precompiled_header" ] |
| 425 } | 428 } |
| 426 } | 429 } |
| OLD | NEW |