diff options
author | Matt A. Tobin <email@mattatobin.com> | 2019-12-01 06:54:58 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2019-12-01 06:54:58 -0500 |
commit | 314e3b61bbf8593627ed59b420421164f333768d (patch) | |
tree | b49054b05963c437a857812a0867cda584a3fc22 /python | |
parent | 983329ede5563e3955f45424bc624caf2f247a0e (diff) | |
download | aura-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.py | 3 |
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): |