OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//chrome/version.gni") | 5 import("//chrome/version.gni") |
6 | 6 |
7 static_library("common") { | 7 static_library("common") { |
8 sources = [ | 8 sources = [ |
9 "data_reduction_proxy_bypass_type_list.h", | 9 "data_reduction_proxy_bypass_type_list.h", |
| 10 "data_reduction_proxy_client_config_parser.cc", |
| 11 "data_reduction_proxy_client_config_parser.h", |
10 "data_reduction_proxy_config_values.h", | 12 "data_reduction_proxy_config_values.h", |
11 "data_reduction_proxy_event_store.cc", | 13 "data_reduction_proxy_event_store.cc", |
12 "data_reduction_proxy_event_store.h", | 14 "data_reduction_proxy_event_store.h", |
13 "data_reduction_proxy_headers.cc", | 15 "data_reduction_proxy_headers.cc", |
14 "data_reduction_proxy_headers.h", | 16 "data_reduction_proxy_headers.h", |
15 "data_reduction_proxy_params.cc", | 17 "data_reduction_proxy_params.cc", |
16 "data_reduction_proxy_params.h", | 18 "data_reduction_proxy_params.h", |
17 "data_reduction_proxy_pref_names.cc", | 19 "data_reduction_proxy_pref_names.cc", |
18 "data_reduction_proxy_pref_names.h", | 20 "data_reduction_proxy_pref_names.h", |
19 "data_reduction_proxy_switches.cc", | 21 "data_reduction_proxy_switches.cc", |
20 "data_reduction_proxy_switches.h", | 22 "data_reduction_proxy_switches.h", |
21 ] | 23 ] |
22 | 24 |
23 public_deps = [ | 25 public_deps = [ |
24 ":version_header", | 26 ":version_header", |
25 ] | 27 ] |
26 deps = [ | 28 deps = [ |
27 "//base", | 29 "//base", |
| 30 "//components/data_reduction_proxy/proto:data_reduction_proxy_proto", |
28 "//net", | 31 "//net", |
29 "//url", | 32 "//url", |
30 ] | 33 ] |
31 } | 34 } |
32 | 35 |
33 source_set("test_support") { | 36 source_set("test_support") { |
34 testonly = true | 37 testonly = true |
35 sources = [ | 38 sources = [ |
36 "data_reduction_proxy_headers_test_utils.cc", | 39 "data_reduction_proxy_headers_test_utils.cc", |
37 "data_reduction_proxy_headers_test_utils.h", | 40 "data_reduction_proxy_headers_test_utils.h", |
38 "data_reduction_proxy_params_test_utils.cc", | 41 "data_reduction_proxy_params_test_utils.cc", |
39 "data_reduction_proxy_params_test_utils.h", | 42 "data_reduction_proxy_params_test_utils.h", |
40 ] | 43 ] |
41 | 44 |
42 public_deps = [ | 45 public_deps = [ |
43 ":common", | 46 ":common", |
44 ] | 47 ] |
45 deps = [ | 48 deps = [ |
46 "//base", | 49 "//base", |
47 "//net", | 50 "//net", |
48 "//net:test_support", | 51 "//net:test_support", |
49 "//testing/gmock", | 52 "//testing/gmock", |
50 "//testing/gtest", | 53 "//testing/gtest", |
51 ] | 54 ] |
52 } | 55 } |
53 | 56 |
54 source_set("unit_tests") { | 57 source_set("unit_tests") { |
55 testonly = true | 58 testonly = true |
56 sources = [ | 59 sources = [ |
| 60 "data_reduction_proxy_client_config_parser_unittest.cc", |
57 "data_reduction_proxy_event_store_unittest.cc", | 61 "data_reduction_proxy_event_store_unittest.cc", |
58 "data_reduction_proxy_headers_unittest.cc", | 62 "data_reduction_proxy_headers_unittest.cc", |
59 "data_reduction_proxy_params_unittest.cc", | 63 "data_reduction_proxy_params_unittest.cc", |
60 ] | 64 ] |
61 | 65 |
62 deps = [ | 66 deps = [ |
63 ":common", | 67 ":common", |
64 ":test_support", | 68 ":test_support", |
65 "//base", | 69 "//base", |
66 "//base/test:test_support", | 70 "//base/test:test_support", |
| 71 "//components/data_reduction_proxy/proto:data_reduction_proxy_proto", |
67 "//net:test_support", | 72 "//net:test_support", |
68 "//testing/gtest", | 73 "//testing/gtest", |
69 ] | 74 ] |
70 } | 75 } |
71 | 76 |
72 process_version("version_header") { | 77 process_version("version_header") { |
73 template_file = "version.h.in" | 78 template_file = "version.h.in" |
74 output = "$target_gen_dir/version.h" | 79 output = "$target_gen_dir/version.h" |
75 } | 80 } |
OLD | NEW |