OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 expected to be overriden on the GYP command line (-D) or by | 9 # Variables expected to be overriden on the GYP command line (-D) or by |
10 # ~/.gyp/include.gypi. | 10 # ~/.gyp/include.gypi. |
(...skipping 836 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
847 | 847 |
848 # Set to 1 to compile with the OpenGL ES 2.0 conformance tests. | 848 # Set to 1 to compile with the OpenGL ES 2.0 conformance tests. |
849 'internal_gles2_conform_tests%': 0, | 849 'internal_gles2_conform_tests%': 0, |
850 | 850 |
851 # NOTE: When these end up in the Mac bundle, we need to replace '-' for '_' | 851 # NOTE: When these end up in the Mac bundle, we need to replace '-' for '_' |
852 # so Cocoa is happy (http://crbug.com/20441). | 852 # so Cocoa is happy (http://crbug.com/20441). |
853 'locales': [ | 853 'locales': [ |
854 'am', 'ar', 'bg', 'bn', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', | 854 'am', 'ar', 'bg', 'bn', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', |
855 'en-US', 'es-419', 'es', 'et', 'fa', 'fi', 'fil', 'fr', 'gu', 'he', | 855 'en-US', 'es-419', 'es', 'et', 'fa', 'fi', 'fil', 'fr', 'gu', 'he', |
856 'hi', 'hr', 'hu', 'id', 'it', 'ja', 'kn', 'ko', 'lt', 'lv', | 856 'hi', 'hr', 'hu', 'id', 'it', 'ja', 'kn', 'ko', 'lt', 'lv', |
857 'ml', 'mr', 'ms', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', 'ro', 'ru', | 857 'ml', 'mr', 'ms', 'nb', 'nl', 'pl', 'pt-PT', 'ro', 'ru', |
858 'sk', 'sl', 'sr', 'sv', 'sw', 'ta', 'te', 'th', 'tr', 'uk', | 858 'sk', 'sl', 'sr', 'sv', 'sw', 'ta', 'te', 'th', 'tr', 'uk', |
859 'vi', 'zh-CN', 'zh-TW', | 859 'vi', 'zh-CN', 'zh-TW', |
860 ], | 860 ], |
861 | 861 |
862 # Pseudo locales are special locales which are used for testing and | 862 # Pseudo locales are special locales which are used for testing and |
863 # debugging. They don't get copied to the final app. For more info, | 863 # debugging. They don't get copied to the final app. For more info, |
864 # check out https://sites.google.com/a/chromium.org/dev/Home/fake-bidi | 864 # check out https://sites.google.com/a/chromium.org/dev/Home/fake-bidi |
865 'pseudo_locales': [ | 865 'pseudo_locales': [ |
866 'fake-bidi', | 866 'fake-bidi', |
867 ], | 867 ], |
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1289 ['OS=="mac"', { | 1289 ['OS=="mac"', { |
1290 'grit_defines': ['-D', 'scale_factors=2x'], | 1290 'grit_defines': ['-D', 'scale_factors=2x'], |
1291 }], | 1291 }], |
1292 ['OS == "ios"', { | 1292 ['OS == "ios"', { |
1293 'grit_defines': [ | 1293 'grit_defines': [ |
1294 # define for iOS specific resources. | 1294 # define for iOS specific resources. |
1295 '-D', 'ios', | 1295 '-D', 'ios', |
1296 # iOS uses a whitelist to filter resources. | 1296 # iOS uses a whitelist to filter resources. |
1297 '-w', '<(DEPTH)/build/ios/grit_whitelist.txt' | 1297 '-w', '<(DEPTH)/build/ios/grit_whitelist.txt' |
1298 ], | 1298 ], |
| 1299 # iOS uses pt instead of pt-BR. |
| 1300 'locales': ['pt'], |
| 1301 }, { # OS != "ios" |
| 1302 'locales': ['pt-BR'], |
1299 }], | 1303 }], |
1300 ['enable_extensions==1', { | 1304 ['enable_extensions==1', { |
1301 'grit_defines': ['-D', 'enable_extensions'], | 1305 'grit_defines': ['-D', 'enable_extensions'], |
1302 }], | 1306 }], |
1303 ['enable_printing==1', { | 1307 ['enable_printing==1', { |
1304 'grit_defines': ['-D', 'enable_printing'], | 1308 'grit_defines': ['-D', 'enable_printing'], |
1305 }], | 1309 }], |
1306 ['enable_themes==1', { | 1310 ['enable_themes==1', { |
1307 'grit_defines': ['-D', 'enable_themes'], | 1311 'grit_defines': ['-D', 'enable_themes'], |
1308 }], | 1312 }], |
(...skipping 2365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3674 # settings in target dicts. SYMROOT is a special case, because many other | 3678 # settings in target dicts. SYMROOT is a special case, because many other |
3675 # Xcode variables depend on it, including variables such as | 3679 # Xcode variables depend on it, including variables such as |
3676 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3680 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
3677 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3681 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
3678 # files to appear (when present) in the UI as actual files and not red | 3682 # files to appear (when present) in the UI as actual files and not red |
3679 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3683 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
3680 # and therefore SYMROOT, needs to be set at the project level. | 3684 # and therefore SYMROOT, needs to be set at the project level. |
3681 'SYMROOT': '<(DEPTH)/xcodebuild', | 3685 'SYMROOT': '<(DEPTH)/xcodebuild', |
3682 }, | 3686 }, |
3683 } | 3687 } |
OLD | NEW |