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 source_set("flags_ui") { | 5 source_set("flags_ui") { |
6 sources = [ | 6 sources = [ |
7 "feature_entry.cc", | 7 "feature_entry.cc", |
8 "feature_entry.h", | 8 "feature_entry.h", |
9 "feature_entry_macros.h", | 9 "feature_entry_macros.h", |
10 "flags_state.cc", | 10 "flags_state.cc", |
11 "flags_state.h", | 11 "flags_state.h", |
12 "flags_storage.h", | 12 "flags_storage.h", |
13 "flags_ui_constants.cc", | 13 "flags_ui_constants.cc", |
14 "flags_ui_constants.h", | 14 "flags_ui_constants.h", |
15 "flags_ui_pref_names.cc", | 15 "flags_ui_pref_names.cc", |
16 "flags_ui_pref_names.h", | 16 "flags_ui_pref_names.h", |
17 "pref_service_flags_storage.cc", | 17 "pref_service_flags_storage.cc", |
18 "pref_service_flags_storage.h", | 18 "pref_service_flags_storage.h", |
19 ] | 19 ] |
20 | 20 |
21 deps = [ | 21 deps = [ |
22 ":switches", | 22 ":switches", |
23 "//base", | 23 "//base", |
24 "//base:prefs", | |
25 "//components/pref_registry", | 24 "//components/pref_registry", |
| 25 "//components/prefs", |
26 "//components/strings", | 26 "//components/strings", |
27 "//ui/base", | 27 "//ui/base", |
28 ] | 28 ] |
29 } | 29 } |
30 | 30 |
31 # This is a separate target so that the dependencies of | 31 # This is a separate target so that the dependencies of |
32 # //chrome/common can be kept minimal. | 32 # //chrome/common can be kept minimal. |
33 source_set("switches") { | 33 source_set("switches") { |
34 sources = [ | 34 sources = [ |
35 "flags_ui_switches.cc", | 35 "flags_ui_switches.cc", |
36 "flags_ui_switches.h", | 36 "flags_ui_switches.h", |
37 ] | 37 ] |
38 } | 38 } |
39 | 39 |
40 source_set("unit_tests") { | 40 source_set("unit_tests") { |
41 testonly = true | 41 testonly = true |
42 sources = [ | 42 sources = [ |
43 "flags_state_unittest.cc", | 43 "flags_state_unittest.cc", |
44 ] | 44 ] |
45 | 45 |
46 deps = [ | 46 deps = [ |
47 ":flags_ui", | 47 ":flags_ui", |
48 ":switches", | 48 ":switches", |
49 "//base", | 49 "//base", |
50 "//base:prefs", | 50 "//components/prefs:test_support", |
51 "//base:prefs_test_support", | |
52 "//components/strings", | 51 "//components/strings", |
53 "//testing/gtest", | 52 "//testing/gtest", |
54 ] | 53 ] |
55 } | 54 } |
OLD | NEW |