Merge "Show mk2rbc warnings when they occur"
This commit is contained in:
commit
64bc620d8c
1 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue