Index: content/DEPS |
diff --git a/content/DEPS b/content/DEPS |
index 0362df1fd7aeed26767f30f43dc24b29265188cd..e615c72f295a829345287267703386343fd6c915 100644 |
--- a/content/DEPS |
+++ b/content/DEPS |
@@ -15,8 +15,6 @@ include_rules = [ |
"+content/shell", # for content_browsertests |
"+content/test", |
- "+google_apis", |
- |
"+grit/content_resources.h", |
"+grit/ui_resources.h", |
"+grit/webkit_chromium_resources.h", |
@@ -31,6 +29,18 @@ include_rules = [ |
"+sandbox", |
"+skia", |
+ # 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. |
+ "-google_apis", |
+ |
# Don't allow inclusion of these other libs we shouldn't be calling directly. |
"-v8", |
"-tools", |