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

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

Issue 1390993005: Amortize data usage using TrafficStats on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@data_use_buffering
Patch Set: Fixed nit Created 5 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 source_set("core") { 5 source_set("core") {
6 sources = [ 6 sources = [
7 "data_use.cc", 7 "data_use.cc",
8 "data_use.h", 8 "data_use.h",
9 "data_use_aggregator.cc", 9 "data_use_aggregator.cc",
10 "data_use_aggregator.h", 10 "data_use_aggregator.h",
11 "data_use_amortizer.h",
11 "data_use_annotator.h", 12 "data_use_annotator.h",
12 ] 13 ]
13 deps = [ 14 deps = [
14 "//base", 15 "//base",
15 "//net", 16 "//net",
16 "//url", 17 "//url",
17 ] 18 ]
18 } 19 }
19 20
20 source_set("unit_tests") { 21 source_set("unit_tests") {
21 testonly = true 22 testonly = true
22 sources = [ 23 sources = [
23 "data_use_aggregator_unittest.cc", 24 "data_use_aggregator_unittest.cc",
24 ] 25 ]
25 26
26 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 27 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
27 28
28 deps = [ 29 deps = [
29 ":core", 30 ":core",
30 "//base", 31 "//base",
31 "//base/test:test_support", 32 "//base/test:test_support",
32 "//net:test_support", 33 "//net:test_support",
33 "//testing/gtest", 34 "//testing/gtest",
34 ] 35 ]
35 } 36 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698