summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-12-01 06:54:58 -0500
committerMatt A. Tobin <email@mattatobin.com>2019-12-01 06:54:58 -0500
commit314e3b61bbf8593627ed59b420421164f333768d (patch)
treeb49054b05963c437a857812a0867cda584a3fc22 /python
parent983329ede5563e3955f45424bc624caf2f247a0e (diff)
downloadaura-central-314e3b61bbf8593627ed59b420421164f333768d.tar.gz
No Issue - Add checking in platform/ for clobber.py because it can only know hardcoded values in comm-style configurations
Diffstat (limited to 'python')
-rw-r--r--python/mozbuild/mozbuild/controller/clobber.py3
1 files changed, 3 insertions, 0 deletions
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):