Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(275)

Side by Side Diff: components/proxy_config/BUILD.gn

Issue 1652573002: Update GN build files for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@presf_move
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/proximity_auth/webui/BUILD.gn ('k') | components/rappor/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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",
11 "pref_proxy_config_tracker_impl.h", 11 "pref_proxy_config_tracker_impl.h",
12 "proxy_config_dictionary.cc", 12 "proxy_config_dictionary.cc",
13 "proxy_config_dictionary.h", 13 "proxy_config_dictionary.h",
14 "proxy_config_export.h", 14 "proxy_config_export.h",
15 "proxy_config_pref_names.cc", 15 "proxy_config_pref_names.cc",
16 "proxy_config_pref_names.h", 16 "proxy_config_pref_names.h",
17 "proxy_prefs.cc", 17 "proxy_prefs.cc",
18 "proxy_prefs.h", 18 "proxy_prefs.h",
19 ] 19 ]
20 20
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 "//components/prefs",
28 "//net", 28 "//net",
29 "//url", 29 "//url",
30 ] 30 ]
31 31
32 # TODO(https://crbug.com/562773): Break a header include cycle on ChromeOS 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 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 34 # dependency (it still links OK). This cycle should be fixed and header
35 # checking enabled. 35 # checking enabled.
36 if (is_chromeos) { 36 if (is_chromeos) {
37 check_includes = false 37 check_includes = false
38 } else { 38 } else {
39 deps += [ "//components/pref_registry" ] 39 deps += [ "//components/pref_registry" ]
40 } 40 }
41 } 41 }
42 42
43 source_set("unit_tests") { 43 source_set("unit_tests") {
44 testonly = true 44 testonly = true
45 sources = [ 45 sources = [
46 "pref_proxy_config_tracker_impl_unittest.cc", 46 "pref_proxy_config_tracker_impl_unittest.cc",
47 "proxy_config_dictionary_unittest.cc", 47 "proxy_config_dictionary_unittest.cc",
48 "proxy_prefs_unittest.cc", 48 "proxy_prefs_unittest.cc",
49 ] 49 ]
50 deps = [ 50 deps = [
51 ":proxy_config", 51 ":proxy_config",
52 "//base", 52 "//base",
53 "//base:prefs_test_support",
54 "//base/test:test_support", 53 "//base/test:test_support",
54 "//components/prefs:test_support",
55 "//net", 55 "//net",
56 "//testing/gmock", 56 "//testing/gmock",
57 "//testing/gtest", 57 "//testing/gtest",
58 ] 58 ]
59 } 59 }
OLDNEW
« no previous file with comments | « components/proximity_auth/webui/BUILD.gn ('k') | components/rappor/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698