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

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

Issue 2161363005: Convert some component source sets to static library (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/filesystem/BUILD.gn ('k') | components/gcm_driver/crypto/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 source_set("flags_ui") { 5 static_library("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 "//components/pref_registry", 24 "//components/pref_registry",
25 "//components/prefs", 25 "//components/prefs",
26 "//components/strings", 26 "//components/strings",
27 "//components/variations", 27 "//components/variations",
28 "//ui/base", 28 "//ui/base",
29 ] 29 ]
30 } 30 }
31 31
32 # This is a separate target so that the dependencies of 32 # This is a separate target so that the dependencies of
33 # //chrome/common can be kept minimal. 33 # //chrome/common can be kept minimal.
34 source_set("switches") { 34 static_library("switches") {
35 sources = [ 35 sources = [
36 "flags_ui_switches.cc", 36 "flags_ui_switches.cc",
37 "flags_ui_switches.h", 37 "flags_ui_switches.h",
38 ] 38 ]
39 } 39 }
40 40
41 source_set("unit_tests") { 41 source_set("unit_tests") {
42 testonly = true 42 testonly = true
43 sources = [ 43 sources = [
44 "flags_state_unittest.cc", 44 "flags_state_unittest.cc",
45 ] 45 ]
46 46
47 deps = [ 47 deps = [
48 ":flags_ui", 48 ":flags_ui",
49 ":switches", 49 ":switches",
50 "//base", 50 "//base",
51 "//components/prefs:test_support", 51 "//components/prefs:test_support",
52 "//components/strings", 52 "//components/strings",
53 "//components/variations", 53 "//components/variations",
54 "//testing/gtest", 54 "//testing/gtest",
55 ] 55 ]
56 } 56 }
OLDNEW
« no previous file with comments | « components/filesystem/BUILD.gn ('k') | components/gcm_driver/crypto/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698