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

Side by Side Diff: components/data_usage.gypi

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 'targets': [ 5 'targets': [
6 { 6 {
7 'target_name': 'data_usage_core', 7 'target_name': 'data_usage_core',
8 'type': 'static_library', 8 'type': 'static_library',
9 'dependencies': [ 9 'dependencies': [
10 '../base/base.gyp:base', 10 '../base/base.gyp:base',
11 '../net/net.gyp:net', 11 '../net/net.gyp:net',
12 '../url/url.gyp:url_lib', 12 '../url/url.gyp:url_lib',
13 ], 13 ],
14 'sources': [ 14 'sources': [
15 'data_usage/core/data_use.cc', 15 'data_usage/core/data_use.cc',
16 'data_usage/core/data_use.h', 16 'data_usage/core/data_use.h',
17 'data_usage/core/data_use_aggregator.cc', 17 'data_usage/core/data_use_aggregator.cc',
18 'data_usage/core/data_use_aggregator.h', 18 'data_usage/core/data_use_aggregator.h',
19 'data_usage/core/data_use_amortizer.h',
19 'data_usage/core/data_use_annotator.h', 20 'data_usage/core/data_use_annotator.h',
20 ] 21 ]
21 }, 22 },
22 ] 23 ],
24 'conditions': [
25 ['OS=="android"', {
26 'targets': [
27 {
28 'target_name': 'data_usage_android',
29 'type': 'static_library',
30 'dependencies': [
31 ':data_usage_core',
32 '../base/base.gyp:base',
33 '../net/net.gyp:net',
34 '../url/url.gyp:url_lib',
35 ],
36 'sources': [
37 'data_usage/android/traffic_stats_amortizer.cc',
38 'data_usage/android/traffic_stats_amortizer.h',
39 ]
40 },
41 ]
42 }], # OS=="android"
43 ],
23 } 44 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698