[ndkbuild] only make ndkbuild test build for x86

Summary:
ndkbuild builds for all supported targets by default, giving errors
for clangs that doesn't support MIPS arch (which isn't relevant for this test).

Reviewed By: da319

Differential Revision: D25533986

fbshipit-source-id: 25c6001ce
master
Martin Trojer 4 years ago committed by Facebook GitHub Bot
parent 1a04fc8f53
commit 4487513a2f

@ -15,10 +15,10 @@ include $(TESTS_DIR)/infer.make
$(OBJECTS): $(SOURCES)
cd $(PROJECT_ROOT) && \
$(NDKBUILD) -B NDK_LIBS_OUT=./libs NDK_OUT=./obj
$(NDKBUILD) -B APP_ABI=x86 NDK_LIBS_OUT=./libs NDK_OUT=./obj
infer-out/report.json: $(CLANG_DEPS) $(SOURCES)
$(QUIET)cd $(PROJECT_ROOT) && \
$(call silent_on_success,Testing ndk-build clang integration,\
$(INFER_BIN) --results-dir $(CURDIR)/infer-out -- \
$(NDKBUILD) -B NDK_LIBS_OUT=./libs NDK_OUT=./obj V=1)
$(NDKBUILD) -B APP_ABI=x86 NDK_LIBS_OUT=./libs NDK_OUT=./obj V=1)

Loading…
Cancel
Save