Merge "Show mk2rbc warnings when they occur" am: 64bc620d8c

Original change: https://android-review.googlesource.com/c/platform/build/+/1839198

Change-Id: I42248bdf71f73686412cb2eb7dcf659ceb61c074
This commit is contained in:
Treehugger Robot 2021-09-30 00:45:11 +00:00 committed by Automerger Merge Worker
commit b4dcb50d1f

View file

@ -201,9 +201,9 @@ $(call import-products, $(current_product_makefile))
else
rbcscript=build/soong/scripts/rbc-run
rc := $(shell $(rbcscript) $(TARGET_PRODUCT)-$(TARGET_BUILD_VARIANT) >$(OUT_DIR)/rbctemp.mk 2>$(OUT_DIR)/rbctemp.stderr || echo $$?)
rbcerrors := $(file <(OUT_DIR)/rbctemp.stderr)
rbcerrors := $(file <$(OUT_DIR)/rbctemp.stderr)
ifneq (,$(rbcerrors))
$(info $(rbcerrors))
$(warning $(rbcerrors))
endif
ifneq (,$(rc))
$(error product configuration converter failed: $(rc))