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