OLD | NEW |
| (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 { | |
6 'targets': [ | |
7 { | |
8 'target_name': 'usb_gadget', | |
9 'type': 'none', | |
10 'variables': { | |
11 'usb_gadget_files': [ | |
12 '__init__.py', | |
13 '__main__.py', | |
14 'composite_echo_gadget.py', | |
15 'composite_gadget.py', | |
16 'default_gadget.py', | |
17 'echo_gadget.py', | |
18 'gadget.py', | |
19 'hid_constants.py', | |
20 'hid_descriptors.py', | |
21 'hid_echo_gadget.py', | |
22 'hid_gadget.py', | |
23 'keyboard_gadget.py', | |
24 'linux_gadgetfs.py', | |
25 'mouse_gadget.py', | |
26 'msos20_descriptors.py', | |
27 'server.py', | |
28 'usb_constants.py', | |
29 'usb_descriptors.py', | |
30 ], | |
31 'usb_gadget_package': '<(PRODUCT_DIR)/usb_gadget.zip', | |
32 'usb_gadget_package_hash': '<(PRODUCT_DIR)/usb_gadget.zip.md5', | |
33 }, | |
34 'actions': [ | |
35 { | |
36 'action_name': 'Building USB Gadget ZIP bundle', | |
37 'inputs': [ | |
38 'package.py', | |
39 '<@(usb_gadget_files)', | |
40 ], | |
41 'outputs': [ | |
42 '<(usb_gadget_package)', | |
43 '<(usb_gadget_package_hash)', | |
44 ], | |
45 'action': [ | |
46 'python', 'package.py', | |
47 '--zip-file', '<(usb_gadget_package)', | |
48 '--hash-file', '<(usb_gadget_package_hash)', | |
49 '<@(usb_gadget_files)', | |
50 ] | |
51 } | |
52 ] | |
53 } | |
54 ] | |
55 } | |
OLD | NEW |