OLD | NEW |
---|---|
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 # TODO(dmaclach): can we pick this up some other way? Right now it's | 7 # TODO(dmaclach): can we pick this up some other way? Right now it's |
8 # duplicated from chrome.gyp | 8 # duplicated from chrome.gyp |
9 'chromium_code': 1, | 9 'chromium_code': 1, |
10 # Use a consistent MIME-type independent of branding. | 10 # Use a consistent strings across all platforms. Note that the plugin name |
Wez
2011/10/29 00:17:47
typo: a consistent strings
| |
11 # is brand-dependent and is defined further down. | |
11 'host_plugin_mime_type': 'application/vnd.chromium.remoting-host', | 12 'host_plugin_mime_type': 'application/vnd.chromium.remoting-host', |
13 'host_plugin_description': 'Allow another user to access your computer secur ely over the Internet.', | |
12 'conditions': [ | 14 'conditions': [ |
13 ['OS=="mac"', { | 15 ['OS=="mac"', { |
14 'conditions': [ | 16 'conditions': [ |
15 ['branding=="Chrome"', { | 17 ['branding=="Chrome"', { |
16 'mac_bundle_id': 'com.google.Chrome', | 18 'mac_bundle_id': 'com.google.Chrome', |
17 'mac_creator': 'rimZ', | 19 'mac_creator': 'rimZ', |
18 }, { # else: branding!="Chrome" | 20 }, { # else: branding!="Chrome" |
19 'mac_bundle_id': 'org.chromium.Chromium', | 21 'mac_bundle_id': 'org.chromium.Chromium', |
20 'mac_creator': 'Cr24', | 22 'mac_creator': 'Cr24', |
21 }], # branding | 23 }], # branding |
(...skipping 14 matching lines...) Expand all Loading... | |
36 ['os_posix == 1 and OS != "mac" and target_arch == "arm"', { | 38 ['os_posix == 1 and OS != "mac" and target_arch == "arm"', { |
37 # linux 64 bit | 39 # linux 64 bit |
38 'host_plugin_extension': 'arm.so', | 40 'host_plugin_extension': 'arm.so', |
39 'host_plugin_prefix': 'lib', | 41 'host_plugin_prefix': 'lib', |
40 }], | 42 }], |
41 ['OS=="win"', { | 43 ['OS=="win"', { |
42 'host_plugin_extension': 'dll', | 44 'host_plugin_extension': 'dll', |
43 'host_plugin_prefix': '', | 45 'host_plugin_prefix': '', |
44 }], | 46 }], |
45 ['branding=="Chrome"', { | 47 ['branding=="Chrome"', { |
48 'host_plugin_name': 'Chrome Remote Desktop Host', | |
46 'remoting_it2me_locale_files': [ | 49 'remoting_it2me_locale_files': [ |
47 'webapp/me2mom/_locales.official/ar/messages.json', | 50 'webapp/me2mom/_locales.official/ar/messages.json', |
48 'webapp/me2mom/_locales.official/bg/messages.json', | 51 'webapp/me2mom/_locales.official/bg/messages.json', |
49 'webapp/me2mom/_locales.official/ca/messages.json', | 52 'webapp/me2mom/_locales.official/ca/messages.json', |
50 'webapp/me2mom/_locales.official/cs/messages.json', | 53 'webapp/me2mom/_locales.official/cs/messages.json', |
51 'webapp/me2mom/_locales.official/da/messages.json', | 54 'webapp/me2mom/_locales.official/da/messages.json', |
52 'webapp/me2mom/_locales.official/de/messages.json', | 55 'webapp/me2mom/_locales.official/de/messages.json', |
53 'webapp/me2mom/_locales.official/el/messages.json', | 56 'webapp/me2mom/_locales.official/el/messages.json', |
54 'webapp/me2mom/_locales.official/en/messages.json', | 57 'webapp/me2mom/_locales.official/en/messages.json', |
55 'webapp/me2mom/_locales.official/en_GB/messages.json', | 58 'webapp/me2mom/_locales.official/en_GB/messages.json', |
(...skipping 25 matching lines...) Expand all Loading... | |
81 'webapp/me2mom/_locales.official/sr/messages.json', | 84 'webapp/me2mom/_locales.official/sr/messages.json', |
82 'webapp/me2mom/_locales.official/sv/messages.json', | 85 'webapp/me2mom/_locales.official/sv/messages.json', |
83 'webapp/me2mom/_locales.official/th/messages.json', | 86 'webapp/me2mom/_locales.official/th/messages.json', |
84 'webapp/me2mom/_locales.official/tr/messages.json', | 87 'webapp/me2mom/_locales.official/tr/messages.json', |
85 'webapp/me2mom/_locales.official/uk/messages.json', | 88 'webapp/me2mom/_locales.official/uk/messages.json', |
86 'webapp/me2mom/_locales.official/vi/messages.json', | 89 'webapp/me2mom/_locales.official/vi/messages.json', |
87 'webapp/me2mom/_locales.official/zh_CN/messages.json', | 90 'webapp/me2mom/_locales.official/zh_CN/messages.json', |
88 'webapp/me2mom/_locales.official/zh_TW/messages.json', | 91 'webapp/me2mom/_locales.official/zh_TW/messages.json', |
89 ], | 92 ], |
90 }, { # else: branding!="Chrome" | 93 }, { # else: branding!="Chrome" |
94 'host_plugin_name': 'Chromoting Host', | |
91 'remoting_it2me_locale_files': [ | 95 'remoting_it2me_locale_files': [ |
92 'webapp/me2mom/_locales/en/messages.json', | 96 'webapp/me2mom/_locales/en/messages.json', |
93 ], | 97 ], |
94 }], | 98 }], |
95 ], | 99 ], |
96 'remoting_it2me_files': [ | 100 'remoting_it2me_files': [ |
97 'resources/icon_warning.png', | 101 'resources/icon_warning.png', |
98 'webapp/me2mom/choice.css', | 102 'webapp/me2mom/choice.css', |
99 'webapp/me2mom/choice.html', | 103 'webapp/me2mom/choice.html', |
100 'webapp/me2mom/client_screen.js', | 104 'webapp/me2mom/client_screen.js', |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
231 'client/plugin/pepper_xmpp_proxy.cc', | 235 'client/plugin/pepper_xmpp_proxy.cc', |
232 'client/plugin/pepper_xmpp_proxy.h', | 236 'client/plugin/pepper_xmpp_proxy.h', |
233 ], | 237 ], |
234 }, # end of target 'remoting_client_plugin' | 238 }, # end of target 'remoting_client_plugin' |
235 { | 239 { |
236 'target_name': 'remoting_host_plugin', | 240 'target_name': 'remoting_host_plugin', |
237 'type': 'loadable_module', | 241 'type': 'loadable_module', |
238 'product_extension': '<(host_plugin_extension)', | 242 'product_extension': '<(host_plugin_extension)', |
239 'product_prefix': '<(host_plugin_prefix)', | 243 'product_prefix': '<(host_plugin_prefix)', |
240 'defines': [ | 244 'defines': [ |
241 'HOST_PLUGIN_MIME_TYPE=<(host_plugin_mime_type)', | 245 'HOST_PLUGIN_MIME_TYPE="<(host_plugin_mime_type)"', |
246 'HOST_PLUGIN_NAME="<(host_plugin_name)"', | |
247 'HOST_PLUGIN_DESCRIPTION="<(host_plugin_description)"', | |
242 ], | 248 ], |
243 'dependencies': [ | 249 'dependencies': [ |
244 'remoting_base', | 250 'remoting_base', |
245 'remoting_host', | 251 'remoting_host', |
246 'remoting_jingle_glue', | 252 'remoting_jingle_glue', |
247 '../third_party/npapi/npapi.gyp:npapi', | 253 '../third_party/npapi/npapi.gyp:npapi', |
248 ], | 254 ], |
249 'sources': [ | 255 'sources': [ |
250 'host/plugin/host_log_handler.cc', | 256 'host/plugin/host_log_handler.cc', |
251 'host/plugin/host_log_handler.h', | 257 'host/plugin/host_log_handler.h', |
(...skipping 11 matching lines...) Expand all Loading... | |
263 'host/plugin/policy_hack/nat_policy_mac.mm', | 269 'host/plugin/policy_hack/nat_policy_mac.mm', |
264 'host/plugin/policy_hack/nat_policy_win.cc', | 270 'host/plugin/policy_hack/nat_policy_win.cc', |
265 ], | 271 ], |
266 'conditions': [ | 272 'conditions': [ |
267 ['OS=="mac"', { | 273 ['OS=="mac"', { |
268 'mac_bundle': 1, | 274 'mac_bundle': 1, |
269 'xcode_settings': { | 275 'xcode_settings': { |
270 'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)', | 276 'CHROMIUM_BUNDLE_ID': '<(mac_bundle_id)', |
271 'INFOPLIST_FILE': 'host/plugin/host_plugin-Info.plist', | 277 'INFOPLIST_FILE': 'host/plugin/host_plugin-Info.plist', |
272 'INFOPLIST_PREPROCESS': 'YES', | 278 'INFOPLIST_PREPROCESS': 'YES', |
273 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'HOST_PLUGIN_MIME_TYPE=<(host_ plugin_mime_type)', | 279 'INFOPLIST_PREPROCESSOR_DEFINITIONS': 'HOST_PLUGIN_MIME_TYPE="<(host _plugin_mime_type)" HOST_PLUGIN_NAME="<(host_plugin_name)" HOST_PLUGIN_DESCRIPTI ON="<(host_plugin_description)"', |
274 }, | 280 }, |
275 # TODO(mark): Come up with a fancier way to do this. It should | 281 # TODO(mark): Come up with a fancier way to do this. It should |
276 # only be necessary to list host_plugin-Info.plist once, not the | 282 # only be necessary to list host_plugin-Info.plist once, not the |
277 # three times it is listed here. | 283 # three times it is listed here. |
278 'mac_bundle_resources': [ | 284 'mac_bundle_resources': [ |
279 'host/disconnect_window.xib', | 285 'host/disconnect_window.xib', |
280 'host/plugin/host_plugin-Info.plist', | 286 'host/plugin/host_plugin-Info.plist', |
281 'resources/chromoting16.png', | 287 'resources/chromoting16.png', |
282 'resources/chromoting48.png', | 288 'resources/chromoting48.png', |
283 'resources/chromoting128.png', | 289 'resources/chromoting128.png', |
(...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
913 '../base/allocator/allocator.gyp:allocator', | 919 '../base/allocator/allocator.gyp:allocator', |
914 ], | 920 ], |
915 }, | 921 }, |
916 ], | 922 ], |
917 ], | 923 ], |
918 }], | 924 }], |
919 ], # end of 'conditions' | 925 ], # end of 'conditions' |
920 }, # end of target 'remoting_unittests' | 926 }, # end of target 'remoting_unittests' |
921 ], # end of targets | 927 ], # end of targets |
922 } | 928 } |
OLD | NEW |