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

Side by Side Diff: components/data_usage/android/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: Created 5 years, 2 months 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("android") {
6 sources = [ 6 sources = [
7 "data_use.cc", 7 "traffic_stats_amortizer.cc",
8 "data_use.h", 8 "traffic_stats_amortizer.h",
9 "data_use_aggregator.cc",
10 "data_use_aggregator.h",
11 ] 9 ]
12 deps = [ 10 deps = [
13 "//base", 11 "//base",
12 "//components/data_usage/core",
14 "//net", 13 "//net",
15 "//url", 14 "//url",
16 ] 15 ]
17 } 16 }
18 17
19 source_set("unit_tests") { 18 source_set("unit_tests") {
20 testonly = true 19 testonly = true
21 sources = [ 20 sources = [
22 "data_use_aggregator_unittest.cc", 21 "traffic_stats_amortizer_unittest.cc",
23 ] 22 ]
24 23
25 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 24 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
26 25
27 deps = [ 26 deps = [
28 ":core", 27 ":android",
29 "//base", 28 "//base",
30 "//base/test:test_support", 29 "//base/test:test_support",
30 "//components/data_usage/core",
31 "//net:test_support", 31 "//net:test_support",
32 "//testing/gtest", 32 "//testing/gtest",
33 ] 33 ]
34 } 34 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698