OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'remoting_localize_path': 'tools/build/remoting_localize.py', | 7 'remoting_localize_path': 'tools/build/remoting_localize.py', |
8 | 8 |
9 'webapp_locale_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/webapp/_locales', | 9 'webapp_locale_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/webapp/_locales', |
10 | 10 |
11 'remoting_locales': [ | 11 'remoting_locales': [ |
12 # Note: list duplicated in GN build. See //remoting/resources/BUILD.gn | 12 # Note: list duplicated in GN build. See //remoting/remoting_locales.gni |
13 'ar', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'en', 'en-GB', 'es', | 13 'ar', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'en', 'en-GB', 'es', |
14 'es-419', 'et', 'fi', 'fil', 'fr', 'he', 'hi', 'hr', 'hu', 'id', | 14 'es-419', 'et', 'fi', 'fil', 'fr', 'he', 'hi', 'hr', 'hu', 'id', |
15 'it', 'ja', 'ko', 'lt', 'lv', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', | 15 'it', 'ja', 'ko', 'lt', 'lv', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', |
16 'ro', 'ru', 'sk', 'sl', 'sr', 'sv', 'th', 'tr', 'uk', 'vi', | 16 'ro', 'ru', 'sk', 'sl', 'sr', 'sv', 'th', 'tr', 'uk', 'vi', |
17 'zh-CN', 'zh-TW', | 17 'zh-CN', 'zh-TW', |
18 ], | 18 ], |
19 'remoting_webapp_locale_files': [ | 19 'remoting_webapp_locale_files': [ |
20 # Build the list of .json files generated from remoting_strings.grd. | 20 # Build the list of .json files generated from remoting_strings.grd. |
21 '<!@pymod_do_main(remoting_localize --locale_output ' | 21 '<!@pymod_do_main(remoting_localize --locale_output ' |
22 '"<(webapp_locale_dir)/@{json_suffix}/messages.json" ' | 22 '"<(webapp_locale_dir)/@{json_suffix}/messages.json" ' |
23 '--print_only <(remoting_locales))', | 23 '--print_only <(remoting_locales))', |
24 ], | 24 ], |
25 }, # variables | 25 }, # variables |
26 } | 26 } |
OLD | NEW |