Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / remoting / webapp / crd / manifest.json.jinja2
blob30ac60e3f4770a515efd70d616b0e28e076d4487
2   "key": "{{ MANIFEST_KEY }}",
3   "name": "__MSG_PRODUCT_NAME__",
4   "version": "{{ FULL_APP_VERSION }}",
5   "description": "__MSG_PRODUCT_DESCRIPTION__",
6   "manifest_version": 2,
7   "default_locale": "en",
8   "minimum_chrome_version": "32",
9   "app": {
10     "background": {
11       "page": "background.html"
12      }
13   },
14   "icons": {
15     "128": "chromoting128.webp",
16     "48": "chromoting48.webp",
17     "16": "chromoting16.webp"
18   },
19   "optional_permissions": [
20     "<all_urls>"
21   ],
23   "oauth2": {
24     "client_id": "{{ REMOTING_IDENTITY_API_CLIENT_ID }}",
25     "scopes": [
26       {% if USE_GCD %}
27       "https://www.googleapis.com/auth/clouddevices",
28       {% endif %}
29       "https://www.googleapis.com/auth/chromoting",
30       "https://www.googleapis.com/auth/googletalk",
31       "https://www.googleapis.com/auth/userinfo#email"
32     ]
33   },
34   "sandbox": {
35     "pages": [ "wcs_sandbox.html" ]
36   },
37   "permissions": [
38     "{{ OAUTH2_ACCOUNTS_HOST }}/*",
39     "{{ OAUTH2_API_BASE_URL }}/*",
40     "{{ DIRECTORY_API_BASE_URL }}/*",
41     "{{ TELEMETRY_API_BASE_URL }}/*",
42     "{{ TALK_GADGET_HOST }}/talkgadget/*",
43     "https://relay.google.com/*",
44 {% if PROXY_URL != '' %}
45     "{{ PROXY_URL }}",
46 {% endif %}
47     "clipboardRead",
48     "clipboardWrite",
49     "contextMenus",
50     {"fileSystem": ["write"]},
51     "fullscreen",
52     "identity",
53     "metricsPrivate",
54     "nativeMessaging",
55     "overrideEscFullscreen",
56     "storage",
57     {
58       "socket": [
59         "udp-send-to",
60         "udp-bind",
61         "udp-multicast-membership",
62         "resolve-host",
63         "network-state"
64       ]
65     }
66   ],
67   "sockets": {
68     "tcp": {
69       "connect": "{{ XMPP_SERVER }}"
70     }
71   }