| 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("usb") { |
| 6 sources = [ | 6 sources = [ |
| 7 "gfx_range_export.h", | 7 "usb_api.cc", |
| 8 "range.cc", | 8 "usb_api.h", |
| 9 "range.h", | 9 "usb_device_resource.cc", |
| 10 "range_f.cc", | 10 "usb_device_resource.h", |
| 11 "range_f.h", | 11 "usb_event_router.cc", |
| 12 "range_mac.mm", | 12 "usb_event_router.h", |
| 13 "range_win.cc", | 13 "usb_guid_map.cc", |
| 14 "usb_guid_map.h", |
| 14 ] | 15 ] |
| 15 | 16 |
| 16 configs += [ | 17 configs += [ |
| 17 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 18 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 18 "//build/config/compiler:no_size_t_to_int_warning", | 19 "//build/config/compiler:no_size_t_to_int_warning", |
| 19 ] | 20 ] |
| 20 | 21 |
| 21 defines = [ "GFX_RANGE_IMPLEMENTATION" ] | |
| 22 | |
| 23 deps = [ | 22 deps = [ |
| 24 "//base", | 23 "//content/public/browser", |
| 25 "//ui/gfx:gfx_export", | 24 "//content/public/common", |
| 25 "//extensions/common/api", |
| 26 ] | 26 ] |
| 27 } | 27 } |
| OLD | NEW |