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

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

Issue 29994580: Noissue - Don't use long name in Microsoft Edge release builds (Closed)
Patch Set: Created Feb. 1, 2019, 1:13 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 | « no previous file | tests/expecteddata/AppxManifest_edge_release_build.xml » ('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 not releaseBuild %}
8 "name": "__MSG_name_devbuild__",
9 {%- elif type != "edge" %}
8 "name": "__MSG_name_releasebuild__", 10 "name": "__MSG_name_releasebuild__",
9 {%- else %} 11 {%- else %}
10 "name": "__MSG_name_devbuild__", 12 "name": "__MSG_name__",
11 {%- endif %} 13 {%- endif %}
12 14
13 "short_name": "__MSG_name__", 15 "short_name": "__MSG_name__",
14 "description": "__MSG_description__", 16 "description": "__MSG_description__",
15 "default_locale": "en_US", 17 "default_locale": "en_US",
16 "version": {{version|json}}, 18 "version": {{version|json}},
17 "author": {{metadata.get('general', 'author')|json}}, 19 "author": {{metadata.get('general', 'author')|json}},
18 20
19 {%- if metadata.has_section('compat') and metadata.has_option('compat', 'chrom e') %} 21 {%- if metadata.has_section('compat') and metadata.has_option('compat', 'chrom e') %}
20 "minimum_chrome_version": {{metadata.get('compat', 'chrome')|json}}, 22 "minimum_chrome_version": {{metadata.get('compat', 'chrome')|json}},
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 "options_page": {{metadata.get('general', 'options')|json}}, 92 "options_page": {{metadata.get('general', 'options')|json}},
91 {%- endif %} 93 {%- endif %}
92 {%- endif %} 94 {%- endif %}
93 95
94 {%- if contentScripts %} 96 {%- if contentScripts %}
95 "content_scripts": {{contentScripts|json}}, 97 "content_scripts": {{contentScripts|json}},
96 {%- endif %} 98 {%- endif %}
97 99
98 "_dummy": false 100 "_dummy": false
99 } 101 }
OLDNEW
« no previous file with comments | « no previous file | tests/expecteddata/AppxManifest_edge_release_build.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld