equivalent flag "optimize" from Android.bp in Android.mk

941 views
Skip to first unread message

Kbc K

unread,
Apr 28, 2020, 2:51:47 PM4/28/20
to Android Building
Hi Everyone,

Soong build system "Android.bp" has a useful flag called "optimize" which allow to disable compiler optimization.

I'm looking for something equivalent in Android.mk system.

BR, K

Dan Willemsen

unread,
Apr 28, 2020, 3:29:24 PM4/28/20
to Android Building
`LOCAL_PROGUARD_ENABLED := disabled` would be the equivalent of `optimize: { enabled: false }`

- Dan

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@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-buildi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/8d5ed84a-8753-44c9-999f-c55e7874b665%40googlegroups.com.

Kbc K

unread,
Apr 30, 2020, 12:43:20 PM4/30/20
to Android Building
Thank Dan, I will try it


On Tuesday, April 28, 2020 at 10:29:24 PM UTC+3, Dan Willemsen wrote:
`LOCAL_PROGUARD_ENABLED := disabled` would be the equivalent of `optimize: { enabled: false }`

- Dan

On Tue, Apr 28, 2020 at 11:51 AM Kbc K <vzl...@gmail.com> wrote:
Hi Everyone,

Soong build system "Android.bp" has a useful flag called "optimize" which allow to disable compiler optimization.

I'm looking for something equivalent in Android.mk system.

BR, K

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to

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-...@googlegroups.com.

Kbc K

unread,
May 5, 2020, 3:04:34 PM5/5/20
to Android Building
Just to conform the flag work as expected.
Thanks again.
Reply all
Reply to author
Forward
0 new messages