Index: tools/checkdeps/testdata/disallowed/foo_unittest.cc |
diff --git a/tools/checkdeps/testdata/disallowed/foo_unittest.cc b/tools/checkdeps/testdata/disallowed/foo_unittest.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..144c05eb368f7a6dd8795c58086f949c5c863c22 |
--- /dev/null |
+++ b/tools/checkdeps/testdata/disallowed/foo_unittest.cc |
@@ -0,0 +1,10 @@ |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// Not allowed for code under disallowed/ but temporarily allowed |
+// specifically for test code under allowed/. This regression tests a |
+// bug where we were taking shallow copies of rules when generating |
+// rules for subdirectories, so all rule objects were getting the same |
+// dictionary for specific rules. |
+#include "tools/checkdeps/testdata/disallowed/temp_allowed_for_tests.h" |