Blame SOURCES/emitter.patch

e43f4b
--- a/python/mozbuild/mozbuild/frontend/emitter.py
e43f4b
+++ b/python/mozbuild/mozbuild/frontend/emitter.py
e43f4b
@@ -1127,11 +1127,6 @@
e43f4b
                 raise SandboxValidationError('Path specified in LOCAL_INCLUDES '
e43f4b
                     'does not exist: %s (resolved to %s)' % (local_include,
e43f4b
                     full_path), context)
e43f4b
-            if (full_path == context.config.topsrcdir or
e43f4b
-                    full_path == context.config.topobjdir):
e43f4b
-                raise SandboxValidationError('Path specified in LOCAL_INCLUDES '
e43f4b
-                    'is not allowed: %s (resolved to %s)' % (local_include,
e43f4b
-                    full_path), context)
e43f4b
             include_obj = LocalInclude(context, local_include)
e43f4b
             local_includes.append(include_obj.path.full_path)
e43f4b
             yield include_obj
e43f4b