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

Unified Diff: chrome/chrome_browser.gypi

Issue 7096013: Allow device policy code to be optionally included. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make changes requested by torne. Created 9 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/webui/options/personal_options_handler.cc ('k') | chrome/chrome_tests.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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'],
« no previous file with comments | « chrome/browser/ui/webui/options/personal_options_handler.cc ('k') | chrome/chrome_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698