Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 05c474783c911cf3d4ab9a31d2b7ee1b26a1e4c3..87c82084c4d264df8e7c0c3bdc8f54f559f60333 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -854,7 +854,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-BR', 'pt-PT', 'ro', 'ru', |
+ 'ml', 'mr', 'ms', 'nb', 'nl', 'pl', 'pt-PT', 'ro', 'ru', |
'sk', 'sl', 'sr', 'sv', 'sw', 'ta', 'te', 'th', 'tr', 'uk', |
'vi', 'zh-CN', 'zh-TW', |
], |
@@ -1296,6 +1296,10 @@ |
# 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'], |