| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 source_set("device_event_log") { | 5 component("device_event_log") { |
| 6 sources = [ | 6 sources = [ |
| 7 "device_event_log.cc", | 7 "device_event_log.cc", |
| 8 "device_event_log.h", | 8 "device_event_log.h", |
| 9 "device_event_log_impl.cc", | 9 "device_event_log_impl.cc", |
| 10 "device_event_log_impl.h", | 10 "device_event_log_impl.h", |
| 11 ] | 11 ] |
| 12 | 12 |
| 13 defines = [ "DEVICE_EVENT_LOG_IMPLEMENTATION" ] |
| 14 |
| 13 deps = [ | 15 deps = [ |
| 14 "//base", | 16 "//base", |
| 15 "//net", | 17 "//net", |
| 16 ] | 18 ] |
| 17 } | 19 } |
| 18 | 20 |
| 19 source_set("unit_tests") { | 21 source_set("unit_tests") { |
| 20 testonly = true | 22 testonly = true |
| 21 sources = [ | 23 sources = [ |
| 22 "device_event_log_impl_unittest.cc", | 24 "device_event_log_impl_unittest.cc", |
| 23 ] | 25 ] |
| 24 | 26 |
| 25 deps = [ | 27 deps = [ |
| 26 ":device_event_log", | 28 ":device_event_log", |
| 27 "//testing/gtest", | 29 "//testing/gtest", |
| 28 ] | 30 ] |
| 29 } | 31 } |
| OLD | NEW |