| Index: components/data_usage/android/BUILD.gn
|
| diff --git a/components/data_usage/core/BUILD.gn b/components/data_usage/android/BUILD.gn
|
| similarity index 68%
|
| copy from components/data_usage/core/BUILD.gn
|
| copy to components/data_usage/android/BUILD.gn
|
| index 06e19b97a59beab487700bf1dfe189ad247a9ec3..f3d70da3dc34053b8fec3459276f5aad9d039269 100644
|
| --- a/components/data_usage/core/BUILD.gn
|
| +++ b/components/data_usage/android/BUILD.gn
|
| @@ -2,16 +2,14 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| -source_set("core") {
|
| +source_set("android") {
|
| sources = [
|
| - "data_use.cc",
|
| - "data_use.h",
|
| - "data_use_aggregator.cc",
|
| - "data_use_aggregator.h",
|
| - "data_use_annotator.h",
|
| + "traffic_stats_amortizer.cc",
|
| + "traffic_stats_amortizer.h",
|
| ]
|
| deps = [
|
| "//base",
|
| + "//components/data_usage/core",
|
| "//net",
|
| "//url",
|
| ]
|
| @@ -20,15 +18,16 @@ source_set("core") {
|
| source_set("unit_tests") {
|
| testonly = true
|
| sources = [
|
| - "data_use_aggregator_unittest.cc",
|
| + "traffic_stats_amortizer_unittest.cc",
|
| ]
|
|
|
| configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
|
|
|
| deps = [
|
| - ":core",
|
| + ":android",
|
| "//base",
|
| "//base/test:test_support",
|
| + "//components/data_usage/core",
|
| "//net:test_support",
|
| "//testing/gtest",
|
| ]
|
|
|