disable svg features.

1,091 views
Skip to first unread message

flywin...@gmail.com

unread,
Nov 19, 2013, 4:29:57 AM11/19/13
to chromi...@chromium.org
how to disable svg features for android chromium when building?

Philip Rogers

unread,
Nov 19, 2013, 2:21:45 PM11/19/13
to flywin...@gmail.com, Chromium-dev
I removed the ENABLE_SVG macro in http://crbug.com/240006 so it is no longer possible to build chromium without SVG.

The compile-time benefit of disabling SVG was fairly small and, for better or worse, SVG content is on roughly 10% of pages today.

Philip


On Tue, Nov 19, 2013 at 1:29 AM, <flywin...@gmail.com> wrote:
how to disable svg features for android chromium when building?

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.

flywin...@gmail.com

unread,
Nov 26, 2013, 1:11:21 AM11/26/13
to chromi...@chromium.org, flywin...@gmail.com, p...@chromium.org
so can you provide the path for chromium android source?

在 2013年11月20日星期三UTC+8上午3时21分45秒,Philip Rogers写道:

Philip Rogers

unread,
Nov 26, 2013, 1:19:05 AM11/26/13
to flywin...@gmail.com, Chromium-dev
This was discussed recently, see this thread:

tl;dr: ChromiumTestShell is the closest available.

flywin...@gmail.com

unread,
Nov 26, 2013, 1:26:06 AM11/26/13
to chromi...@chromium.org, flywin...@gmail.com, p...@chromium.org
i am so sorry, i mean the patch for the changes about remove the enable_svg flag.

在 2013年11月26日星期二UTC+8下午2时19分05秒,Philip Rogers写道:

Philip Rogers

unread,
Nov 26, 2013, 1:49:43 AM11/26/13
to flywin...@gmail.com, Chromium-dev
The patches that removed enable_svg are listed in http://crbug.com/240006.

While not impossible, it will be quite difficult to compile without SVG these days.

I am curious why you would like to disable SVG. Roughly 10% of pages today contain SVG and a browser without SVG would be substandard. If you are interested in reducing compile time or binary size, there may be other features that are easier to remove with less impact on your users.

flywin...@gmail.com

unread,
Nov 26, 2013, 2:42:49 AM11/26/13
to chromi...@chromium.org, flywin...@gmail.com, p...@chromium.org

yeah, i want to reduce the binary size, can you tell me what other features can be remove. by the way, i 'm found the  patches are not match the current repository,some file are not found.

在 2013年11月26日星期二UTC+8下午2时49分43秒,Philip Rogers写道:
Reply all
Reply to author
Forward
0 new messages