the CI server has large binaries too:
https://ci.android.com/builds/submitted/8096863/aosp_arm64-userdebug/latest

and so do i locally:
-rwxr-x--- 1 enh primarygroup 67654656 Jan 19 18:28
out/host/windows-x86/bin/adb.exe

but if i run strip on it:
-rwxr-x--- 1 enh primarygroup 5974528 Jan 19 18:31
out/host/windows-x86/bin/adb.exe

seems to match what you're seeing.

On Wed, Jan 19, 2022 at 6:25 PM Noah Andrews <[email protected]> wrote:
>
>  When I build ADB and Fastboot for Windows, I get binaries that are many 
> times larger than the binaries available for download from Google. 
> Specifically, ADB is 67.3 MiB (compared to just 5.66 MiB), and fastboot is 
> 13.1 MiB (compared to just 1.55 MiB).
>
> My build steps:
>
> repo init -u https://android.googlesource.com/platform/manifest -b 
> platform-tools-31.0.3
> repo sync -j10
> lunch sdk-user
> make host_cross_adb
> make host_cross_fastboot
>
> I've also tried running make sdk before make host_cross_adb and make 
> host_cross_fastboot, and originally I ran lunch sdk-eng like the instructions 
> specify, and nothing seems to help.
>
> Any assistance would be appreciated.
>
> --
> --
> You received this message because you are subscribed to the "Android 
> Building" mailing list.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> 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 [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/android-building/caac19ec-8c41-4a40-b944-c303e5f0b212n%40googlegroups.com.

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/CAJgzZop_DnK7xFX1zyw06yBwnZbOYzpfoh1KgzY01NOpyStXiQ%40mail.gmail.com.

Reply via email to