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

Unified Diff: tools/usb_gadget/usb_gadget.gyp

Issue 526593003: Move tools/usb_gadget.gyp to tools/usb_gadget/usb_gadget.gyp. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/usb_gadget.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/usb_gadget/usb_gadget.gyp
diff --git a/tools/usb_gadget/usb_gadget.gyp b/tools/usb_gadget/usb_gadget.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..76dc727cf05e5c555ca6db33fa7dc70d2d7f9564
--- /dev/null
+++ b/tools/usb_gadget/usb_gadget.gyp
@@ -0,0 +1,51 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
tfarina 2014/08/30 02:10:27 git sometimes is weird. Could you tweak the simila
Reilly Grant (use Gerrit) 2014/08/31 16:54:22 Done.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'targets': [
+ {
tfarina 2014/08/30 02:10:27 Indent only two spaces from '
Reilly Grant (use Gerrit) 2014/08/31 16:54:22 Actually the line above needs to be indented an ex
+ 'target_name': 'usb_gadget',
+ 'type': 'none',
+ 'variables': {
+ 'usb_gadget_files': [
+ '__init__.py',
+ '__main__.py',
+ 'default_gadget.py',
+ 'gadget.py',
+ 'hid_constants.py',
+ 'hid_descriptors.py',
+ 'hid_echo_gadget.py',
+ 'hid_gadget.py',
+ 'keyboard_gadget.py',
+ 'linux_gadgetfs.py',
+ 'mouse_gadget.py',
+ 'server.py',
+ 'usb_constants.py',
+ 'usb_descriptors.py',
+ ],
+ 'usb_gadget_package': '<(PRODUCT_DIR)/usb_gadget.zip',
+ 'usb_gadget_package_hash': '<(PRODUCT_DIR)/usb_gadget.zip.md5',
+ },
+ 'actions': [
+ {
+ 'action_name': 'Building USB Gadget ZIP bundle',
+ 'inputs': [
+ 'package.py',
+ '<@(usb_gadget_files)',
+ ],
+ 'outputs': [
+ '<(usb_gadget_package)',
+ '<(usb_gadget_package_hash)',
+ ],
+ 'action': [
+ 'python', 'package.py',
+ '--zip-file', '<(usb_gadget_package)',
+ '--hash-file', '<(usb_gadget_package_hash)',
+ '<@(usb_gadget_files)',
+ ]
+ }
+ ]
+ }
+ ]
+}
« no previous file with comments | « tools/usb_gadget.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698