blob: b7f2536329cc4a83f179d81a7125ea46da5746bf [file] [log] [blame]
# The //chrome/browser/policy code is being converted into a component at
# //components/policy. This DEPS file is temporarily restricting the include
# rules for this code; once all the exceptions are fixed then the code will
# be moved, and this file will be removed.
# http://crbug.com/271392
include_rules = [
"-chrome",
"-chromeos",
"-content",
"+chrome/browser/policy",
"+components/json_schema",
]
specific_include_rules = {
# These files will stay.
r"(browser_policy_connector|"
r"configuration_policy_handler_list|"
r"file_selection_dialogs_policy_handler|"
r"file_selection_dialogs_policy_handler_unittest|"
r"javascript_policy_handler|"
r"javascript_policy_handler_unittest|"
r"managed_mode_policy_provider|"
r"policy_browsertest|"
r"policy_path_parser|"
r"policy_path_parser_linux|"
r"policy_path_parser_mac|"
r"policy_path_parser_unittest|"
r"policy_path_parser_win|"
r"policy_prefs_browsertest|"
r"profile_policy_connector|"
r"profile_policy_connector_factory|"
r"url_blacklist_manager|"
r"url_blacklist_manager_unittest|"
r"url_blacklist_policy_handler|"
r"url_blacklist_policy_handler_unittest)"
r"\.(cc|h)": [
"+chrome",
"+chromeos",
"+content/public/browser",
"+content/public/common",
"+content/public/test",
"+content/test/net",
],
# TODO(joaodasilva): remove these exceptions.
r"configuration_policy_handler_android\.cc": [
"+chrome/common/net/url_fixer_upper.h",
"+chrome/common/pref_names.h",
],
r"configuration_policy_handler\.cc": [
"+chrome/browser/chrome_notification_types.h",
"+chrome/browser/policy/policy_path_parser.h",
],
r"configuration_policy_pref_store_unittest\.cc": [
"+chrome/common/pref_names.h",
],
}