iOS ENABLE_BITCODE

90 views
Skip to first unread message

Oliver Larkin

unread,
Jan 2, 2020, 9:52:23 AM1/2/20
to skia-discuss
Hi,

To link against libskia.a on iOS I have to set ENABLE_BITCODE = NO for my project. Could someone explain why that is? 

thanks

oli

Jim Van Verth

unread,
Jan 6, 2020, 11:29:17 AM1/6/20
to skia-discuss
My understanding is that bitcode should either be enabled for all your objects, or none of your objects. We don't explicitly enable it when we build libskia.a. If it's something you need you could use extra_cflags when setting up gn, I think something like  'extra_cflags = [ "-DENABLE_BITCODE=YES"]'.

--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/skia-discuss/5c66d80a-0f10-45c3-8464-dd49bf92ff0d%40googlegroups.com.


--

Jim Van Verth | Software Engineer | jvan...@google.com | 919-210-7664

Oliver Larkin

unread,
Jan 10, 2020, 12:07:23 PM1/10/20
to skia-d...@googlegroups.com
thanks. 

-fembed-bitcode

was the exact thing i needed

Yesenia Jenkins

unread,
Jan 10, 2020, 2:57:46 PM1/10/20
to skia-discuss
I


On Friday, January 10, 2020 at 12:07:23 PM UTC-5, Oliver Larkin wrote:
thanks. 

-fembed-bitcode

was the exact thing i needed
On 6 Jan 2020, at 16:29, 'Jim Van Verth' via skia-discuss <skia-d...@googlegroups.com> wrote:

My understanding is that bitcode should either be enabled for all your objects, or none of your objects. We don't explicitly enable it when we build libskia.a. If it's something you need you could use extra_cflags when setting up gn, I think something like  'extra_cflags = [ "-DENABLE_BITCODE=YES"]'.

On Thu, Jan 2, 2020 at 9:52 AM 'Oliver Larkin' via skia-discuss <skia-d...@googlegroups.com> wrote:
Hi,

To link against libskia.a on iOS I have to set ENABLE_BITCODE = NO for my project. Could someone explain why that is? 

thanks

oli

--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-d...@googlegroups.com.
To view this discussion on the web visit https://groups.guoogle.com/d/msgid/skia-discuss/5c66d80a-0f10-45c3-8464-dd49bf92ff0d%40googlegroups.com.


--

Jim Van Verth | Software Engineer | jvan...@google.com | 919-210-7664


--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-d...@googlegroups.com.
thanks. 

-fembed-bitcode

To unsubscribe from this group and stop receiving emails from it, send an email to skia-d...@googlegroups.com.


--

Jim Van Verth | Software Engineer | jvan...@google.com | 919-210-7664


--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-d...@googlegroups.com.

Yesenia Jenkins

unread,
Jan 10, 2020, 3:01:42 PM1/10/20
to skia-discuss


On Friday, January 10, 2020 at 12:07:23 PM UTC-5, Oliver Larkin wrote:
thanks. 

-fembed-bitcode

was the exact thing i needed
On 6 Jan 2020, at 16:29, 'Jim Van Verth' via skia-discuss <skia-d...@googlegroups.com> wrote:

My understanding is that bitcode should either be enabled for all your objects, or none of your objects. We don't explicitly enable it when we build libskia.a. If it's something you need you could use extra_cflags when setting up gn, I think something like  'extra_cflags = [ "-DENABLE_BITCODE=YES"]'.

On Thu, Jan 2, 2020 at 9:52 AM 'Oliver Larkin' via skia-discuss <skia-d...@googlegroups.com> wrote:
Hi,

To link against libskia.a on iOS I have to set ENABLE_BITCODE = NO for my project. Could someone explain why that is? 

thanks

oli

--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-d...@googlegroups.com.
To view this discussion on the web visit https://groups.guoogle.com/d/msgid/skia-discuss/5c66d80a-0f10-45c3-8464-dd49bf92ff0d%40googlegroups.com.


--

Jim Van Verth | Software Engineer | jvan...@google.com | 919-210-7664


--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-d...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages