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

Unified 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: Fix compilation on Win32 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 side-by-side diff with in-line comments
Download patch
Index: components/flags_ui.gypi
diff --git a/components/flags_ui.gypi b/components/flags_ui.gypi
index 32932217f28fa6d05d11b1a7affc52cf3f24ecaa..e87bb5693d8b15e4b567f1cc6180c77c8ff5f49b 100644
--- a/components/flags_ui.gypi
+++ b/components/flags_ui.gypi
@@ -16,20 +16,59 @@
'../base/base.gyp:base_prefs',
'../components/components_strings.gyp:components_strings',
'../ui/base/ui_base.gyp:ui_base',
+ 'flags_ui_switches',
],
'sources': [
# Note: sources list duplicated in GN build.
'flags_ui/feature_entry.cc',
'flags_ui/feature_entry.h',
'flags_ui/feature_entry_macros.h',
+ 'flags_ui/flags_state.cc',
+ 'flags_ui/flags_state.h',
+ 'flags_ui/flags_storage.h',
'flags_ui/flags_ui_constants.cc',
'flags_ui/flags_ui_constants.h',
'flags_ui/flags_ui_pref_names.cc',
'flags_ui/flags_ui_pref_names.h',
- 'flags_ui/flags_storage.h',
'flags_ui/pref_service_flags_storage.cc',
'flags_ui/pref_service_flags_storage.h',
],
},
+ {
+ # GN version: //components/flags_ui:switches
+ 'target_name': 'flags_ui_switches',
+ 'type': 'static_library',
+ 'include_dirs': [
+ '..',
+ ],
+ 'sources': [
+ # Note: sources list duplicated in GN build.
+ 'flags_ui/flags_ui_switches.cc',
+ 'flags_ui/flags_ui_switches.h',
+ ],
+ },
+ ],
+ 'conditions': [
+ ['OS=="win" and target_arch=="ia32"', {
Alexei Svitkine (slow) 2015/11/16 21:52:54 Why is this needed? Could use a comment, otherwise
sdefresne 2015/11/17 16:28:56 Done (took the comment from base_win64 target).
+ 'targets': [
+ {
+ 'target_name': 'flags_ui_switches_win64',
+ 'type': 'static_library',
+ 'include_dirs': [
+ '..',
+ ],
+ 'sources': [
+ # Note: sources list duplicated in GN build.
+ 'flags_ui/flags_ui_switches.cc',
+ 'flags_ui/flags_ui_switches.h',
+ ],
+ },
+ 'configurations': {
+ 'Common_Base': {
+ 'msvs_target_platform': 'x64',
+ },
+ },
+ ],
+ }],
],
}

Powered by Google App Engine
This is Rietveld 408576698