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

Side by Side Diff: manifest.json.tmpl

Issue 6567342980988928: Issue 1740 - Support "devtools_page" option in Chrome extension manifest (Closed)
Patch Set: Created Dec. 28, 2014, 4:28 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 | « no previous file | no next file » | 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__",
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 {%- if backgroundScripts %} 61 {%- if backgroundScripts %}
62 "background": { 62 "background": {
63 "scripts": {{backgroundScripts|json}} 63 "scripts": {{backgroundScripts|json}}
64 }, 64 },
65 {%- endif %} 65 {%- endif %}
66 66
67 {%- if metadata.has_option('general', 'options') %} 67 {%- if metadata.has_option('general', 'options') %}
68 "options_page": {{metadata.get('general', 'options')|json}}, 68 "options_page": {{metadata.get('general', 'options')|json}},
69 {%- endif %} 69 {%- endif %}
70 70
71 {%- if metadata.has_option('general', 'devtools') %}
72 "devtools_page": {{metadata.get('general', 'devtools')|json}},
73 {%- endif %}
74
71 {%- if contentScripts %} 75 {%- if contentScripts %}
72 "content_scripts": {{contentScripts|json}}, 76 "content_scripts": {{contentScripts|json}},
73 {%- endif %} 77 {%- endif %}
74 78
75 {%- if webAccessible %} 79 {%- if webAccessible %}
76 "web_accessible_resources": {{webAccessible|json}}, 80 "web_accessible_resources": {{webAccessible|json}},
77 {%- endif %} 81 {%- endif %}
78 82
79 "_dummy": false 83 "_dummy": false
80 } 84 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld