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" |
+ ], |
} |