Both variants are build since you made both available. You can set 
compile_multilib soong property to specify that native process should be only 
64 bit, and then when building it all dependencies would also only build same 
bitness.


BR, K.


________________________________
From: android-building@googlegroups.com <android-building@googlegroups.com> on 
behalf of Albert Lee <lijiahui...@gmail.com>
Sent: Sunday, December 6, 2020 10:57
To: Android Building <android-building@googlegroups.com>
Subject: [android-building] How to build only 64 bit or 32 bit so files

Hi, everyone,

I want to add some debug logs in some modules, for example `libcameraservice`.  
After modifying and compiling, I noticed that 32 and 64 bit libraryies are 
always built. While I only use 32 or 64 bit files (the camera server is a 32bit 
process now).

I want to know if there is a way to compile only 32 or 64 bit libraries to 
speed up the progress?  Since compiling that two not only takes a long time, 
but also takes up disk space.

I'm appreciated if you can give me some suggestions.

Thanks,
Albert

--
--
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgroups.google.com%2Fgroup%2Fandroid-building%3Fhl%3Den&data=04%7C01%7Ckrzysztof.wesolowski%40volvocars.com%7Cbe71fcc4158d4278ba8d08d89acc9ccd%7C81fa766ea34948678bf4ab35e250a08f%7C0%7C0%7C637429550878811951%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=%2B4B3Kc2XcI5G4SXBDxZELIF025LTrde495WZf%2FVNp1o%3D&reserved=0>

---
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
android-building+unsubscr...@googlegroups.com<mailto:android-building+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/ea3ba7fe-00c3-4d81-bd08-6996e0fb2967n%40googlegroups.com<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fandroid-building%2Fea3ba7fe-00c3-4d81-bd08-6996e0fb2967n%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=04%7C01%7Ckrzysztof.wesolowski%40volvocars.com%7Cbe71fcc4158d4278ba8d08d89acc9ccd%7C81fa766ea34948678bf4ab35e250a08f%7C0%7C0%7C637429550878811951%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=oC0jYlVQh0KtmTmoYLwBm7rMclxgnbA%2FiGmmygseIfw%3D&reserved=0>.

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/AM0P174MB0068D5290D77A0C132958CC191CE0%40AM0P174MB0068.EURP174.PROD.OUTLOOK.COM.

Reply via email to