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 923 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
934 | 934 |
935 # Set to 1 to compile with the OpenGL ES 2.0 conformance tests. | 935 # Set to 1 to compile with the OpenGL ES 2.0 conformance tests. |
936 'internal_gles2_conform_tests%': 0, | 936 'internal_gles2_conform_tests%': 0, |
937 | 937 |
938 # NOTE: When these end up in the Mac bundle, we need to replace '-' for '_' | 938 # NOTE: When these end up in the Mac bundle, we need to replace '-' for '_' |
939 # so Cocoa is happy (http://crbug.com/20441). | 939 # so Cocoa is happy (http://crbug.com/20441). |
940 'locales': [ | 940 'locales': [ |
941 'am', 'ar', 'bg', 'bn', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', | 941 'am', 'ar', 'bg', 'bn', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', |
942 'en-US', 'es-419', 'es', 'et', 'fa', 'fi', 'fil', 'fr', 'gu', 'he', | 942 'en-US', 'es-419', 'es', 'et', 'fa', 'fi', 'fil', 'fr', 'gu', 'he', |
943 'hi', 'hr', 'hu', 'id', 'it', 'ja', 'kn', 'ko', 'lt', 'lv', | 943 'hi', 'hr', 'hu', 'id', 'it', 'ja', 'kn', 'ko', 'lt', 'lv', |
944 'ml', 'mr', 'ms', 'nb', 'nl', 'pl', 'pt-PT', 'ro', 'ru', | 944 'ml', 'mr', 'ms', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', 'ro', 'ru', |
945 'sk', 'sl', 'sr', 'sv', 'sw', 'ta', 'te', 'th', 'tr', 'uk', | 945 'sk', 'sl', 'sr', 'sv', 'sw', 'ta', 'te', 'th', 'tr', 'uk', |
946 'vi', 'zh-CN', 'zh-TW', | 946 'vi', 'zh-CN', 'zh-TW', |
947 ], | 947 ], |
948 | 948 |
949 # Pseudo locales are special locales which are used for testing and | 949 # Pseudo locales are special locales which are used for testing and |
950 # debugging. They don't get copied to the final app. For more info, | 950 # debugging. They don't get copied to the final app. For more info, |
951 # check out https://sites.google.com/a/chromium.org/dev/Home/fake-bidi | 951 # check out https://sites.google.com/a/chromium.org/dev/Home/fake-bidi |
952 'pseudo_locales': [ | 952 'pseudo_locales': [ |
953 'fake-bidi', | 953 'fake-bidi', |
954 ], | 954 ], |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1061 }], # os_posix==1 and OS!="mac" and OS!="ios" | 1061 }], # os_posix==1 and OS!="mac" and OS!="ios" |
1062 ['OS=="ios"', { | 1062 ['OS=="ios"', { |
1063 'disable_nacl%': 1, | 1063 'disable_nacl%': 1, |
1064 'enable_background%': 0, | 1064 'enable_background%': 0, |
1065 'enable_gpu%': 0, | 1065 'enable_gpu%': 0, |
1066 'enable_task_manager%': 0, | 1066 'enable_task_manager%': 0, |
1067 'icu_use_data_file_flag%': 1, | 1067 'icu_use_data_file_flag%': 1, |
1068 'use_system_bzip2%': 1, | 1068 'use_system_bzip2%': 1, |
1069 'use_system_libxml%': 1, | 1069 'use_system_libxml%': 1, |
1070 'use_system_sqlite%': 1, | 1070 'use_system_sqlite%': 1, |
| 1071 'locales==': [ |
| 1072 'ar', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'en-US', 'es', 'fi', |
| 1073 'fr', 'he', 'hr', 'hu', 'id', 'it', 'ja', 'ko', 'ms', 'nl', 'pl', |
| 1074 'pt', 'pt-PT', 'ro', 'ru', 'sk', 'sv', 'th', 'tr', 'uk', 'vi', |
| 1075 'zh-CN', 'zh-TW', |
| 1076 ], |
1071 | 1077 |
1072 # The Mac SDK is set for iOS builds and passed through to Mac | 1078 # The Mac SDK is set for iOS builds and passed through to Mac |
1073 # sub-builds. This allows the Mac sub-build SDK in an iOS build to be | 1079 # sub-builds. This allows the Mac sub-build SDK in an iOS build to be |
1074 # overridden from the command line the same way it is for a Mac build. | 1080 # overridden from the command line the same way it is for a Mac build. |
1075 'mac_sdk%': '<!(python <(DEPTH)/build/mac/find_sdk.py 10.6)', | 1081 'mac_sdk%': '<!(python <(DEPTH)/build/mac/find_sdk.py 10.6)', |
1076 | 1082 |
1077 # iOS SDK and deployment target support. The iOS 5.0 SDK is actually | 1083 # iOS SDK and deployment target support. The iOS 5.0 SDK is actually |
1078 # what is required, but the value is left blank so when it is set in | 1084 # what is required, but the value is left blank so when it is set in |
1079 # the project files it will be the "current" iOS SDK. Forcing 5.0 | 1085 # the project files it will be the "current" iOS SDK. Forcing 5.0 |
1080 # even though it is "current" causes Xcode to spit out a warning for | 1086 # even though it is "current" causes Xcode to spit out a warning for |
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1409 ['OS=="mac"', { | 1415 ['OS=="mac"', { |
1410 'grit_defines': ['-D', 'scale_factors=2x'], | 1416 'grit_defines': ['-D', 'scale_factors=2x'], |
1411 }], | 1417 }], |
1412 ['OS == "ios"', { | 1418 ['OS == "ios"', { |
1413 'grit_defines': [ | 1419 'grit_defines': [ |
1414 # define for iOS specific resources. | 1420 # define for iOS specific resources. |
1415 '-D', 'ios', | 1421 '-D', 'ios', |
1416 # iOS uses a whitelist to filter resources. | 1422 # iOS uses a whitelist to filter resources. |
1417 '-w', '<(DEPTH)/build/ios/grit_whitelist.txt' | 1423 '-w', '<(DEPTH)/build/ios/grit_whitelist.txt' |
1418 ], | 1424 ], |
1419 # iOS uses pt instead of pt-BR. | |
1420 'locales': ['pt'], | |
1421 }, { # OS != "ios" | |
1422 'locales': ['pt-BR'], | |
1423 }], | 1425 }], |
1424 ['enable_extensions==1', { | 1426 ['enable_extensions==1', { |
1425 'grit_defines': ['-D', 'enable_extensions'], | 1427 'grit_defines': ['-D', 'enable_extensions'], |
1426 }], | 1428 }], |
1427 ['enable_printing==1', { | 1429 ['enable_printing==1', { |
1428 'grit_defines': ['-D', 'enable_printing'], | 1430 'grit_defines': ['-D', 'enable_printing'], |
1429 }], | 1431 }], |
1430 ['enable_themes==1', { | 1432 ['enable_themes==1', { |
1431 'grit_defines': ['-D', 'enable_themes'], | 1433 'grit_defines': ['-D', 'enable_themes'], |
1432 }], | 1434 }], |
(...skipping 2676 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4109 # settings in target dicts. SYMROOT is a special case, because many other | 4111 # settings in target dicts. SYMROOT is a special case, because many other |
4110 # Xcode variables depend on it, including variables such as | 4112 # Xcode variables depend on it, including variables such as |
4111 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4113 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4112 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4114 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4113 # files to appear (when present) in the UI as actual files and not red | 4115 # files to appear (when present) in the UI as actual files and not red |
4114 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4116 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4115 # and therefore SYMROOT, needs to be set at the project level. | 4117 # and therefore SYMROOT, needs to be set at the project level. |
4116 'SYMROOT': '<(DEPTH)/xcodebuild', | 4118 'SYMROOT': '<(DEPTH)/xcodebuild', |
4117 }, | 4119 }, |
4118 } | 4120 } |
OLD | NEW |