Merge "Show mk2rbc warnings when they occur" am: 64bc620d8c
am: b4dcb50d1f
am: 63aa5e048e
Original change: https://android-review.googlesource.com/c/platform/build/+/1839198 Change-Id: I5e4bba9356b68ffe3c056cee1be6c7cf240e556a
This commit is contained in:
@@ -201,9 +201,9 @@ $(call import-products, $(current_product_makefile))
|
|||||||
else
|
else
|
||||||
rbcscript=build/soong/scripts/rbc-run
|
rbcscript=build/soong/scripts/rbc-run
|
||||||
rc := $(shell $(rbcscript) $(TARGET_PRODUCT)-$(TARGET_BUILD_VARIANT) >$(OUT_DIR)/rbctemp.mk 2>$(OUT_DIR)/rbctemp.stderr || echo $$?)
|
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))
|
ifneq (,$(rbcerrors))
|
||||||
$(info $(rbcerrors))
|
$(warning $(rbcerrors))
|
||||||
endif
|
endif
|
||||||
ifneq (,$(rc))
|
ifneq (,$(rc))
|
||||||
$(error product configuration converter failed: $(rc))
|
$(error product configuration converter failed: $(rc))
|
||||||
|
Reference in New Issue
Block a user