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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
# Copyright 2014 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.
import("//components/data_reduction_proxy/core/common/version.gni")
static_library("common") {
sources = [
"data_reduction_proxy_bypass_type_list.h",
"data_reduction_proxy_event_store.cc",
"data_reduction_proxy_event_store.h",
"data_reduction_proxy_headers.cc",
"data_reduction_proxy_headers.h",
"data_reduction_proxy_params.cc",
"data_reduction_proxy_params.h",
"data_reduction_proxy_pref_names.cc",
"data_reduction_proxy_pref_names.h",
"data_reduction_proxy_switches.cc",
"data_reduction_proxy_switches.h",
]
public_deps = [
":version_header",
]
deps = [
"//base",
"//net",
"//url",
]
}
source_set("test_support") {
testonly = true
sources = [
"data_reduction_proxy_headers_test_utils.cc",
"data_reduction_proxy_headers_test_utils.h",
"data_reduction_proxy_params_test_utils.cc",
"data_reduction_proxy_params_test_utils.h",
]
public_deps = [
":common",
]
deps = [
"//base",
"//net",
"//net:test_support",
"//testing/gmock",
"//testing/gtest",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"data_reduction_proxy_event_store_unittest.cc",
"data_reduction_proxy_headers_unittest.cc",
"data_reduction_proxy_params_unittest.cc",
]
deps = [
":common",
":test_support",
"//base",
"//base/test:test_support",
"//net:test_support",
"//testing/gtest",
]
}
process_version("version_header") {
source = "version.h.in"
output = "$target_gen_dir/version.h"
}
|