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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 }], | 182 }], |
183 # Don't do incremental linking for large modules on 32-bit. | 183 # Don't do incremental linking for large modules on 32-bit. |
184 ['MSVS_OS_BITS==32', { | 184 ['MSVS_OS_BITS==32', { |
185 'msvs_large_module_debug_link_mode%': '1', # No | 185 'msvs_large_module_debug_link_mode%': '1', # No |
186 },{ | 186 },{ |
187 'msvs_large_module_debug_link_mode%': '2', # Yes | 187 'msvs_large_module_debug_link_mode%': '2', # Yes |
188 }], | 188 }], |
189 ], | 189 ], |
190 }], | 190 }], |
191 ], | 191 ], |
| 192 |
| 193 # NOTE: When these end up in the Mac bundle, we need to replace '-' for '_' |
| 194 # so Cocoa is happy (http://crbug.com/20441). |
| 195 'locales': [ |
| 196 'ar', 'bg', 'bn', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', |
| 197 'en-US', 'es-419', 'es', 'et', 'fi', 'fil', 'fr', 'gu', 'he', |
| 198 'hi', 'hr', 'hu', 'id', 'it', 'ja', 'kn', 'ko', 'lt', 'lv', |
| 199 'ml', 'mr', 'nb', 'nl', 'or', 'pl', 'pt-BR', 'pt-PT', 'ro', |
| 200 'ru', 'sk', 'sl', 'sr', 'sv', 'ta', 'te', 'th', 'tr', |
| 201 'uk', 'vi', 'zh-CN', 'zh-TW', |
| 202 ], |
192 }, | 203 }, |
193 'target_defaults': { | 204 'target_defaults': { |
194 'variables': { | 205 'variables': { |
195 'mac_release_optimization%': '3', # Use -O3 unless overridden | 206 'mac_release_optimization%': '3', # Use -O3 unless overridden |
196 'mac_debug_optimization%': '0', # Use -O0 unless overridden | 207 'mac_debug_optimization%': '0', # Use -O0 unless overridden |
197 'release_extra_cflags%': '', | 208 'release_extra_cflags%': '', |
198 'debug_extra_cflags%': '', | 209 'debug_extra_cflags%': '', |
199 }, | 210 }, |
200 'conditions': [ | 211 'conditions': [ |
201 ['branding=="Chrome"', { | 212 ['branding=="Chrome"', { |
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
818 # settings in target dicts. SYMROOT is a special case, because many other | 829 # settings in target dicts. SYMROOT is a special case, because many other |
819 # Xcode variables depend on it, including variables such as | 830 # Xcode variables depend on it, including variables such as |
820 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 831 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
821 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 832 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
822 # files to appear (when present) in the UI as actual files and not red | 833 # files to appear (when present) in the UI as actual files and not red |
823 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 834 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
824 # and therefore SYMROOT, needs to be set at the project level. | 835 # and therefore SYMROOT, needs to be set at the project level. |
825 'SYMROOT': '<(DEPTH)/xcodebuild', | 836 'SYMROOT': '<(DEPTH)/xcodebuild', |
826 }, | 837 }, |
827 } | 838 } |
OLD | NEW |