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 # Whether usage of OpenMAX is enabled. | 149 # Whether usage of OpenMAX is enabled. |
148 'enable_openmax%': 0, | 150 'enable_openmax%': 0, |
149 | 151 |
150 # TODO(bradnelson): eliminate this when possible. | 152 # TODO(bradnelson): eliminate this when possible. |
151 # To allow local gyp files to prevent release.vsprops from being included. | 153 # To allow local gyp files to prevent release.vsprops from being included. |
152 # Yes(1) means include release.vsprops. | 154 # Yes(1) means include release.vsprops. |
153 # Once all vsprops settings are migrated into gyp, this can go away. | 155 # Once all vsprops settings are migrated into gyp, this can go away. |
154 'msvs_use_common_release%': 1, | 156 'msvs_use_common_release%': 1, |
155 | 157 |
156 # TODO(bradnelson): eliminate this when possible. | 158 # TODO(bradnelson): eliminate this when possible. |
(...skipping 810 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
967 # and therefore SYMROOT, needs to be set at the project level. | 969 # and therefore SYMROOT, needs to be set at the project level. |
968 'SYMROOT': '<(DEPTH)/xcodebuild', | 970 'SYMROOT': '<(DEPTH)/xcodebuild', |
969 }, | 971 }, |
970 } | 972 } |
971 | 973 |
972 # Local Variables: | 974 # Local Variables: |
973 # tab-width:2 | 975 # tab-width:2 |
974 # indent-tabs-mode:nil | 976 # indent-tabs-mode:nil |
975 # End: | 977 # End: |
976 # vim: set expandtab tabstop=2 shiftwidth=2: | 978 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |