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

Side by Side Diff: build/common.gypi

Issue 357003: Move the spellchecker to the renderer.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rename Created 11 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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 # IMPORTANT: 5 # IMPORTANT:
6 # Please don't directly include this file if you are building via gyp_chromium, 6 # Please don't directly include this file if you are building via gyp_chromium,
7 # since gyp_chromium is automatically forcing its inclusion. 7 # since gyp_chromium is automatically forcing its inclusion.
8 { 8 {
9 'variables': { 9 'variables': {
10 # .gyp files should set chromium_code to 1 if they build Chromium-specific 10 # .gyp files should set chromium_code to 1 if they build Chromium-specific
(...skipping 25 matching lines...) Expand all
36 'buildtype%': 'Dev', 36 'buildtype%': 'Dev',
37 37
38 # Compute the architecture that we're building for. Default to the 38 # Compute the architecture that we're building for. Default to the
39 # architecture that we're building on. 39 # architecture that we're building on.
40 'conditions': [ 40 'conditions': [
41 [ 'OS=="linux"', { 41 [ 'OS=="linux"', {
42 # This handles the Linux platforms we generally deal with. Anything 42 # This handles the Linux platforms we generally deal with. Anything
43 # else gets passed through, which probably won't work very well; such 43 # else gets passed through, which probably won't work very well; such
44 # hosts should pass an explicit target_arch to gyp. 44 # hosts should pass an explicit target_arch to gyp.
45 'target_arch%': 45 'target_arch%':
46 '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/arm.*/arm/")' 46 '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/arm.*/arm/")',
47
48 # For now, only Linux spellchecks in the renderer.
49 'spellchecker_in_renderer%': 1,
47 }, { # OS!="linux" 50 }, { # OS!="linux"
48 'target_arch%': 'ia32', 51 'target_arch%': 'ia32',
52
53 'spellchecker_in_renderer%': 0,
49 }], 54 }],
50 ], 55 ],
51 56
52 # We do want to build Chromium with Breakpad support in certain 57 # We do want to build Chromium with Breakpad support in certain
53 # situations. I.e. for Chrome bot. 58 # situations. I.e. for Chrome bot.
54 'linux_chromium_breakpad%': 0, 59 'linux_chromium_breakpad%': 0,
55 # And if we want to dump symbols. 60 # And if we want to dump symbols.
56 'linux_chromium_dump_symbols%': 0, 61 'linux_chromium_dump_symbols%': 0,
57 # Also see linux_strip_binary below. 62 # Also see linux_strip_binary below.
58 63
(...skipping 13 matching lines...) Expand all
72 # Set to 1 to enable fast builds. It disables debug info for fastest 77 # Set to 1 to enable fast builds. It disables debug info for fastest
73 # compilation. 78 # compilation.
74 'fastbuild%': 0, 79 'fastbuild%': 0,
75 }, 80 },
76 81
77 # Define branding and buildtype on the basis of their settings within the 82 # Define branding and buildtype on the basis of their settings within the
78 # variables sub-dict above, unless overridden. 83 # variables sub-dict above, unless overridden.
79 'branding%': '<(branding)', 84 'branding%': '<(branding)',
80 'buildtype%': '<(buildtype)', 85 'buildtype%': '<(buildtype)',
81 'target_arch%': '<(target_arch)', 86 'target_arch%': '<(target_arch)',
87 'spellchecker_in_renderer%': '<(spellchecker_in_renderer)',
82 'toolkit_views%': '<(toolkit_views)', 88 'toolkit_views%': '<(toolkit_views)',
83 'chromeos%': '<(chromeos)', 89 'chromeos%': '<(chromeos)',
84 'inside_chromium_build%': '<(inside_chromium_build)', 90 'inside_chromium_build%': '<(inside_chromium_build)',
85 'fastbuild%': '<(fastbuild)', 91 'fastbuild%': '<(fastbuild)',
86 92
87 # Override chromium_mac_pch and set it to 0 to suppress the use of 93 # Override chromium_mac_pch and set it to 0 to suppress the use of
88 # precompiled headers on the Mac. Prefix header injection may still be 94 # precompiled headers on the Mac. Prefix header injection may still be
89 # used, but prefix headers will not be precompiled. This is useful when 95 # used, but prefix headers will not be precompiled. This is useful when
90 # using distcc to distribute a build to compile slaves that don't 96 # using distcc to distribute a build to compile slaves that don't
91 # share the same compiler executable as the system driving the compilation, 97 # share the same compiler executable as the system driving the compilation,
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 }], 294 }],
289 ['chromeos==1', { 295 ['chromeos==1', {
290 'defines': ['CHROMEOS_TRANSITIONAL=1'], 296 'defines': ['CHROMEOS_TRANSITIONAL=1'],
291 }], 297 }],
292 ['chromeos==1 or toolkit_views==1', { 298 ['chromeos==1 or toolkit_views==1', {
293 'defines': ['OS_CHROMEOS=1'], 299 'defines': ['OS_CHROMEOS=1'],
294 }], 300 }],
295 ['enable_pepper==1', { 301 ['enable_pepper==1', {
296 'defines': ['ENABLE_PEPPER=1'], 302 'defines': ['ENABLE_PEPPER=1'],
297 }], 303 }],
304 ['spellchecker_in_renderer==1', {
305 'defines': ['SPELLCHECKER_IN_RENDERER=1']
306 }],
298 ['fastbuild!=0', { 307 ['fastbuild!=0', {
299 'conditions': [ 308 'conditions': [
300 # Finally, for Windows, we simply turn on profiling. 309 # Finally, for Windows, we simply turn on profiling.
301 ['OS=="win"', { 310 ['OS=="win"', {
302 'msvs_settings': { 311 'msvs_settings': {
303 'VCLinkerTool': { 312 'VCLinkerTool': {
304 'GenerateDebugInformation': 'false', 313 'GenerateDebugInformation': 'false',
305 }, 314 },
306 'VCCLCompilerTool': { 315 'VCCLCompilerTool': {
307 'DebugInformationFormat': '0', 316 'DebugInformationFormat': '0',
(...skipping 627 matching lines...) Expand 10 before | Expand all | Expand 10 after
935 # and therefore SYMROOT, needs to be set at the project level. 944 # and therefore SYMROOT, needs to be set at the project level.
936 'SYMROOT': '<(DEPTH)/xcodebuild', 945 'SYMROOT': '<(DEPTH)/xcodebuild',
937 }, 946 },
938 } 947 }
939 948
940 # Local Variables: 949 # Local Variables:
941 # tab-width:2 950 # tab-width:2
942 # indent-tabs-mode:nil 951 # indent-tabs-mode:nil
943 # End: 952 # End:
944 # vim: set expandtab tabstop=2 shiftwidth=2: 953 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698