Re: [android-building] Help request to disable the obfuscation by build system

2019-03-12 Thread Anu Jawahar
Hi Colin,

I understand that we can obfuscate a particular app by setting the macro 
LOCAL_PROGUARD_ENABLED, but if we had to obfuscate all the app. 
How can that be done globally from android codebase?

What can be the sideeffect of enabling proguard globally?

-- 
-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [android-building] Help request to disable the obfuscation by build system

2017-10-16 Thread Colin Cross
Proguard is a whole program optimizer.  Your library is not being
obfuscated individually, it is being obfuscated as part of the entire
mmserver package.  You can disable proguard completely on mmserver using
LOCAL_PROGUARD_ENABLED := disabled above include $(BUILD_PACKAGE), or you
can try to find the right proguard flags to use with LOCAL_PROGUARD_FLAGS,
again above the include $(BUILD_PACKAGE).

On Mon, Oct 16, 2017 at 2:37 AM,  wrote:

> Hi Guys,
>
>
> We are trying to build our application using Android.mk and which has a
> jar dependency.
> The jar file is pre-build and needs to be kept unoptimized by build system
> to make it working.
>
> The problem we are facing here is, the jar file is getting obfuscated.
>
> Could you please provide a solution to disable the obfuscation in case of
> pre-build jar files?
>
> We tried many trials with proguard.flags and also followed the approaches
> by referring this https://android.googlesource.com/platform/
> build/+/7311a34%5E!/.
>
> For your reference, I am attaching the Android.mk.
>
> Please help us..
>
> Thanks,
>
>
> -Sreekanth
>
> --
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
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.
For more options, visit https://groups.google.com/d/optout.


[android-building] Help request to disable the obfuscation by build system

2017-10-16 Thread sreekanth . pp
Hi Guys,


We are trying to build our application using Android.mk and which has a jar 
dependency.
The jar file is pre-build and needs to be kept unoptimized by build system 
to make it working.

The problem we are facing here is, the jar file is getting obfuscated.

Could you please provide a solution to disable the obfuscation in case of 
pre-build jar files? 

We tried many trials with proguard.flags and also followed the approaches 
by referring this 
https://android.googlesource.com/platform/build/+/7311a34%5E!/.

For your reference, I am attaching the Android.mk. 

Please help us..

Thanks,


-Sreekanth

-- 
-- 
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.
For more options, visit https://groups.google.com/d/optout.


Android.mk
Description: Binary data