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

Side by Side Diff: tools/usb_gadget.gyp

Issue 414833004: [usb_gadget p08] Package the USB gadget framework for easy distribution. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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
« no previous file with comments | « no previous file | tools/usb_gadget/package.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 # Copyright 2014 The Chromium Authors. All rights reserved.
tfarina 2014/08/29 15:42:06 I think this file should have been added to tools/
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 {
6 'variables': {
tfarina 2014/08/29 15:42:06 optional (just showing there is other way): this
7 'usb_gadget_files': [
8 'usb_gadget/__init__.py',
9 'usb_gadget/__main__.py',
10 'usb_gadget/default_gadget.py',
11 'usb_gadget/gadget.py',
12 'usb_gadget/hid_constants.py',
13 'usb_gadget/hid_descriptors.py',
14 'usb_gadget/hid_gadget.py',
15 'usb_gadget/keyboard_gadget.py',
16 'usb_gadget/linux_gadgetfs.py',
17 'usb_gadget/mouse_gadget.py',
18 'usb_gadget/server.py',
19 'usb_gadget/usb_constants.py',
20 'usb_gadget/usb_descriptors.py',
21 ],
22 'usb_gadget_package': '<(PRODUCT_DIR)/usb_gadget.zip',
23 'usb_gadget_package_hash': '<(PRODUCT_DIR)/usb_gadget.zip.md5',
24 },
25 'targets': [
26 {
27 'target_name': 'usb_gadget',
28 'type': 'none',
29 'actions': [
30 {
31 'action_name': 'Building USB Gadget ZIP bundle',
32 'inputs': [
33 'usb_gadget/package.py',
34 '<@(usb_gadget_files)',
35 ],
36 'outputs': [
37 '<(usb_gadget_package)',
38 '<(usb_gadget_package_hash)',
39 ],
40 'action': [
41 'python', 'usb_gadget/package.py',
42 '--zip-file', '<(usb_gadget_package)',
43 '--hash-file', '<(usb_gadget_package_hash)',
44 '<@(usb_gadget_files)',
45 ]
46 }
47 ]
48 }
49 ]
50 }
OLDNEW
« no previous file with comments | « no previous file | tools/usb_gadget/package.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698