sclittle | ae932be | 2015-10-08 20:53:50 | [diff] [blame] | 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 |
| 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', |
sclittle | c441f78 | 2015-11-12 01:12:09 | [diff] [blame] | 19 | 'data_usage/core/data_use_amortizer.h', |
sclittle | a133de0 | 2015-11-10 23:54:21 | [diff] [blame] | 20 | 'data_usage/core/data_use_annotator.h', |
sclittle | ae932be | 2015-10-08 20:53:50 | [diff] [blame] | 21 | ] |
| 22 | }, |
sclittle | c441f78 | 2015-11-12 01:12:09 | [diff] [blame] | 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 | ], |
sclittle | ae932be | 2015-10-08 20:53:50 | [diff] [blame] | 44 | } |