summaryrefslogtreecommitdiff
path: root/chromium/components/data_usage/android/BUILD.gn
blob: a664d6362d1a947f1bc3b7d3d7d99edaffb5fb4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# 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",
    "//components/variations",
    "//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",
  ]
}