Merge "add PRODUCT_SOURCE_ROOT_DIRS product variable" am: d67a345f9a
am: 2e5dfd6a0b
Original change: https://android-review.googlesource.com/c/platform/build/+/2448662 Change-Id: Ic468ff195cbfaa55e00ce2aa6cbdf74ffca077a3 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -762,6 +762,9 @@ ifneq (,$(_nonexistent_required))
|
|||||||
$(info $(word 1,$(r)) module $(word 2,$(r)) requires non-existent $(word 3,$(r)) module: $(word 4,$(r))) \
|
$(info $(word 1,$(r)) module $(word 2,$(r)) requires non-existent $(word 3,$(r)) module: $(word 4,$(r))) \
|
||||||
)
|
)
|
||||||
$(warning Set BUILD_BROKEN_MISSING_REQUIRED_MODULES := true to bypass this check if this is intentional)
|
$(warning Set BUILD_BROKEN_MISSING_REQUIRED_MODULES := true to bypass this check if this is intentional)
|
||||||
|
ifneq (,$(PRODUCT_SOURCE_ROOT_DIRS))
|
||||||
|
$(warning PRODUCT_SOURCE_ROOT_DIRS is non-empty. Some necessary modules may have been skipped by Soong)
|
||||||
|
endif
|
||||||
$(error Build failed)
|
$(error Build failed)
|
||||||
endif # _nonexistent_required != empty
|
endif # _nonexistent_required != empty
|
||||||
endif # check_missing_required_modules == true
|
endif # check_missing_required_modules == true
|
||||||
|
@@ -269,6 +269,9 @@ _product_single_value_vars += PRODUCT_RETROFIT_DYNAMIC_PARTITIONS
|
|||||||
# List of tags that will be used to gate blueprint modules from the build graph
|
# List of tags that will be used to gate blueprint modules from the build graph
|
||||||
_product_list_vars += PRODUCT_INCLUDE_TAGS
|
_product_list_vars += PRODUCT_INCLUDE_TAGS
|
||||||
|
|
||||||
|
# List of directories that will be used to gate blueprint modules from the build graph
|
||||||
|
_product_list_vars += PRODUCT_SOURCE_ROOT_DIRS
|
||||||
|
|
||||||
# When this is true, various build time as well as runtime debugfs restrictions are enabled.
|
# When this is true, various build time as well as runtime debugfs restrictions are enabled.
|
||||||
_product_single_value_vars += PRODUCT_SET_DEBUGFS_RESTRICTIONS
|
_product_single_value_vars += PRODUCT_SET_DEBUGFS_RESTRICTIONS
|
||||||
|
|
||||||
|
@@ -306,6 +306,7 @@ $(call add_json_bool, GenerateAidlNdkPlatformBackend, $(filter true,$(NEED_AIDL_
|
|||||||
$(call add_json_bool, IgnorePrefer32OnDevice, $(filter true,$(IGNORE_PREFER32_ON_DEVICE)))
|
$(call add_json_bool, IgnorePrefer32OnDevice, $(filter true,$(IGNORE_PREFER32_ON_DEVICE)))
|
||||||
|
|
||||||
$(call add_json_list, IncludeTags, $(PRODUCT_INCLUDE_TAGS))
|
$(call add_json_list, IncludeTags, $(PRODUCT_INCLUDE_TAGS))
|
||||||
|
$(call add_json_list, SourceRootDirs, $(PRODUCT_SOURCE_ROOT_DIRS))
|
||||||
|
|
||||||
$(call json_end)
|
$(call json_end)
|
||||||
|
|
||||||
|
@@ -50,12 +50,12 @@ ifneq ($(filter-out true false,$(my_modules_strict)),)
|
|||||||
$(error done)
|
$(error done)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
my_missing_files = $(shell $(call echo-warning,$(my_makefile),$(my_package_name): Unknown installed file for module '$(1)'))
|
my_missing_files = $(shell $(call echo-warning,$(my_makefile),$(my_package_name): Unknown installed file for module '$(1)'))$(shell$(call echo-warning,$(my_makefile),$(my_package_name): Some necessary modules may have been skipped by Soong. Check if PRODUCT_SOURCE_ROOT_DIRS is pruning necessary Android.bp files.))
|
||||||
ifeq ($(ALLOW_MISSING_DEPENDENCIES),true)
|
ifeq ($(ALLOW_MISSING_DEPENDENCIES),true)
|
||||||
# Ignore unknown installed files on partial builds
|
# Ignore unknown installed files on partial builds
|
||||||
my_missing_files =
|
my_missing_files =
|
||||||
else ifneq ($(my_modules_strict),false)
|
else ifneq ($(my_modules_strict),false)
|
||||||
my_missing_files = $(shell $(call echo-error,$(my_makefile),$(my_package_name): Unknown installed file for module '$(1)'))$(eval my_missing_error := true)
|
my_missing_files = $(shell $(call echo-error,$(my_makefile),$(my_package_name): Unknown installed file for module '$(1)'))$(shell$(call echo-warning,$(my_makefile),$(my_package_name): Some necessary modules may have been skipped by Soong. Check if PRODUCT_SOURCE_ROOT_DIRS is pruning necessary Android.bp files.))$(eval my_missing_error := true)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Iterate over modules' built files and installed files;
|
# Iterate over modules' built files and installed files;
|
||||||
|
Reference in New Issue
Block a user