Home | History | Annotate | Download | only in bookmarks
      1 include_rules = [
      2   # Bookmarks is being made into a component (it will end up at
      3   # //components/bookmarks and not depend on //chrome), so we have these basic
      4   # rules followed by temporary exceptions.  Please don't add to the list of
      5   # exceptions!
      6   "-chrome/browser",
      7   "+chrome/browser/bookmarks",
      8   "+chrome/browser/favicon",
      9   "+chrome/browser/chrome_notification_types.h",
     10   "+chrome/browser/policy/profile_policy_connector.h",
     11   "+chrome/browser/policy/profile_policy_connector_factory.h",
     12   "+chrome/browser/profiles/incognito_helpers.h",
     13   "+chrome/browser/profiles/profile.h",
     14   "+chrome/browser/profiles/startup_task_runner_service.h",
     15   "+chrome/browser/profiles/startup_task_runner_service_factory.h",
     16   "+chrome/browser/undo/bookmark_undo_service.h",
     17   "+chrome/browser/undo/bookmark_undo_service_factory.h",
     18 
     19   # TODO(tfarina): Bring this list to zero. crbug.com/144783
     20   # Do not add to the list of temporarily-allowed dependencies below,
     21   # and please do not introduce more #includes of these files.
     22   "!chrome/browser/history/history_service.h",
     23   "!chrome/browser/history/history_service_factory.h",
     24   "!chrome/browser/history/url_database.h",
     25   "!chrome/browser/omnibox/omnibox_field_trial.h",
     26   # Do not add to the list of temporarily-allowed dependencies above,
     27   # and please do not introduce more #includes of these files.
     28 ]
     29 
     30 specific_include_rules = {
     31   # For unit tests, it's fine to include utility process code.
     32   '.*test\.cc': [
     33     "+chrome/test/base/testing_profile.h",
     34     "+chrome/utility/importer/bookmark_html_reader.h",
     35   ],
     36 }
     37