1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'targets': [
{
'target_name': 'data_usage_core',
'type': 'static_library',
'dependencies': [
'../base/base.gyp:base',
'../net/net.gyp:net',
'../url/url.gyp:url_lib',
],
'sources': [
'data_usage/core/data_use.cc',
'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"
],
}
|