Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: templates/manifest.json.tmpl

Issue 29345751: Issue 4028 - Add support for Edge extensions to buildtools (Closed)
Patch Set: Remove app_id inconsistency warning and start padding the version to 4 groups of digits Created Oct. 13, 2016, 11:53 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « templates/install.rdf.tmpl ('k') | templates/safariInfo.js.tmpl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* This Source Code Form is subject to the terms of the Mozilla Public 1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 4
5 { 5 {
6 "manifest_version": 2, 6 "manifest_version": 2,
7 {%- if releaseBuild %} 7 {%- if releaseBuild %}
8 "name": "__MSG_name__", 8 "name": "__MSG_name__",
9 {%- else %} 9 {%- else %}
10 "name": "__MSG_name_devbuild__", 10 "name": "__MSG_name_devbuild__",
11 {%- endif %} 11 {%- endif %}
12 12
13 "short_name": "__MSG_name__", 13 "short_name": "__MSG_name__",
14 "description": "__MSG_description__", 14 "description": "__MSG_description__",
15 "default_locale": "en_US", 15 "default_locale": "en_US",
16 "version": {{version|json}}, 16 "version": {{version|json}},
17 "author": {{metadata.get('general', 'author')|json}}, 17 "author": {{metadata.get('general', 'author')|json}},
18 18
19 {%- if metadata.has_section('compat') and metadata.has_option('compat', 'chrom e') %} 19 {%- if metadata.has_section('compat') and metadata.has_option('compat', 'chrom e') %}
20 "minimum_chrome_version": {{metadata.get('compat', 'chrome')|json}}, 20 "minimum_chrome_version": {{metadata.get('compat', 'chrome')|json}},
21 {%- endif %} 21 {%- endif %}
22 22
23 {%- if metadata.has_section('compat') and metadata.has_option('compat', 'edge' ) %}
24 "minimum_edge_version": {{metadata.get('compat', 'edge')|json}},
25 {%- endif %}
26
23 {%- if pageAction %} 27 {%- if pageAction %}
24 "page_action": { 28 "page_action": {
25 "default_icon": {{pageAction.icon|json}}, 29 "default_icon": {{pageAction.icon|json}},
26 {%- if pageAction.popup %} 30 {%- if pageAction.popup %}
27 "default_popup": {{pageAction.popup|json}}, 31 "default_popup": {{pageAction.popup|json}},
28 {%- endif %} 32 {%- endif %}
29 "default_title": "__MSG_name__" 33 "default_title": "__MSG_name__"
30 }, 34 },
31 {%- endif %} 35 {%- endif %}
32 36
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 {%- endif %} 80 {%- endif %}
77 81
78 {%- if metadata.has_option('general', 'managedStorageSchema') %} 82 {%- if metadata.has_option('general', 'managedStorageSchema') %}
79 "storage": { 83 "storage": {
80 "managed_schema": {{metadata.get('general', 'managedStorageSchema')|json}} 84 "managed_schema": {{metadata.get('general', 'managedStorageSchema')|json}}
81 }, 85 },
82 {%- endif %} 86 {%- endif %}
83 87
84 "_dummy": false 88 "_dummy": false
85 } 89 }
OLDNEW
« no previous file with comments | « templates/install.rdf.tmpl ('k') | templates/safariInfo.js.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld