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

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

Issue 1411453004: Componentize internal class FlagsState in flags_ui component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@feature_entry
Patch Set: Fix build with gn and typo in gyp file Created 5 years, 1 month 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
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 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 = [
20 "//base", 22 "//base",
21 "//base:prefs", 23 "//base:prefs",
22 "//components/strings", 24 "//components/strings",
23 "//ui/base", 25 "//ui/base",
26 ":switches",
24 ] 27 ]
25 } 28 }
29
30 source_set("switches") {
31 sources = [
32 "flags_ui_switches.cc",
33 "flags_ui_switches.h",
34 ]
35 }
36
37 source_set("unit_tests") {
38 testonly = true
39 sources = [
40 "flags_state_unittest.cc",
41 ]
42
43 deps = [
44 "//base",
45 "//base:prefs",
46 "//components/strings",
47 "//testing/gtest",
48 ":flags_ui",
49 ":switches",
50 ]
51 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698