OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 # GYP version: components/proxy_config.gypi:proxy_config_component | 5 # GYP version: components/proxy_config.gypi:proxy_config_component |
6 component("proxy_config") { | 6 component("proxy_config") { |
7 sources = [ | 7 sources = [ |
8 "proxy_config_dictionary.cc", | 8 "proxy_config_dictionary.cc", |
9 "proxy_config_dictionary.h", | 9 "proxy_config_dictionary.h", |
10 "proxy_config_export.h", | 10 "proxy_config_export.h", |
11 "proxy_prefs.cc", | 11 "proxy_prefs.cc", |
12 "proxy_prefs.h", | 12 "proxy_prefs.h", |
13 ] | 13 ] |
14 | 14 |
15 defines = [ "PROXY_CONFIG_IMPLEMENTATION" ] | 15 defines = [ "PROXY_CONFIG_IMPLEMENTATION" ] |
16 | 16 |
17 deps = [ | 17 deps = [ |
18 "//base", | 18 "//base", |
19 "//net", | 19 "//net", |
20 ] | 20 ] |
21 } | 21 } |
| 22 |
| 23 source_set("unit_tests") { |
| 24 testonly = true |
| 25 sources = [ |
| 26 "proxy_config_dictionary_unittest.cc", |
| 27 "proxy_prefs_unittest.cc", |
| 28 ] |
| 29 deps = [ |
| 30 ":proxy_config", |
| 31 "//testing/gtest", |
| 32 ] |
| 33 } |
OLD | NEW |