Blame SOURCES/emitter.patch

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