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

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

Issue 1263423006: Rename spellchecker preprocessor flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months 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
« no previous file with comments | « build/common.gypi ('k') | build/config/features.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 } 74 }
75 if (enable_print_preview) { 75 if (enable_print_preview) {
76 # Enable printing with print preview. 76 # Enable printing with print preview.
77 # Can be defined without ENABLE_BASIC_PRINTING. 77 # Can be defined without ENABLE_BASIC_PRINTING.
78 defines += [ "ENABLE_PRINT_PREVIEW=1" ] 78 defines += [ "ENABLE_PRINT_PREVIEW=1" ]
79 } 79 }
80 } 80 }
81 if (enable_spellcheck) { 81 if (enable_spellcheck) {
82 defines += [ "ENABLE_SPELLCHECK=1" ] 82 defines += [ "ENABLE_SPELLCHECK=1" ]
83 } 83 }
84 if (use_platform_spellchecker) { 84 if (use_browser_spellchecker) {
85 defines += [ "USE_PLATFORM_SPELLCHECKER=1" ] 85 defines += [ "USE_BROWSER_SPELLCHECKER=1" ]
86 } 86 }
87 if (dont_embed_build_metadata) { 87 if (dont_embed_build_metadata) {
88 defines += [ "DONT_EMBED_BUILD_METADATA" ] 88 defines += [ "DONT_EMBED_BUILD_METADATA" ]
89 } 89 }
90 if (dcheck_always_on) { 90 if (dcheck_always_on) {
91 defines += [ "DCHECK_ALWAYS_ON=1" ] 91 defines += [ "DCHECK_ALWAYS_ON=1" ]
92 } 92 }
93 if (use_udev) { 93 if (use_udev) {
94 # TODO(brettw) should probably be "=1". 94 # TODO(brettw) should probably be "=1".
95 defines += [ "USE_UDEV" ] 95 defines += [ "USE_UDEV" ]
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 # with precompiled headers since the source file that's "compiled" for 437 # with precompiled headers since the source file that's "compiled" for
438 # making the precompiled header is empty. 438 # making the precompiled header is empty.
439 # 439 #
440 # This error doesn't happen every time. In VS2013, it seems if the .pch 440 # This error doesn't happen every time. In VS2013, it seems if the .pch
441 # file doesn't exist, no error will be generated (probably MS tested this 441 # file doesn't exist, no error will be generated (probably MS tested this
442 # case but forgot the other one?). To reproduce this error, do a build, 442 # case but forgot the other one?). To reproduce this error, do a build,
443 # then delete the precompile.c.obj file, then build again. 443 # then delete the precompile.c.obj file, then build again.
444 cflags_c = [ "/wd4206" ] 444 cflags_c = [ "/wd4206" ]
445 } 445 }
446 } 446 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | build/config/features.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698