diff options
author | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-13 12:52:51 +0000 |
---|---|---|
committer | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-13 12:52:51 +0000 |
commit | b17c116795d9347262a1aa9b7a90b94915be22ad (patch) | |
tree | 0af12bb16887113de732199ab4033300be581026 /chrome/test/DEPS | |
parent | 0cf77af7a54e7a817171c249a808b404b36ba4a4 (diff) | |
download | chromium_src-b17c116795d9347262a1aa9b7a90b94915be22ad.zip chromium_src-b17c116795d9347262a1aa9b7a90b94915be22ad.tar.gz chromium_src-b17c116795d9347262a1aa9b7a90b94915be22ad.tar.bz2 |
Add explicit content deps for chrome/test.
Remove a bunch of #includes that were no longer needed.
BUG=98716
Review URL: http://codereview.chromium.org/9663008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126382 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/DEPS')
-rw-r--r-- | chrome/test/DEPS | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/chrome/test/DEPS b/chrome/test/DEPS index 5b58843..cee3cd9 100644 --- a/chrome/test/DEPS +++ b/chrome/test/DEPS @@ -1,7 +1,29 @@ include_rules = [ - # The test directory can do whatever it wants in chrome and content. + # The test directory can do whatever it wants in chrome. "+chrome", - "+content", + + # Tests under chrome/ shouldn't need to access the internals of + # content/ and as such are allowed only content/public and + # content/test (which is the "public" directory for tests depending + # on content/). If you find yourself wanting to write such a test, + # or a test that depends primarily on content, think about whether + # the test belongs under content/, or should be split up into a test + # within content/ and a test within chrome/. + "-content", + "+content/public", + "+content/test", + + # TODO(joi): Need to remove all of these and use only content/public + # and content/test. http://crbug.com/98716 + # DO NOT ADD ANY MORE ITEMS TO THE LIST BELOW! + "+content/browser/net/url_request_mock_http_job.h", + "+content/browser/net/url_request_slow_http_job.h", + "+content/browser/trace_controller.h", + "+content/common/debug_flags.h", + "+content/common/injection_test_dll.h", + "+content/renderer/mock_content_renderer_client.h", + # DO NOT ADD ANY MORE ITEMS TO THE ABOVE LIST! + "+grit", # For generated headers "+sandbox/src", "+sandbox/tests", |