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

Side by Side Diff: manifest.json.tmpl

Issue 9051052: Changes to Chrome build process (Closed)
Patch Set: Created Dec. 19, 2012, 4:27 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') | packagerChrome.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * This file is part of the Adblock Plus extension,
3 * Copyright (C) 2006-2012 Eyeo GmbH
4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation.
8 *
9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18 {
19 "manifest_version": 2,
20 "name": "__MSG_name__{% if experimentalAPI %} experimental build{% endif %}",
21 "description": "__MSG_description__",
22 "default_locale": "en_US",
23 "version": {{version|json}},
24
25 {%- if metadata.has_section('compat') and metadata.has_option('compat', 'chrom e') %}
26 "minimum_chrome_version": {{metadata.get('compat', 'chrome')|json}},
27 {%- endif %}
28
29 {%- if not releaseBuild %}
30 "update_url": "https://adblockplus.org/devbuilds/
31 {{- metadata.get('general', 'basename') -}}
32 {%- if experimentalAPI -%}
33 -experimental
34 {%- endif -%}
35 /updates.xml",
36 {%- endif %}
37
38 {%- if pageAction %}
39 "page_action": {
40 "default_icon": {{pageAction.icon|json}},
41 "default_title": "__MSG_name__",
42 "default_popup": {{pageAction.popup|json}}
43 },
44 {%- endif %}
45
46 {%- if icons %}
47 "icons": {{icons|json}},
48 {%- endif %}
49
50 {%- if permissions %}
51 "permissions": {{permissions|json}},
52 {%- endif %}
53
54 {%- if backgroundScripts %}
55 "background": {
56 "scripts": {{backgroundScripts|json}}
57 },
58 {%- endif %}
59
60 {%- if metadata.has_option('general', 'options') %}
61 "options_page": {{metadata.get('general', 'options')|json}},
62 {%- endif %}
63
64 {%- if contentScripts %}
65 "content_scripts": {{contentScripts|json}},
66 {%- endif %}
67
68 {%- if webAccessible %}
69 "web_accessible_resources": {{webAccessible|json}},
70 {%- endif %}
71
72 "_dummy": false
73 }
OLDNEW
« no previous file with comments | « build.py ('k') | packagerChrome.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld