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

Delta Between Two Patch Sets: manifest.json.tmpl

Issue 29342903: Issue 4059 - Adapt the manifest for Edge (awaiting commit) (Closed)
Left Patch Set: Created May 23, 2016, 5:13 a.m.
Right Patch Set: Remove the whitespaces Created May 28, 2016, 8:03 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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": "__MSG_author__", 17 "author": {{metadata.get('general', 'author')|json}},
Sebastian Noack 2016/05/23 10:58:11 This string should come from the metadata rather t
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 pageAction %} 23 {%- if pageAction %}
24 "page_action": { 24 "page_action": {
25 "default_icon": {{pageAction.icon|json}}, 25 "default_icon": {{pageAction.icon|json}},
26 {%- if pageAction.popup %} 26 {%- if pageAction.popup %}
27 "default_popup": {{pageAction.popup|json}}, 27 "default_popup": {{pageAction.popup|json}},
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 {%- endif %} 76 {%- endif %}
77 77
78 {%- if metadata.has_option('general', 'managedStorageSchema') %} 78 {%- if metadata.has_option('general', 'managedStorageSchema') %}
79 "storage": { 79 "storage": {
80 "managed_schema": {{metadata.get('general', 'managedStorageSchema')|json}} 80 "managed_schema": {{metadata.get('general', 'managedStorageSchema')|json}}
81 }, 81 },
82 {%- endif %} 82 {%- endif %}
83 83
84 "_dummy": false 84 "_dummy": false
85 } 85 }
LEFTRIGHT
« no previous file | no next file » | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Toggle Comments ('s')

Powered by Google App Engine
This is Rietveld