OLD | NEW |
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 27 matching lines...) Expand all Loading... |
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 | 47 |
48 # For now, only Linux spellchecks in the renderer. | |
49 'spellchecker_in_renderer%': 1, | |
50 }, { # OS!="linux" | 48 }, { # OS!="linux" |
51 'target_arch%': 'ia32', | 49 'target_arch%': 'ia32', |
52 | 50 }], |
| 51 [ 'OS=="mac"', { |
| 52 # For now, only Linux and Windows use spellcheck in the renderer. |
53 'spellchecker_in_renderer%': 0, | 53 'spellchecker_in_renderer%': 0, |
| 54 }, { # OS!="mac" |
| 55 'spellchecker_in_renderer%': 1, |
54 }], | 56 }], |
55 ], | 57 ], |
56 | 58 |
57 # We do want to build Chromium with Breakpad support in certain | 59 # We do want to build Chromium with Breakpad support in certain |
58 # situations. I.e. for Chrome bot. | 60 # situations. I.e. for Chrome bot. |
59 'linux_chromium_breakpad%': 0, | 61 'linux_chromium_breakpad%': 0, |
60 # And if we want to dump symbols. | 62 # And if we want to dump symbols. |
61 'linux_chromium_dump_symbols%': 0, | 63 'linux_chromium_dump_symbols%': 0, |
62 # Also see linux_strip_binary below. | 64 # Also see linux_strip_binary below. |
63 | 65 |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 'library%': 'static_library', | 138 'library%': 'static_library', |
137 | 139 |
138 # The Google Update appid. | 140 # The Google Update appid. |
139 'google_update_appid%': '{8A69D345-D564-463c-AFF1-A69D9E530F96}', | 141 'google_update_appid%': '{8A69D345-D564-463c-AFF1-A69D9E530F96}', |
140 | 142 |
141 # Whether to add the experimental build define. | 143 # Whether to add the experimental build define. |
142 'chrome_frame_define%': 0, | 144 'chrome_frame_define%': 0, |
143 | 145 |
144 # Whether pepper APIs are enabled. | 146 # Whether pepper APIs are enabled. |
145 'enable_pepper%': 0, | 147 'enable_pepper%': 0, |
146 | 148 |
147 # TODO(bradnelson): eliminate this when possible. | 149 # TODO(bradnelson): eliminate this when possible. |
148 # To allow local gyp files to prevent release.vsprops from being included. | 150 # To allow local gyp files to prevent release.vsprops from being included. |
149 # Yes(1) means include release.vsprops. | 151 # Yes(1) means include release.vsprops. |
150 # Once all vsprops settings are migrated into gyp, this can go away. | 152 # Once all vsprops settings are migrated into gyp, this can go away. |
151 'msvs_use_common_release%': 1, | 153 'msvs_use_common_release%': 1, |
152 | 154 |
153 # TODO(bradnelson): eliminate this when possible. | 155 # TODO(bradnelson): eliminate this when possible. |
154 # To allow local gyp files to override additional linker options for msvs. | 156 # To allow local gyp files to override additional linker options for msvs. |
155 # Yes(1) means set use the common linker options. | 157 # Yes(1) means set use the common linker options. |
156 'msvs_use_common_linker_extras%': 1, | 158 'msvs_use_common_linker_extras%': 1, |
(...skipping 803 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
960 # and therefore SYMROOT, needs to be set at the project level. | 962 # and therefore SYMROOT, needs to be set at the project level. |
961 'SYMROOT': '<(DEPTH)/xcodebuild', | 963 'SYMROOT': '<(DEPTH)/xcodebuild', |
962 }, | 964 }, |
963 } | 965 } |
964 | 966 |
965 # Local Variables: | 967 # Local Variables: |
966 # tab-width:2 | 968 # tab-width:2 |
967 # indent-tabs-mode:nil | 969 # indent-tabs-mode:nil |
968 # End: | 970 # End: |
969 # vim: set expandtab tabstop=2 shiftwidth=2: | 971 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |