Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index a858b38ad6271930e1a6c4a47571e7095f18f811..f77fcb7ff5e39dd3ff2ec1968e5a8fe462c2f933 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -941,7 +941,7 @@ |
'am', 'ar', 'bg', 'bn', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', |
'en-US', 'es-419', 'es', 'et', 'fa', 'fi', 'fil', 'fr', 'gu', 'he', |
'hi', 'hr', 'hu', 'id', 'it', 'ja', 'kn', 'ko', 'lt', 'lv', |
- 'ml', 'mr', 'ms', 'nb', 'nl', 'pl', 'pt-PT', 'ro', 'ru', |
+ 'ml', 'mr', 'ms', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', 'ro', 'ru', |
'sk', 'sl', 'sr', 'sv', 'sw', 'ta', 'te', 'th', 'tr', 'uk', |
'vi', 'zh-CN', 'zh-TW', |
], |
@@ -1068,6 +1068,12 @@ |
'use_system_bzip2%': 1, |
'use_system_libxml%': 1, |
'use_system_sqlite%': 1, |
+ 'locales==': [ |
+ 'ar', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'en-US', 'es', 'fi', |
+ 'fr', 'he', 'hr', 'hu', 'id', 'it', 'ja', 'ko', 'ms', 'nl', 'pl', |
+ 'pt', 'pt-PT', 'ro', 'ru', 'sk', 'sv', 'th', 'tr', 'uk', 'vi', |
+ 'zh-CN', 'zh-TW', |
+ ], |
# The Mac SDK is set for iOS builds and passed through to Mac |
# sub-builds. This allows the Mac sub-build SDK in an iOS build to be |
@@ -1416,10 +1422,6 @@ |
# iOS uses a whitelist to filter resources. |
'-w', '<(DEPTH)/build/ios/grit_whitelist.txt' |
], |
- # iOS uses pt instead of pt-BR. |
- 'locales': ['pt'], |
- }, { # OS != "ios" |
- 'locales': ['pt-BR'], |
}], |
['enable_extensions==1', { |
'grit_defines': ['-D', 'enable_extensions'], |