Translate BUILT_INSTALLED to LOCAL_BUILT_MODULE
Soong creates install rules and lists them in LOCAL_SOONG_INSTALL_PAIRS, where they get copied to ALL_MODULE.$(m).BUILT_INSTALLED. BUILT_INSTALLED is used by package-modules.mk to copy the built modules to alternate install locations for building zips like continuous_native_tests.zip. Translate Soong's built module location, which is listed in LOCAL_PREBUILT_MODULE_FILE, into $(LOCAL_BUILT_MODULE) when setting BUILT_INSTALLED so that package-modules.mk copies from $(LOCAL_BUILT_MODULE) instead of $(LOCAL_PREBUILT_MODULE_FILE). This ensures that the transitive dependencies added to $(LOCAL_BUILT_MODULE), for example the unstripped symbols files, are present when continuous_native_tests.zip is built. Bug: 206137439 Test: manual Change-Id: I1a45cd6d3c81d6435a10f4d29557e521753068a4
Loading
Please register or sign in to comment