blob: 6fcef19dbdd2855643028a7283bc981205e3125a [file] [log] [blame]
sclittleae932be2015-10-08 20:53:501# Copyright 2015 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4{
5 'targets': [
6 {
7 'target_name': 'data_usage_core',
8 'type': 'static_library',
9 'dependencies': [
10 '../base/base.gyp:base',
11 '../net/net.gyp:net',
12 '../url/url.gyp:url_lib',
13 ],
14 'sources': [
15 'data_usage/core/data_use.cc',
16 'data_usage/core/data_use.h',
17 'data_usage/core/data_use_aggregator.cc',
18 'data_usage/core/data_use_aggregator.h',
sclittlec441f782015-11-12 01:12:0919 'data_usage/core/data_use_amortizer.h',
sclittlea133de02015-11-10 23:54:2120 'data_usage/core/data_use_annotator.h',
sclittleae932be2015-10-08 20:53:5021 ]
22 },
sclittlec441f782015-11-12 01:12:0923 ],
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 ],
sclittleae932be2015-10-08 20:53:5044}