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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: components/data_usage.gypi
diff --git a/components/data_usage.gypi b/components/data_usage.gypi
index ba77b57908b424921113feb53cee119e4fda9f57..6fcef19dbdd2855643028a7283bc981205e3125a 100644
--- a/components/data_usage.gypi
+++ b/components/data_usage.gypi
@@ -16,8 +16,29 @@
'data_usage/core/data_use.h',
'data_usage/core/data_use_aggregator.cc',
'data_usage/core/data_use_aggregator.h',
+ 'data_usage/core/data_use_amortizer.h',
'data_usage/core/data_use_annotator.h',
]
},
- ]
+ ],
+ 'conditions': [
+ ['OS=="android"', {
+ 'targets': [
+ {
+ 'target_name': 'data_usage_android',
+ 'type': 'static_library',
+ 'dependencies': [
+ ':data_usage_core',
+ '../base/base.gyp:base',
+ '../net/net.gyp:net',
+ '../url/url.gyp:url_lib',
+ ],
+ 'sources': [
+ 'data_usage/android/traffic_stats_amortizer.cc',
+ 'data_usage/android/traffic_stats_amortizer.h',
+ ]
+ },
+ ]
+ }], # OS=="android"
+ ],
}

Powered by Google App Engine
This is Rietveld 408576698