Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(862)

Side by Side Diff: components/data_use_measurement/core/BUILD.gn

Issue 2462983003: Move data use measurement to DataUseNetworkDelegate (Closed)
Patch Set: Fixed linux unittest compile Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698