| 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 static_library("core") { | 5 static_library("core") { |
| 6 sources = [ | 6 sources = [ |
| 7 "data_use_user_data.cc", |
| 8 "data_use_user_data.h", |
| 9 ] |
| 10 deps = [ |
| 11 "//base", |
| 12 "//net", |
| 13 ] |
| 14 } |
| 15 |
| 16 static_library("ascriber") { |
| 17 sources = [ |
| 7 "data_use.cc", | 18 "data_use.cc", |
| 8 "data_use.h", | 19 "data_use.h", |
| 9 "data_use_ascriber.cc", | 20 "data_use_ascriber.cc", |
| 10 "data_use_ascriber.h", | 21 "data_use_ascriber.h", |
| 11 "data_use_network_delegate.cc", | 22 "data_use_network_delegate.cc", |
| 12 "data_use_network_delegate.h", | 23 "data_use_network_delegate.h", |
| 13 "data_use_recorder.cc", | 24 "data_use_recorder.cc", |
| 14 "data_use_recorder.h", | 25 "data_use_recorder.h", |
| 15 "data_use_user_data.cc", | |
| 16 "data_use_user_data.h", | |
| 17 ] | 26 ] |
| 18 deps = [ | 27 deps = [ |
| 19 "//base", | 28 "//base", |
| 29 "//components/metrics", |
| 20 "//net", | 30 "//net", |
| 21 ] | 31 ] |
| 22 } | 32 } |
| 33 |
| 34 source_set("unit_tests") { |
| 35 sources = [ |
| 36 "data_use_network_delegate_unittest.cc", |
| 37 ] |
| 38 testonly = true |
| 39 deps = [ |
| 40 "//base", |
| 41 "//base/test:test_support", |
| 42 "//components/data_use_measurement/core:ascriber", |
| 43 "//components/data_use_measurement/core:core", |
| 44 "//net", |
| 45 "//testing/gtest", |
| 46 ] |
| 47 } |
| OLD | NEW |