OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 component("range") { | 5 source_set("hid") { |
6 sources = [ | 6 sources = [ |
7 "gfx_range_export.h", | 7 "hid_api.cc", |
8 "range.cc", | 8 "hid_api.h", |
9 "range.h", | 9 "hid_connection_resource.cc", |
10 "range_f.cc", | 10 "hid_connection_resource.h", |
11 "range_f.h", | 11 "hid_device_manager.cc", |
12 "range_mac.mm", | 12 "hid_device_manager.h", |
13 "range_win.cc", | |
14 ] | 13 ] |
15 | 14 |
16 configs += [ | 15 configs += [ |
17 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 16 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
18 "//build/config/compiler:no_size_t_to_int_warning", | 17 "//build/config/compiler:no_size_t_to_int_warning", |
19 ] | 18 ] |
20 | 19 |
21 defines = [ "GFX_RANGE_IMPLEMENTATION" ] | |
22 | |
23 deps = [ | 20 deps = [ |
24 "//base", | 21 "//content/public/browser", |
25 "//ui/gfx:gfx_export", | 22 "//content/public/common", |
| 23 "//extensions/common/api", |
26 ] | 24 ] |
27 } | 25 } |
OLD | NEW |