diff options
Diffstat (limited to 'tools/checkdeps/testdata/checkdeps_test/disallowed/test.h')
-rw-r--r-- | tools/checkdeps/testdata/checkdeps_test/disallowed/test.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/checkdeps/testdata/checkdeps_test/disallowed/test.h b/tools/checkdeps/testdata/checkdeps_test/disallowed/test.h new file mode 100644 index 0000000..5520a68 --- /dev/null +++ b/tools/checkdeps/testdata/checkdeps_test/disallowed/test.h @@ -0,0 +1,12 @@ +// 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. + +#include "allowed/good.h" +// Always allowed to include self. +#include "disallowed/good.h" +#include "disallowed/allowed/good.h" +#include "third_party/explicitly_disallowed/bad.h" +// Only allowed for code under allowed/. +#include "third_party/allowed_may_use/bad.h" +#include "third_party/no_rule/bad.h" |