Skip to content

Commit

Permalink
Move usb_ids.py script into device/usb.
Browse files Browse the repository at this point in the history
It seems to be nicer to have it contained in device/usb directory as it
is related to it and nice to have fewer random directories under
//tools.

BUG=None
TEST=ninja -C out/Debug device_usb (or just usb in GN).
R=keybuk@chromium.org, bryeung@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270469 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
tfarina@chromium.org committed May 14, 2014
1 parent 9995143 commit d0499e0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion device/usb/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ static_library("usb") {
}

action("usb_device_ids") {
script = "//tools/usb_ids/usb_ids.py"
script = "//device/usb/tools/usb_ids.py"
source_prereqs = [ source_ids ]
outputs = [ generated_ids ]
args = [
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions device/usb/usb.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
{
'action_name': 'generate_usb_ids',
'variables': {
'usb_ids_path%': '<(DEPTH)/third_party/usb_ids/usb.ids',
'usb_ids_py_path': '<(DEPTH)/tools/usb_ids/usb_ids.py',
'usb_ids_path%': '../../third_party/usb_ids/usb.ids',
'usb_ids_py_path': 'tools/usb_ids.py',
},
'inputs': [
'<(usb_ids_path)',
Expand Down

0 comments on commit d0499e0

Please sign in to comment.