| OLD | NEW |
| (Empty) |
| 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', | |
| 19 'data_usage/core/data_use_amortizer.h', | |
| 20 'data_usage/core/data_use_annotator.h', | |
| 21 ] | |
| 22 }, | |
| 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 ], | |
| 44 } | |
| OLD | NEW |