|
@@ -221,6 +221,7 @@
|
|
|
'atom/app/atom_library_main.cc',
|
|
|
'atom/app/atom_library_main.h',
|
|
|
],
|
|
|
+ 'atom_source_root': '<!(python tools/atom_source_root.py)',
|
|
|
'conditions': [
|
|
|
['OS=="win"', {
|
|
|
'app_sources': [
|
|
@@ -230,8 +231,17 @@
|
|
|
'<(libchromiumcontent_src_dir)/content/app/startup_helper_win.cc',
|
|
|
],
|
|
|
}], # OS=="win"
|
|
|
+ ['OS=="mac"', {
|
|
|
+ 'locales': [
|
|
|
+ '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',
|
|
|
+ 'sk', 'sl', 'sr', 'sv', 'sw', 'ta', 'te', 'th', 'tr', 'uk',
|
|
|
+ 'vi', 'zh_CN', 'zh_TW',
|
|
|
+ ],
|
|
|
+ }], # OS=="mac"
|
|
|
],
|
|
|
- 'atom_source_root': '<!(python tools/atom_source_root.py)',
|
|
|
},
|
|
|
'target_defaults': {
|
|
|
'mac_framework_dirs': [
|
|
@@ -317,6 +327,16 @@
|
|
|
'<(product_name)',
|
|
|
],
|
|
|
},
|
|
|
+ # The application doesn't have real localizations, it just has
|
|
|
+ # empty .lproj directories, which is enough to convince Cocoa
|
|
|
+ # atom-shell supports those languages.
|
|
|
+ {
|
|
|
+ 'postbuild_name': 'Make Empty Localizations',
|
|
|
+ 'action': [
|
|
|
+ 'tools/mac/make_locale_dirs.sh',
|
|
|
+ '<@(locales)',
|
|
|
+ ],
|
|
|
+ },
|
|
|
]
|
|
|
}], # OS=="mac"
|
|
|
['OS=="win"', {
|