Loading core/main.mk +19 −4 Original line number Diff line number Diff line Loading @@ -534,7 +534,12 @@ FULL_BUILD := true # Include all of the makefiles in the system # subdir_makefiles := $(SOONG_ANDROID_MK) $(file <$(OUT_DIR)/.module_paths/Android.mk.list) $(SOONG_OUT_DIR)/late-$(TARGET_PRODUCT).mk subdir_makefiles := $(SOONG_ANDROID_MK) # Android.mk files are only used on Linux builds, Mac only supports Android.bp ifeq ($(HOST_OS),linux) subdir_makefiles += $(file <$(OUT_DIR)/.module_paths/Android.mk.list) endif subdir_makefiles += $(SOONG_OUT_DIR)/late-$(TARGET_PRODUCT).mk subdir_makefiles_total := $(words int $(subdir_makefiles) post finish) .KATI_READONLY := subdir_makefiles_total Loading Loading @@ -1310,7 +1315,11 @@ $(if $(strip $(1)), \ ) endef ifdef FULL_BUILD ifeq ($(HOST_OS),darwin) # Target builds are not supported on Mac product_target_FILES := product_host_FILES := $(call host-installed-files,$(INTERNAL_PRODUCT)) else ifdef FULL_BUILD ifneq (true,$(ALLOW_MISSING_DEPENDENCIES)) # Check to ensure that all modules in PRODUCT_PACKAGES exist (opt in per product) ifeq (true,$(PRODUCT_ENFORCE_PACKAGES_EXIST)) Loading Loading @@ -1466,7 +1475,9 @@ endif # contains everything that's built during the current make, but it also further # extends ALL_DEFAULT_INSTALLED_MODULES. ALL_DEFAULT_INSTALLED_MODULES := $(modules_to_install) ifeq ($(HOST_OS),linux) include $(BUILD_SYSTEM)/Makefile endif modules_to_install := $(sort $(ALL_DEFAULT_INSTALLED_MODULES)) ALL_DEFAULT_INSTALLED_MODULES := Loading Loading @@ -1687,7 +1698,11 @@ ifeq ($(SOONG_COLLECT_JAVA_DEPS), true) endif .PHONY: apps_only ifneq ($(TARGET_BUILD_APPS),) ifeq ($(HOST_OS),darwin) # Mac only supports building host modules droid_targets: $(filter $(HOST_OUT_ROOT)/%,$(modules_to_install)) dist_files else ifneq ($(TARGET_BUILD_APPS),) # If this build is just for apps, only build apps and not the full system by default. unbundled_build_modules := Loading Loading
core/main.mk +19 −4 Original line number Diff line number Diff line Loading @@ -534,7 +534,12 @@ FULL_BUILD := true # Include all of the makefiles in the system # subdir_makefiles := $(SOONG_ANDROID_MK) $(file <$(OUT_DIR)/.module_paths/Android.mk.list) $(SOONG_OUT_DIR)/late-$(TARGET_PRODUCT).mk subdir_makefiles := $(SOONG_ANDROID_MK) # Android.mk files are only used on Linux builds, Mac only supports Android.bp ifeq ($(HOST_OS),linux) subdir_makefiles += $(file <$(OUT_DIR)/.module_paths/Android.mk.list) endif subdir_makefiles += $(SOONG_OUT_DIR)/late-$(TARGET_PRODUCT).mk subdir_makefiles_total := $(words int $(subdir_makefiles) post finish) .KATI_READONLY := subdir_makefiles_total Loading Loading @@ -1310,7 +1315,11 @@ $(if $(strip $(1)), \ ) endef ifdef FULL_BUILD ifeq ($(HOST_OS),darwin) # Target builds are not supported on Mac product_target_FILES := product_host_FILES := $(call host-installed-files,$(INTERNAL_PRODUCT)) else ifdef FULL_BUILD ifneq (true,$(ALLOW_MISSING_DEPENDENCIES)) # Check to ensure that all modules in PRODUCT_PACKAGES exist (opt in per product) ifeq (true,$(PRODUCT_ENFORCE_PACKAGES_EXIST)) Loading Loading @@ -1466,7 +1475,9 @@ endif # contains everything that's built during the current make, but it also further # extends ALL_DEFAULT_INSTALLED_MODULES. ALL_DEFAULT_INSTALLED_MODULES := $(modules_to_install) ifeq ($(HOST_OS),linux) include $(BUILD_SYSTEM)/Makefile endif modules_to_install := $(sort $(ALL_DEFAULT_INSTALLED_MODULES)) ALL_DEFAULT_INSTALLED_MODULES := Loading Loading @@ -1687,7 +1698,11 @@ ifeq ($(SOONG_COLLECT_JAVA_DEPS), true) endif .PHONY: apps_only ifneq ($(TARGET_BUILD_APPS),) ifeq ($(HOST_OS),darwin) # Mac only supports building host modules droid_targets: $(filter $(HOST_OUT_ROOT)/%,$(modules_to_install)) dist_files else ifneq ($(TARGET_BUILD_APPS),) # If this build is just for apps, only build apps and not the full system by default. unbundled_build_modules := Loading