Bill Gianopoulos 1 month ago
parent
commit
27ae92f6ee

+ 2 - 5
mozilla-central/patches/9999999-allow-sandbox-null-dll-blocklist-suite.patch.

@@ -1,4 +1,3 @@
-
 # HG changeset patch
 # HG changeset patch
 # User Bill Gianopoulos <wgianopoulos@gmail.com>
 # User Bill Gianopoulos <wgianopoulos@gmail.com>
 # Date 1725364198 0
 # Date 1725364198 0
@@ -7,7 +6,7 @@ Bug 9999999 - Allow sandbox null dll blocklist if suite.
 diff --git a/python/mozbuild/mozbuild/base.py b/python/mozbuild/mozbuild/base.py
 diff --git a/python/mozbuild/mozbuild/base.py b/python/mozbuild/mozbuild/base.py
 --- a/python/mozbuild/mozbuild/base.py
 --- a/python/mozbuild/mozbuild/base.py
 +++ b/python/mozbuild/mozbuild/base.py
 +++ b/python/mozbuild/mozbuild/base.py
-@@ -968,16 +968,25 @@ class MachCommandConditions(object):
+@@ -968,16 +968,23 @@ class MachCommandConditions(object):
      @staticmethod
      @staticmethod
      def is_jsshell(cls):
      def is_jsshell(cls):
          """Must have a jsshell build."""
          """Must have a jsshell build."""
@@ -19,9 +18,7 @@ diff --git a/python/mozbuild/mozbuild/base.py b/python/mozbuild/mozbuild/base.py
 +    def is_comm_suite(cls):
 +    def is_comm_suite(cls):
 +        """Must have a comm suite build"""
 +        """Must have a comm suite build"""
 +        if hasattr(cls, "substs"):
 +        if hasattr(cls, "substs"):
-+            build_app = cls.substs.get("MOZ_BUILD_APP")
-+            if build_app" == "comm/suite"):
-+               return True
++            return cls.substs.get("MOZ_BUILD_APP") == "comm/mail"
 +        return False
 +        return False
 +
 +
 +    @staticmethod
 +    @staticmethod