blob: 04a5d6077d5f3b93bde24d62efe6fc2141728572 [file] [log] [blame]
# Do NOT add chrome or components to the list below. We shouldn't be
# including files from src/chrome or src/components in src/content.
include_rules = [
# The subdirectories in content/ will manually allow their own include
# directories in content/ so we disallow all of them.
"+content/shell", # for content_browsertests
# content isn't tied to prefs so that other embedders are able to pick
# different ways of storing their preferences. Also, this is to avoid prefs
# being used as a parallel API to the Content API.
# If you want to use any of these files, move them to src/base first.
# In general, content/ should not rely on google_apis, since URLs
# and access tokens should usually be provided by the
# embedder.
# There are a couple of specific parts of content that are excepted
# from this rule, see content/browser/speech/DEPS and
# content/browser/geolocation/DEPS. Both of these are cases of
# implementations that are strongly tied to Google servers, i.e. we
# don't expect alternate implementations to be provided by the
# embedder.
# Don't allow inclusion of these other libs we shouldn't be calling directly.
# Allow inclusion of third-party code:
# Aura is analogous to Win32 or a Gtk, so it is allowed.
# Content knows about grd files, but the specifics of how to get a resource
# given its id is left to the embedder.
# This file isn't related to grd, so it's fine.
# Content shouldn't depend on views. While we technically don't need this
# line, since the top level DEPS doesn't allow it, we add it to make this
# explicit.
# For generated JNI includes.