From: Tim Rowley Date: Tue, 27 Jun 2017 15:47:28 +0000 (-0500) Subject: scons: allow .inl file extension X-Git-Tag: android-x86-8.1-r1~12019 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=8b66d18a3b4f6d6a4f0ea9d71459dac68e5e0295;p=android-x86%2Fexternal-mesa.git scons: allow .inl file extension Intended for header files which are not meant to be included directly. Reviewed-by: Bruce Cherniak --- diff --git a/scons/custom.py b/scons/custom.py index 544b15de1a4..955247ccf20 100644 --- a/scons/custom.py +++ b/scons/custom.py @@ -281,7 +281,7 @@ def parse_source_list(env, filename, names=None): # cause duplicate actions. f = f[len(cur_srcdir + '/'):] # do not include any headers - if f.endswith(tuple(['.h','.hpp'])): + if f.endswith(tuple(['.h','.hpp','.inl'])): continue srcs.append(f)