Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/generate_manifest.gypi

Issue 295123002: Provide script/gypi support for manifest generation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 # Generates an output manifest based on a Jinja2 templated manifest.
6 # Include this file inside of your target to generate a manifest.
7 # The following variables must be set before including this file:
Peter Lundblad 2014/05/23 22:37:19 Mention is_guest_manifest as an optional variable
David Tseng 2014/05/23 22:57:16 Done.
8 #
9 # template_manifest: a valid Jinja2 file path.
10 # output_manifest: file path for the resulting manifest.
Peter Lundblad 2014/05/23 22:37:19 Variables naming files commonly end in _file or _p
David Tseng 2014/05/23 22:57:16 Obscure; thanks and done.
11
12 {
13 'actions': [
14 {
15 'action_name': 'generate_manifest',
16 'message': 'Generate manifest for <(_target_name)',
17 'variables': {
18 'is_guest_manifest%': 0,
19 },
20 'inputs': [
21 'tools/generate_manifest.py',
22 '<(template_manifest)',
23 ],
24 'outputs': [
25 '<(output_manifest)'
26 ],
27 'action': [
28 'python',
29 'tools/generate_manifest.py',
30 '-o', '<(output_manifest)',
31 '-g', '<(is_guest_manifest)',
32 '<(template_manifest)'
33 ],
34 },
35 ],
36 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698