| 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", | 7 "data_use_user_data.cc", |
| 8 "data_use_user_data.h", | 8 "data_use_user_data.h", |
| 9 ] | 9 ] |
| 10 deps = [ | 10 deps = [ |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 "data_use_network_delegate.h", | 25 "data_use_network_delegate.h", |
| 26 "data_use_recorder.cc", | 26 "data_use_recorder.cc", |
| 27 "data_use_recorder.h", | 27 "data_use_recorder.h", |
| 28 ] | 28 ] |
| 29 deps = [ | 29 deps = [ |
| 30 ":core", | 30 ":core", |
| 31 "//base", | 31 "//base", |
| 32 "//components/metrics", | 32 "//components/metrics", |
| 33 "//net", | 33 "//net", |
| 34 ] | 34 ] |
| 35 |
| 36 if (!is_ios) { |
| 37 deps += [ "//components/domain_reliability" ] |
| 38 } |
| 35 } | 39 } |
| 36 | 40 |
| 37 source_set("unit_tests") { | 41 source_set("unit_tests") { |
| 38 sources = [ | 42 sources = [ |
| 39 "data_use_measurement_unittest.cc", | 43 "data_use_measurement_unittest.cc", |
| 40 "data_use_network_delegate_unittest.cc", | 44 "data_use_network_delegate_unittest.cc", |
| 41 ] | 45 ] |
| 42 testonly = true | 46 testonly = true |
| 43 deps = [ | 47 deps = [ |
| 44 ":ascriber", | 48 ":ascriber", |
| 45 ":core", | 49 ":core", |
| 46 "//base/test:test_support", | 50 "//base/test:test_support", |
| 47 "//components/metrics:metrics", | 51 "//components/metrics:metrics", |
| 48 "//net:test_support", | 52 "//net:test_support", |
| 49 "//testing/gtest", | 53 "//testing/gtest", |
| 50 ] | 54 ] |
| 51 } | 55 } |
| OLD | NEW |