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