summaryrefslogtreecommitdiffstats
path: root/components/data_usage/android/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'components/data_usage/android/BUILD.gn')
-rw-r--r--components/data_usage/android/BUILD.gn34
1 files changed, 34 insertions, 0 deletions
diff --git a/components/data_usage/android/BUILD.gn b/components/data_usage/android/BUILD.gn
new file mode 100644
index 0000000..f3d70da
--- /dev/null
+++ b/components/data_usage/android/BUILD.gn
@@ -0,0 +1,34 @@
+# 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.
+
+source_set("android") {
+ sources = [
+ "traffic_stats_amortizer.cc",
+ "traffic_stats_amortizer.h",
+ ]
+ deps = [
+ "//base",
+ "//components/data_usage/core",
+ "//net",
+ "//url",
+ ]
+}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "traffic_stats_amortizer_unittest.cc",
+ ]
+
+ configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
+
+ deps = [
+ ":android",
+ "//base",
+ "//base/test:test_support",
+ "//components/data_usage/core",
+ "//net:test_support",
+ "//testing/gtest",
+ ]
+}