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

Commit 670ccbeb authored by Xin Li's avatar Xin Li
Browse files

Fix build with aosp-main-with-vendor-blobs.

Bug: 395988167
Change-Id: I813ee84da03edd903c8aaec48b33887caf639b43
parent 57734103
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -372,8 +372,8 @@ $(call soong_config_set_bool,GTVS,PRODUCT_USE_PREBUILT_GTVS,$(if $(findstring $(
$(call soong_config_set_bool,GTVS_GTV,PRODUCT_USE_PREBUILT_GTVS_GTV,$(if $(findstring $(PRODUCT_USE_PREBUILT_GTVS_GTV),true yes),true,false))

# Check modules to be built in "otatools-package".
ifneq ($(wildcard vendor/google/tools),)
  $(call soong_config_set_bool,otatools,use_vendor_google_tools,true)
ifneq ($(wildcard vendor/google/tools/build_mixed_kernels_ramdisk),)
  $(call soong_config_set_bool,otatools,use_build_mixed_kernels_ramdisk,true)
endif
ifneq ($(wildcard bootable/deprecated-ota/applypatch),)
  $(call soong_config_set_bool,otatools,use_bootable_deprecated_ota_applypatch,true)
+1 −1
Original line number Diff line number Diff line
@@ -174,7 +174,7 @@ cc_genrule {
        ":zip2zip",
        ":zipalign",
        ":zucchini",
    ] + select(soong_config_variable("otatools", "use_vendor_google_tools"), {
    ] + select(soong_config_variable("otatools", "use_build_mixed_kernels_ramdisk"), {
        true: [":build_mixed_kernels_ramdisk_host"],
        default: [],
    }) + select(soong_config_variable("otatools", "use_bootable_deprecated_ota_applypatch"), {