Index: chrome/chrome_browser.gypi |
diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi |
index abbc724e2e20e1a4b4cfc6daeda3172b0ebb336e..91e781891dc85f0557f17f6cb9774b5d066f725f 100644 |
--- a/chrome/chrome_browser.gypi |
+++ b/chrome/chrome_browser.gypi |
@@ -1614,6 +1614,7 @@ |
'<(protoc_out_dir)/chrome/browser/policy/proto/chrome_device_policy.pb.h', |
'<(protoc_out_dir)/chrome/browser/policy/proto/device_management_backend.pb.cc', |
'<(protoc_out_dir)/chrome/browser/policy/proto/device_management_backend.pb.h', |
+ 'browser/policy/policy_stubs.cc', |
'browser/policy/proto/device_management_constants.cc', |
'browser/policy/proto/device_management_constants.h', |
'<(protoc_out_dir)/chrome/browser/policy/proto/device_management_local.pb.cc', |
@@ -3455,6 +3456,7 @@ |
'browser/ui/webui/options/language_options_handler_common.h', |
'browser/ui/webui/options/options_managed_banner_handler.cc', |
'browser/ui/webui/options/options_managed_banner_handler.h', |
+ 'browser/ui/webui/options/options_managed_banner_handler_stub.cc', |
'browser/ui/webui/options/options_ui.cc', |
'browser/ui/webui/options/options_ui.h', |
'browser/ui/webui/options/password_manager_handler.cc', |
@@ -3563,6 +3565,18 @@ |
'DEBUG_DEVTOOLS=1', |
], |
}], |
+ ['configuration_policy==1', { |
+ 'sources!': [ |
+ 'browser/policy/policy_stubs.cc', |
+ 'browser/ui/webui/options/options_managed_banner_handler_stub.cc', |
+ ], |
+ }, { |
+ 'sources/': [ |
+ ['exclude', '^browser/policy/'], |
+ ['include', '^browser/policy/policy_stubs.cc'], |
+ ['exclude', '^browser/ui/webui/options/options_managed_banner_handler.cc'], |
+ ], |
+ }], |
['chromeos==0', { |
'sources/': [ |
['exclude', '^browser/chromeos'], |