Pass Infer configs to cross-cell buck targets

Reviewed By: jvillard

Differential Revision: D3522163

fbshipit-source-id: 9ab5472
master
Martino Luca 9 years ago committed by Facebook Github Bot 3
parent aa76d51e14
commit 120892d7dd

@ -112,12 +112,12 @@ class BuckAnalyzer:
) )
args = [ args = [
'--config', '--config',
'infer.infer_bin={bin}' '*//infer.infer_bin={bin}'
.format(bin=config.BIN_DIRECTORY), .format(bin=config.BIN_DIRECTORY),
'--config', '--config',
'infer.clang_compiler={clang}'.format(clang=clang_path), '*//infer.clang_compiler={clang}'.format(clang=clang_path),
'--config', '--config',
'infer.clang_plugin={plugin}'.format(plugin=plugin_path), '*//infer.clang_plugin={plugin}'.format(plugin=plugin_path),
] + self.args.Xbuck ] + self.args.Xbuck
if self.args.xcode_developer_dir is not None: if self.args.xcode_developer_dir is not None:
@ -126,7 +126,7 @@ class BuckAnalyzer:
devdir=self.args.xcode_developer_dir)) devdir=self.args.xcode_developer_dir))
if self.args.blacklist_regex: if self.args.blacklist_regex:
args.append('--config') args.append('--config')
args.append('infer.blacklist_regex={regex}'.format( args.append('*//infer.blacklist_regex={regex}'.format(
regex=self.args.blacklist_regex)) regex=self.args.blacklist_regex))
return args return args

Loading…
Cancel
Save