From c8d03b9fecb8124047d7fa179d34011c35ab4a39 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Sun, 1 Dec 2019 06:54:58 -0500 Subject: No Issue - Add checking in platform/ for clobber.py because it can only know hardcoded values in comm-style configurations --- python/mozbuild/mozbuild/controller/clobber.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'python/mozbuild') diff --git a/python/mozbuild/mozbuild/controller/clobber.py b/python/mozbuild/mozbuild/controller/clobber.py index d3cdfd596..ba83e2428 100644 --- a/python/mozbuild/mozbuild/controller/clobber.py +++ b/python/mozbuild/mozbuild/controller/clobber.py @@ -58,6 +58,9 @@ class Clobberer(object): if not os.path.isfile(self.src_clobber): self.src_clobber = os.path.join(topsrcdir, 'mozilla', 'CLOBBER') + if not os.path.isfile(self.src_clobber): + self.src_clobber = os.path.join(topsrcdir, 'platform', 'CLOBBER') + assert os.path.isfile(self.src_clobber) def clobber_needed(self): -- cgit v1.2.3