waf: ardupilotwaf: don't use common_features() unnecessarily

That function is already used in ap_program().
This commit is contained in:
Gustavo Jose de Sousa 2016-03-02 18:16:14 -03:00 committed by Lucas De Marchi
parent 8664c0344d
commit 9c5593ef09
1 changed files with 2 additions and 2 deletions

View File

@ -165,7 +165,7 @@ def ap_find_tests(bld, use=[]):
if not bld.env.HAS_GTEST:
return
features = common_features(bld)
features = []
if bld.cmd == 'check':
features.append('test')
@ -197,7 +197,7 @@ def ap_find_benchmarks(bld, use=[]):
for f in bld.path.ant_glob(incl='*.cpp'):
ap_program(
bld,
features=common_features(bld) + ['gbenchmark'],
features=['gbenchmark'],
includes=includes,
source=[f],
use=use,