summaryrefslogtreecommitdiffstats
path: root/chrome/chrome_browser_ui.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/chrome_browser_ui.gypi')
-rw-r--r--chrome/chrome_browser_ui.gypi21
1 files changed, 14 insertions, 7 deletions
diff --git a/chrome/chrome_browser_ui.gypi b/chrome/chrome_browser_ui.gypi
index 3239cda..3048b61 100644
--- a/chrome/chrome_browser_ui.gypi
+++ b/chrome/chrome_browser_ui.gypi
@@ -366,12 +366,6 @@
'browser/ui/webui/omnibox/omnibox_ui_handler.h',
'browser/ui/webui/password_manager_internals/password_manager_internals_ui.cc',
'browser/ui/webui/password_manager_internals/password_manager_internals_ui.h',
- 'browser/ui/webui/policy_material_design_ui.cc',
- 'browser/ui/webui/policy_material_design_ui.h',
- 'browser/ui/webui/policy_ui.cc',
- 'browser/ui/webui/policy_ui.h',
- 'browser/ui/webui/policy_ui_handler.cc',
- 'browser/ui/webui/policy_ui_handler.h',
'browser/ui/webui/predictors/predictors_handler.cc',
'browser/ui/webui/predictors/predictors_handler.h',
'browser/ui/webui/predictors/predictors_ui.cc',
@@ -2821,6 +2815,14 @@
'browser/ui/webui/plugins/plugins_ui.cc',
'browser/ui/webui/plugins/plugins_ui.h',
],
+ 'chrome_browser_ui_policy_sources': [
+ 'browser/ui/webui/policy_material_design_ui.cc',
+ 'browser/ui/webui/policy_material_design_ui.h',
+ 'browser/ui/webui/policy_ui.cc',
+ 'browser/ui/webui/policy_ui.h',
+ 'browser/ui/webui/policy_ui_handler.cc',
+ 'browser/ui/webui/policy_ui_handler.h',
+ ],
'chrome_browser_ui_print_preview_sources': [
'browser/ui/webui/print_preview/extension_printer_handler.cc',
'browser/ui/webui/print_preview/extension_printer_handler.h',
@@ -2884,7 +2886,6 @@
'../components/components.gyp:omnibox_common',
'../components/components.gyp:onc_component',
'../components/components.gyp:password_manager_core_browser',
- '../components/components.gyp:policy',
'../components/components.gyp:sync_driver',
'../components/components.gyp:toolbar',
'../components/components.gyp:ui_zoom',
@@ -2995,6 +2996,12 @@
'DEBUG_DEVTOOLS=1',
],
}],
+ ['configuration_policy==1', {
+ 'sources': [ '<@(chrome_browser_ui_policy_sources)' ],
+ 'dependencies': [
+ '../components/components.gyp:policy',
+ ],
+ }],
['enable_plugins==1', {
'sources': [ '<@(chrome_browser_ui_plugin_sources)' ],
'dependencies': [