Bug 980174 - Remove some empty Makefile.in; r=mshal

--HG--
extra : rebase_source : eada340aed8daebbfc3bf7d4218bca980d654cef
This commit is contained in:
Gregory Szorc 2014-03-05 19:56:56 -08:00
parent b5d04164e0
commit f8f429ae92
3 changed files with 8 additions and 24 deletions

View File

View File

@ -1,20 +0,0 @@
# Copyright 2012 Mozilla Foundation and Mozilla contributors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
include $(topsrcdir)/config/rules.mk
# EXTRA_DSO_LDOPTS += \
# -L$(DEPTH)/media/omx-plugin/lib/gb/libutils \
# -lutils \
# $(NULL)

View File

@ -898,11 +898,15 @@ class Makefiles(MachCommandBase):
return True
for path in self._makefile_ins():
statements = [s for s in pymake.parser.parsefile(path)
if is_statement_relevant(s)]
relpath = os.path.relpath(path, self.topsrcdir)
try:
statements = [s for s in pymake.parser.parsefile(path)
if is_statement_relevant(s)]
if not statements:
print(os.path.relpath(path, self.topsrcdir))
if not statements:
print(relpath)
except pymake.parser.SyntaxError:
print('Warning: Could not parse %s' % relpath, file=sys.stderr)
def _makefile_ins(self):
for root, dirs, files in os.walk(self.topsrcdir):