| 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 | 5 # GYP version: components/proxy_config.gypi:proxy_config |
| 6 component("proxy_config") { | 6 component("proxy_config") { |
| 7 sources = [ | 7 sources = [ |
| 8 "pref_proxy_config_tracker.cc", | 8 "pref_proxy_config_tracker.cc", |
| 9 "pref_proxy_config_tracker.h", | 9 "pref_proxy_config_tracker.h", |
| 10 "pref_proxy_config_tracker_impl.cc", | 10 "pref_proxy_config_tracker_impl.cc", |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 21 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 22 | 22 |
| 23 defines = [ "PROXY_CONFIG_IMPLEMENTATION" ] | 23 defines = [ "PROXY_CONFIG_IMPLEMENTATION" ] |
| 24 | 24 |
| 25 deps = [ | 25 deps = [ |
| 26 "//base", | 26 "//base", |
| 27 "//base:prefs", | 27 "//base:prefs", |
| 28 "//net", | 28 "//net", |
| 29 "//url", | 29 "//url", |
| 30 ] | 30 ] |
| 31 |
| 32 # TODO(https://crbug.com/562773): Break a header include cycle on ChromeOS |
| 33 # and disable include checking so GN doesn't complain about the missing |
| 34 # dependency (it still links OK). This cycle should be fixed and header |
| 35 # checking enabled. |
| 36 if (is_chromeos) { |
| 37 check_includes = false |
| 38 } else { |
| 39 deps += [ "//components/pref_registry" ] |
| 40 } |
| 31 } | 41 } |
| 32 | 42 |
| 33 source_set("unit_tests") { | 43 source_set("unit_tests") { |
| 34 testonly = true | 44 testonly = true |
| 35 sources = [ | 45 sources = [ |
| 36 "pref_proxy_config_tracker_impl_unittest.cc", | 46 "pref_proxy_config_tracker_impl_unittest.cc", |
| 37 "proxy_config_dictionary_unittest.cc", | 47 "proxy_config_dictionary_unittest.cc", |
| 38 "proxy_prefs_unittest.cc", | 48 "proxy_prefs_unittest.cc", |
| 39 ] | 49 ] |
| 40 deps = [ | 50 deps = [ |
| 41 ":proxy_config", | 51 ":proxy_config", |
| 52 "//base", |
| 53 "//base:prefs_test_support", |
| 54 "//base/test:test_support", |
| 55 "//net", |
| 42 "//testing/gmock", | 56 "//testing/gmock", |
| 43 "//testing/gtest", | 57 "//testing/gtest", |
| 44 ] | 58 ] |
| 45 } | 59 } |
| OLD | NEW |