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