Loading python/mozbuild/mozbuild/frontend/emitter.py +9 −5 Original line number Diff line number Diff line Loading @@ -1432,11 +1432,15 @@ class TreeMetadataEmitter(LoggingMixin): if mozpath.split(base)[0] == "res": has_resources = True for f in files: if var in ( if ( var in ( "FINAL_TARGET_PP_FILES", "OBJDIR_PP_FILES", "LOCALIZED_PP_FILES", ) and not isinstance(f, SourcePath): ) and not isinstance(f, SourcePath) ): raise SandboxValidationError( ("Only source directory paths allowed in " + "%s: %s") % (var, f), Loading Loading
python/mozbuild/mozbuild/frontend/emitter.py +9 −5 Original line number Diff line number Diff line Loading @@ -1432,11 +1432,15 @@ class TreeMetadataEmitter(LoggingMixin): if mozpath.split(base)[0] == "res": has_resources = True for f in files: if var in ( if ( var in ( "FINAL_TARGET_PP_FILES", "OBJDIR_PP_FILES", "LOCALIZED_PP_FILES", ) and not isinstance(f, SourcePath): ) and not isinstance(f, SourcePath) ): raise SandboxValidationError( ("Only source directory paths allowed in " + "%s: %s") % (var, f), Loading