add clang deps to a test

Summary: So that it get rebuilt. Test is clang_compilation_db_relpath

Reviewed By: mbouaziz

Differential Revision: D5364561

fbshipit-source-id: 8cae984
master
Jules Villard 8 years ago committed by Facebook Github Bot
parent 89ef9356d0
commit 8b9a1f2582

@ -28,7 +28,7 @@ compile_commands.json: compile_commands.json.in
$(QUIET)sed -e 's#%pwd%#$(CURDIR)#g' $< > $@ || $(REMOVE) $@ $(QUIET)sed -e 's#%pwd%#$(CURDIR)#g' $< > $@ || $(REMOVE) $@
infer-out/report.json: compile_commands.json $(SOURCES) Makefile \ infer-out/report.json: compile_commands.json $(SOURCES) Makefile \
../codetoanalyze/path\ with\ spaces/hel\ lo.c ../codetoanalyze/path\ with\ spaces/hel\ lo.c $(CLANG_DEPS)
$(QUIET)$(call silent_on_success,Clang compilation database with relative paths integration,\ $(QUIET)$(call silent_on_success,Clang compilation database with relative paths integration,\
$(INFER_BIN) -a $(ANALYZER) $(INFER_OPTIONS) --project-root $(TESTS_DIR) \ $(INFER_BIN) -a $(ANALYZER) $(INFER_OPTIONS) --project-root $(TESTS_DIR) \
--compilation-database $<) --compilation-database $<)

Loading…
Cancel
Save