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

Side by Side Diff: manifest.json.tmpl

Issue 29337971: Issue 3760 - Removed support for Opera builds (Closed)
Patch Set: Updated help text for -k option Created March 8, 2016, 6:26 p.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 | « build.py ('k') | packagerSafari.py » ('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_{{ type }}__", 14 "description": "__MSG_description__",
15 "default_locale": "en_US", 15 "default_locale": "en_US",
16 "version": {{version|json}}, 16 "version": {{version|json}},
17 17
18 {%- if metadata.has_section('compat') and metadata.has_option('compat', 'chrom e') %} 18 {%- if metadata.has_section('compat') and metadata.has_option('compat', 'chrom e') %}
19 "minimum_chrome_version": {{metadata.get('compat', 'chrome')|json}}, 19 "minimum_chrome_version": {{metadata.get('compat', 'chrome')|json}},
20 {%- endif %} 20 {%- endif %}
21 21
22 {%- if not releaseBuild and type != "chrome" %}
23 "update_url": "https://adblockplus.org/devbuilds/
24 {{- metadata.get('general', 'basename') -}}
25 {%- if experimentalAPI -%}
26 -experimental
27 {%- endif -%}
28 /updates.xml",
29 {%- elif metadata.has_option('general', 'updateURL') %}
30 "update_url": {{metadata.get('general', 'updateURL')|json}},
31 {%- endif %}
32
33 {%- if pageAction %} 22 {%- if pageAction %}
34 "page_action": { 23 "page_action": {
35 "default_icon": {{pageAction.icon|json}}, 24 "default_icon": {{pageAction.icon|json}},
36 {%- if pageAction.popup %} 25 {%- if pageAction.popup %}
37 "default_popup": {{pageAction.popup|json}}, 26 "default_popup": {{pageAction.popup|json}},
38 {%- endif %} 27 {%- endif %}
39 "default_title": "__MSG_name__" 28 "default_title": "__MSG_name__"
40 }, 29 },
41 {%- endif %} 30 {%- endif %}
42 31
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 {%- endif %} 74 {%- endif %}
86 75
87 {%- if metadata.has_option('general', 'managedStorageSchema') %} 76 {%- if metadata.has_option('general', 'managedStorageSchema') %}
88 "storage": { 77 "storage": {
89 "managed_schema": {{metadata.get('general', 'managedStorageSchema')|json}} 78 "managed_schema": {{metadata.get('general', 'managedStorageSchema')|json}}
90 }, 79 },
91 {%- endif %} 80 {%- endif %}
92 81
93 "_dummy": false 82 "_dummy": false
94 } 83 }
OLDNEW
« no previous file with comments | « build.py ('k') | packagerSafari.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld