1 # Copyright (c) 2013 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.
5 source_ids = "//third_party/usb_ids/usb.ids"
6 generated_ids = "$target_gen_dir/usb_ids_gen.cc"
8 static_library("usb") {
9 output_name = "device_usb"
21 action("usb_device_ids") {
22 script = "//tools/usb_ids/usb_ids.py"
23 source_prereqs = [ source_ids ]
24 outputs = [ generated_ids ]
26 "-i", rebase_path(source_ids, root_build_dir),
27 "-o", rebase_path(generated_ids, root_build_dir),
30 # Only the device_usb target can depend on us.
31 # TODO(brettw) uncomment this when visibility is implemented in the pushed
33 #visibility = [ ":usb" ]