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

Side by Side Diff: device/usb/usb.gyp

Issue 16231013: device: Restructure the layout of gyp files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 # Copyright (c) 2012 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.
4
5 {
6 'variables': {
7 'chromium_code': 1,
8 },
9 'targets': [
10 {
11 'target_name': 'usb',
12 'type': 'static_library',
13 'include_dirs': [
14 '../..',
15 ],
16 'sources': [
17 'usb_ids.cc',
18 'usb_ids.h',
19 ],
20 'actions': [
21 {
22 'action_name': 'generate_usb_ids',
23 'variables': {
24 'usb_ids_path%': '<(DEPTH)/third_party/usb_ids/usb.ids',
25 'usb_ids_py_path': '<(DEPTH)/tools/usb_ids/usb_ids.py',
26 },
27 'inputs': [
28 '<(usb_ids_path)',
29 '<(usb_ids_py_path)',
30 ],
31 'outputs': [
32 '<(SHARED_INTERMEDIATE_DIR)/device/usb/usb_ids_gen.cc',
33 ],
34 'action': [
35 'python',
36 '<(usb_ids_py_path)',
37 '-i', '<(usb_ids_path)',
38 '-o', '<@(_outputs)',
39 ],
40 'process_outputs_as_sources': 1,
41 },
42 ],
43 },
44 ],
45 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698