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

Commit 741ef422 authored by Alyssa Ketpreechasawat's avatar Alyssa Ketpreechasawat
Browse files

Add nfc and uwb build flag to soong.

service-ranging and framework-ranging were not included in B prebuilt classpath. Setting bootclasspath/nfc_apex_bootclasspath_fragment and bootclasspath/release_ranging_stack here for mainline_modules_sdks target to get build flag value correctly.

Bug: 389788374
Test: build mainline_modules_sdks
Change-Id: I5e7c3a0a077e3fa262c5b4f2275be463d5ba687a
parent 1c480146
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -193,6 +193,14 @@ else
$(call add_soong_config_var_value,ANDROID,include_nonpublic_framework_api,true)
endif

# Add nfc build flag to soong
ifneq ($(RELEASE_PACKAGE_NFC_STACK),NfcNci)
  $(call soong_config_set,bootclasspath,nfc_apex_bootclasspath_fragment,true)
endif

# Add uwb build flag to soong
$(call soong_config_set,bootclasspath,release_ranging_stack,$(RELEASE_RANGING_STACK))

# Add crashrecovery build flag to soong
$(call soong_config_set,ANDROID,release_crashrecovery_module,$(RELEASE_CRASHRECOVERY_MODULE))
# Add crashrecovery file move flags to soong, for both platform and module