include_rules = [
  # Do not add Chrome dependencies. Much work went into removing them.
  "+components/crx_file",
  "+components/url_matcher",
  "-content",
  "+content/grit/content_resources.h",
  "+content/public/common",
  "+content/public/test",
  "+crypto",
  "+extensions/test",
  "+grit/extensions_renderer_resources.h",
  "+grit/extensions_resources.h",
  "+mojo/public",
  "+testing",
  "+ui",

  # NOTE: Please do not add includes without talking to the app shell team;
  # see OWNERS for this directory.
]

specific_include_rules = {
  ".*(test|test_util)\.(cc|h)$": [
    "+content/public/test",

    # Temporarily allowed testing includes.  See above.
    # TODO(jamescook): Remove these. http://crbug.com/162530
    "+chrome/browser/apps/app_browsertest_util.h",
    "+chrome/browser/extensions/api/management/management_api.h",
    "+chrome/browser/extensions/api/permissions/permissions_api.h",
    "+chrome/browser/extensions/extension_api_unittest.h",
    "+chrome/browser/extensions/extension_apitest.h",
    "+chrome/browser/extensions/extension_function_test_utils.h",
    "+chrome/browser/extensions/extension_service.h",
    "+chrome/browser/extensions/extension_service_test_base.h",
    "+chrome/browser/extensions/extension_test_message_listener.h",
    "+chrome/browser/extensions/test_extension_dir.h",
    "+chrome/browser/extensions/test_extension_prefs.h",
    "+chrome/browser/extensions/test_extension_system.h",
    "+chrome/browser/ui/browser.h",
    "+chrome/common/chrome_paths.h",
    "+chrome/common/extensions/features/feature_channel.h",
    "+chrome/test/base/testing_profile.h",
    "+chrome/test/base/ui_test_utils.h",
  ],
}