Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6b1a0e1d authored by Spandan Das's avatar Spandan Das
Browse files

Drop RRO autogeneration for soong apps

The autogenerated apks will be built and installed using Soong.

Bug: 374371755
Test: m nothing
Change-Id: I70ff7c5751ef2a686d11b970f4c87966b67e7713
parent 27e9f567
Loading
Loading
Loading
Loading
+0 −24
Original line number Diff line number Diff line
@@ -224,30 +224,6 @@ my_common := COMMON
include $(BUILD_SYSTEM)/link_type.mk
endif # !LOCAL_IS_HOST_MODULE

ifeq (,$(filter tests,$(LOCAL_MODULE_TAGS)))
  ifdef LOCAL_SOONG_DEVICE_RRO_DIRS
    $(call append_enforce_rro_sources, \
        $(my_register_name), \
        false, \
        $(LOCAL_FULL_MANIFEST_FILE), \
        $(if $(LOCAL_EXPORT_PACKAGE_RESOURCES),true,false), \
        $(LOCAL_SOONG_DEVICE_RRO_DIRS), \
        vendor \
    )
  endif

  ifdef LOCAL_SOONG_PRODUCT_RRO_DIRS
    $(call append_enforce_rro_sources, \
        $(my_register_name), \
        false, \
        $(LOCAL_FULL_MANIFEST_FILE), \
        $(if $(LOCAL_EXPORT_PACKAGE_RESOURCES),true,false), \
        $(LOCAL_SOONG_PRODUCT_RRO_DIRS), \
        product \
    )
  endif
endif

ifdef LOCAL_PREBUILT_COVERAGE_ARCHIVE
  my_coverage_dir := $(TARGET_OUT_COVERAGE)/$(patsubst $(PRODUCT_OUT)/%,%,$(my_module_path))
  my_coverage_copy_pairs := $(foreach f,$(LOCAL_PREBUILT_COVERAGE_ARCHIVE),$(f):$(my_coverage_dir)/$(notdir  $(f)))