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

Side by Side Diff: device/device.gyp

Issue 11344039: Adding USB ID vendor and product lookups. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adding OWNERS Created 8 years 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
« no previous file with comments | « chrome/chrome_browser_extensions.gypi ('k') | device/usb/OWNERS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 'bluetooth/test/mock_bluetooth_device.cc', 64 'bluetooth/test/mock_bluetooth_device.cc',
65 'bluetooth/test/mock_bluetooth_device.h', 65 'bluetooth/test/mock_bluetooth_device.h',
66 'bluetooth/test/mock_bluetooth_socket.cc', 66 'bluetooth/test/mock_bluetooth_socket.cc',
67 'bluetooth/test/mock_bluetooth_socket.h', 67 'bluetooth/test/mock_bluetooth_socket.h',
68 ], 68 ],
69 'include_dirs': [ 69 'include_dirs': [
70 '..', 70 '..',
71 ], 71 ],
72 }, 72 },
73 { 73 {
74 'target_name': 'device_usb',
75 'type': 'static_library',
76 'sources': [
77 'usb/usb_ids.cc',
78 'usb/usb_ids.h',
79 ],
80 'include_dirs': [
81 '..',
82 ],
83 'actions': [
84 {
85 'action_name': 'generate_usb_ids',
86 'variables': {
87 'usb_ids_path%': '<(DEPTH)/third_party/usb_ids/usb.ids',
88 'usb_ids_py_path': '<(DEPTH)/tools/usb_ids/usb_ids.py',
89 },
90 'inputs': [
91 '<(usb_ids_path)',
92 '<(usb_ids_py_path)',
93 ],
94 'outputs': [
95 '<(SHARED_INTERMEDIATE_DIR)/device/usb/usb_ids_gen.cc',
96 ],
97 'action': [
98 'python',
99 '<(usb_ids_py_path)',
100 '-i', '<(usb_ids_path)',
101 '-o', '<@(_outputs)',
102 ],
103 'process_outputs_as_sources': 1,
104 },
105 ],
106 },
107 {
74 'target_name': 'device_unittests', 108 'target_name': 'device_unittests',
75 'type': '<(gtest_target_type)', 109 'type': '<(gtest_target_type)',
76 'dependencies': [ 110 'dependencies': [
77 'device_bluetooth', 111 'device_bluetooth',
78 'device_bluetooth_mocks', 112 'device_bluetooth_mocks',
113 'device_usb',
79 '../base/base.gyp:test_support_base', 114 '../base/base.gyp:test_support_base',
80 '../content/content.gyp:test_support_content', 115 '../content/content.gyp:test_support_content',
81 '../testing/gmock.gyp:gmock', 116 '../testing/gmock.gyp:gmock',
82 '../testing/gtest.gyp:gtest', 117 '../testing/gtest.gyp:gtest',
83 ], 118 ],
84 'sources': [ 119 'sources': [
85 'bluetooth/bluetooth_adapter_chromeos_unittest.cc', 120 'bluetooth/bluetooth_adapter_chromeos_unittest.cc',
86 'bluetooth/bluetooth_adapter_devices_chromeos_unittest.cc', 121 'bluetooth/bluetooth_adapter_devices_chromeos_unittest.cc',
87 'bluetooth/bluetooth_adapter_win_unittest.cc', 122 'bluetooth/bluetooth_adapter_win_unittest.cc',
88 'bluetooth/bluetooth_service_record_unittest.cc', 123 'bluetooth/bluetooth_service_record_unittest.cc',
89 'bluetooth/bluetooth_utils_unittest.cc', 124 'bluetooth/bluetooth_utils_unittest.cc',
90 'test/device_test_suite.cc', 125 'test/device_test_suite.cc',
91 'test/device_test_suite.h', 126 'test/device_test_suite.h',
92 'test/run_all_unittests.cc', 127 'test/run_all_unittests.cc',
128 'usb/usb_ids_unittest.cc',
93 ], 129 ],
94 'conditions': [ 130 'conditions': [
95 ['chromeos==1', { 131 ['chromeos==1', {
96 'dependencies': [ 132 'dependencies': [
97 '../build/linux/system.gyp:dbus', 133 '../build/linux/system.gyp:dbus',
98 '../chromeos/chromeos.gyp:chromeos_test_support', 134 '../chromeos/chromeos.gyp:chromeos_test_support',
99 '../dbus/dbus.gyp:dbus', 135 '../dbus/dbus.gyp:dbus',
100 ] 136 ]
101 }], 137 }],
102 ], 138 ],
103 }, 139 },
104 ], 140 ],
105 } 141 }
OLDNEW
« no previous file with comments | « chrome/chrome_browser_extensions.gypi ('k') | device/usb/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698