Commit 4e279527 authored by reillyg's avatar reillyg Committed by Commit bot

Move tools/usb_gadget.gyp to tools/usb_gadget/usb_gadget.gyp.

This placement more closely matches the GN layout.

BUG=None
R=rockot@chromium.org,tfarina@chromium.org

Review URL: https://codereview.chromium.org/526593003

Cr-Commit-Position: refs/heads/master@{#293622}
parent 5a945c71
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
'../mojo/mojo_base.gyp:mojo_system_impl', '../mojo/mojo_base.gyp:mojo_system_impl',
'../testing/gmock.gyp:gmock', '../testing/gmock.gyp:gmock',
'../testing/gtest.gyp:gtest', '../testing/gtest.gyp:gtest',
'../tools/usb_gadget.gyp:usb_gadget', '../tools/usb_gadget/usb_gadget.gyp:usb_gadget',
'bluetooth/bluetooth.gyp:device_bluetooth', 'bluetooth/bluetooth.gyp:device_bluetooth',
'bluetooth/bluetooth.gyp:device_bluetooth_mocks', 'bluetooth/bluetooth.gyp:device_bluetooth_mocks',
'nfc/nfc.gyp:device_nfc', 'nfc/nfc.gyp:device_nfc',
......
...@@ -3,36 +3,36 @@ ...@@ -3,36 +3,36 @@
# found in the LICENSE file. # found in the LICENSE file.
{ {
'targets': [
{
'target_name': 'usb_gadget',
'type': 'none',
'variables': { 'variables': {
'usb_gadget_files': [ 'usb_gadget_files': [
'usb_gadget/__init__.py', '__init__.py',
'usb_gadget/__main__.py', '__main__.py',
'usb_gadget/default_gadget.py', 'default_gadget.py',
'usb_gadget/echo_gadget.py', 'echo_gadget.py',
'usb_gadget/gadget.py', 'gadget.py',
'usb_gadget/hid_constants.py', 'hid_constants.py',
'usb_gadget/hid_descriptors.py', 'hid_descriptors.py',
'usb_gadget/hid_echo_gadget.py', 'hid_echo_gadget.py',
'usb_gadget/hid_gadget.py', 'hid_gadget.py',
'usb_gadget/keyboard_gadget.py', 'keyboard_gadget.py',
'usb_gadget/linux_gadgetfs.py', 'linux_gadgetfs.py',
'usb_gadget/mouse_gadget.py', 'mouse_gadget.py',
'usb_gadget/server.py', 'server.py',
'usb_gadget/usb_constants.py', 'usb_constants.py',
'usb_gadget/usb_descriptors.py', 'usb_descriptors.py',
], ],
'usb_gadget_package': '<(PRODUCT_DIR)/usb_gadget.zip', 'usb_gadget_package': '<(PRODUCT_DIR)/usb_gadget.zip',
'usb_gadget_package_hash': '<(PRODUCT_DIR)/usb_gadget.zip.md5', 'usb_gadget_package_hash': '<(PRODUCT_DIR)/usb_gadget.zip.md5',
}, },
'targets': [
{
'target_name': 'usb_gadget',
'type': 'none',
'actions': [ 'actions': [
{ {
'action_name': 'Building USB Gadget ZIP bundle', 'action_name': 'Building USB Gadget ZIP bundle',
'inputs': [ 'inputs': [
'usb_gadget/package.py', 'package.py',
'<@(usb_gadget_files)', '<@(usb_gadget_files)',
], ],
'outputs': [ 'outputs': [
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
'<(usb_gadget_package_hash)', '<(usb_gadget_package_hash)',
], ],
'action': [ 'action': [
'python', 'usb_gadget/package.py', 'python', 'package.py',
'--zip-file', '<(usb_gadget_package)', '--zip-file', '<(usb_gadget_package)',
'--hash-file', '<(usb_gadget_package_hash)', '--hash-file', '<(usb_gadget_package_hash)',
'<@(usb_gadget_files)', '<@(usb_gadget_files)',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment