1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
\r
2 # Use of this source code is governed by a BSD-style license that can be
\r
3 # found in the LICENSE file.
\r
5 source_ids = "//third_party/usb_ids/usb.ids"
\r
6 generated_ids = "$target_gen_dir/usb_ids_gen.cc"
\r
8 static_library("device_usb") {
\r
14 deps = [ ":device_usb_ids" ]
\r
17 action("device_usb_ids") {
\r
18 script = "//tools/usb_ids/usb_ids.py"
\r
19 source_prereqs = [ source_ids ]
\r
20 outputs = [ generated_ids ]
\r
22 "-i", rebase_path(source_ids, root_build_dir),
\r
23 "-o", rebase_path(generated_ids, root_build_dir),
\r