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

Side by Side Diff: components/flags_ui.gypi

Issue 1411453004: Componentize internal class FlagsState in flags_ui component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@feature_entry
Patch Set: Rebase 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
« no previous file with comments | « components/components_tests.gyp ('k') | components/flags_ui/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 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 # GN version: //components/flags_ui 8 # GN version: //components/flags_ui
9 'target_name': 'flags_ui', 9 'target_name': 'flags_ui',
10 'type': 'static_library', 10 'type': 'static_library',
11 'include_dirs': [ 11 'include_dirs': [
12 '..', 12 '..',
13 ], 13 ],
14 'dependencies': [ 14 'dependencies': [
15 '../base/base.gyp:base', 15 '../base/base.gyp:base',
16 '../base/base.gyp:base_prefs', 16 '../base/base.gyp:base_prefs',
17 '../components/components_strings.gyp:components_strings', 17 '../components/components_strings.gyp:components_strings',
18 '../ui/base/ui_base.gyp:ui_base', 18 '../ui/base/ui_base.gyp:ui_base',
19 'flags_ui_switches',
19 ], 20 ],
20 'sources': [ 21 'sources': [
21 # Note: sources list duplicated in GN build. 22 # Note: sources list duplicated in GN build.
22 'flags_ui/feature_entry.cc', 23 'flags_ui/feature_entry.cc',
23 'flags_ui/feature_entry.h', 24 'flags_ui/feature_entry.h',
24 'flags_ui/feature_entry_macros.h', 25 'flags_ui/feature_entry_macros.h',
26 'flags_ui/flags_state.cc',
27 'flags_ui/flags_state.h',
28 'flags_ui/flags_storage.h',
25 'flags_ui/flags_ui_constants.cc', 29 'flags_ui/flags_ui_constants.cc',
26 'flags_ui/flags_ui_constants.h', 30 'flags_ui/flags_ui_constants.h',
27 'flags_ui/flags_ui_pref_names.cc', 31 'flags_ui/flags_ui_pref_names.cc',
28 'flags_ui/flags_ui_pref_names.h', 32 'flags_ui/flags_ui_pref_names.h',
29 'flags_ui/flags_storage.h',
30 'flags_ui/pref_service_flags_storage.cc', 33 'flags_ui/pref_service_flags_storage.cc',
31 'flags_ui/pref_service_flags_storage.h', 34 'flags_ui/pref_service_flags_storage.h',
32 ], 35 ],
33 }, 36 },
37 {
38 # GN version: //components/flags_ui:switches
39 # This is a separate target so that the dependencies of
40 # //chrome/common can be kept minimal.
41 'target_name': 'flags_ui_switches',
42 'type': 'static_library',
43 'include_dirs': [
44 '..',
45 ],
46 'sources': [
47 # Note: sources list duplicated in GN build.
48 'flags_ui/flags_ui_switches.cc',
49 'flags_ui/flags_ui_switches.h',
50 ],
51 },
52 ],
53 'conditions': [
54 ['OS=="win" and target_arch=="ia32"', {
55 'targets': [
56 {
57 # The flags_ui_switches_win64 target here allows us to use base for
58 # Win64 targets (the normal build is 32 bits).
59 'target_name': 'flags_ui_switches_win64',
60 'type': 'static_library',
61 'include_dirs': [
62 '..',
63 ],
64 'sources': [
65 # Note: sources list duplicated in GN build.
66 'flags_ui/flags_ui_switches.cc',
67 'flags_ui/flags_ui_switches.h',
68 ],
69 'configurations': {
70 'Common_Base': {
71 'msvs_target_platform': 'x64',
72 },
73 },
74 },
75 ],
76 }],
34 ], 77 ],
35 } 78 }
OLDNEW
« no previous file with comments | « components/components_tests.gyp ('k') | components/flags_ui/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698