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/undo/bookmark_undo_service.h",
     11   "+chrome/browser/undo/bookmark_undo_service_factory.h",
     12 
     13   # TODO(tfarina): Bring this list to zero. crbug.com/144783
     14   # Do not add to the list of temporarily-allowed dependencies below,
     15   # and please do not introduce more #includes of these files.
     16   "!chrome/browser/history/history_service.h",
     17   "!chrome/browser/history/history_service_factory.h",
     18   "!chrome/browser/history/query_parser.h",
     19   "!chrome/browser/history/url_database.h",
     20   "!chrome/browser/profiles/incognito_helpers.h",
     21   "!chrome/browser/profiles/profile.h",
     22   "!chrome/browser/profiles/startup_task_runner_service.h",
     23   "!chrome/browser/profiles/startup_task_runner_service_factory.h",
     24   # Do not add to the list of temporarily-allowed dependencies above,
     25   # and please do not introduce more #includes of these files.
     26 ]
     27 
     28 specific_include_rules = {
     29   # For unit tests, it's fine to include utility process code.
     30   '.*test\.cc': [
     31     "!chrome/test/base/testing_profile.h",
     32     "+chrome/utility/importer/bookmark_html_reader.h",
     33   ],
     34 }
     35