PSA: New Android APK: ChromePublic

1,916 views
Skip to first unread message

Newton Allen

unread,
May 21, 2015, 1:21:26 AM5/21/15
to Chromium-dev
We’re excited tonight to have landed the majority of the remaining Chrome for Android code into the Chromium repo. This is over 100k lines of code, including the UI layer. You can build the new code using two new targets: chrome_public_apk and chrome_public_test_apk.

Over the next few weeks we’ll be simplifying the code and removing abstractions that are no longer necessary. ChromeShell is now deprecated and we’ll be replacing it with these new targets. Finally, we’ll be bringing additional regression tests to the Chromium tree. They’re currently being staged on the FYI waterfall on the Android Tests (trial)(dbg) bot, and will be enabled on CQ/main waterfall once they’re running smoothly.

A big thanks to everyone who helped make this happen.

Sincerely, the late show crew,
Newton, Yaron, John, Armand, Aurimas, Bo, Jason, Tommy, and Indie Rock


Ben Goodger (Google)

unread,
May 21, 2015, 2:16:25 AM5/21/15
to ne...@chromium.org, Chromium-dev
This is fantastic news, thanks to the team!

-Ben

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

Alexey

unread,
May 21, 2015, 2:59:20 AM5/21/15
to chromi...@chromium.org, ne...@chromium.org
Yay! Congratulations!
This was a great job.

Alexey Solovey

unread,
May 21, 2015, 6:01:56 AM5/21/15
to chromi...@chromium.org
Where and when I can get new UI and new APK?

четверг, 21 мая 2015 г., 13:21:26 UTC+8 пользователь newt написал:

Anton Vayvod

unread,
May 21, 2015, 6:44:31 AM5/21/15
to Alexey Solovey, chromium-dev
Follow https://code.google.com/p/chromium/wiki/AndroidBuildInstructions and build the chrome_public_apk target.

--
--
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.

Alexey Solovey

unread,
May 21, 2015, 7:24:59 AM5/21/15
to chromi...@chromium.org, act...@gmail.com
I want to see apk file from public target. Where I can download for testing before? I want see GUI of "public". 

четверг, 21 мая 2015 г., 18:44:31 UTC+8 пользователь Anton Vayvod написал:

Rick Byers

unread,
May 21, 2015, 11:53:09 AM5/21/15
to ne...@chromium.org, Chromium-dev
I know this has been a lot of work without a lot of obvious direct benefit to Google.  Thank a ton for having such a determined commitment to openness!

Everyone who works on Chromium should read "The Master Switch", it's a fascinating history of power dynamics in the information industry.  One compelling argument made there is that it's the cost of entry that most determines the "openness" of an industry, and as a result the potential for innovation (through active competition).  Making it easier for others to compete with Chrome keeps us on our toes, is good for the web, and so good for Google and the world!

Thanks again for making me proud to work for an enlightened company focused on the long-term best interests of it's users!
   Rick

--

Thiago Farina

unread,
May 21, 2015, 12:16:37 PM5/21/15
to act...@gmail.com, chromi...@chromium.org


On Thursday, May 21, 2015, Alexey Solovey <act...@gmail.com> wrote:
I want to see apk file from public target. Where I can download for testing before? I want see GUI of "public". 

You already see it if you have an Android phone or tablet installed with Google Chrome no? Otherwise you have to build it youself, like Anton directed you already to the build instructions.

Hope that helps, regards. 
 
 


--
Thiago Farina

Chris Nardi

unread,
May 21, 2015, 3:48:25 PM5/21/15
to chromi...@chromium.org
Is there any plan to support building the APK on Windows eventually?

Victor Khimenko

unread,
May 21, 2015, 4:04:09 PM5/21/15
to hichr...@gmail.com, Chromium-dev
On Thu, May 21, 2015 at 10:48 PM, Chris Nardi <hichr...@gmail.com> wrote:
Is there any plan to support building the APK on Windows eventually?

Highly unlikely. Android is weird but still Linux and it's much easier to support cross-compilation when host and target have similar design.

Windows is OS with radically different design. Which means that Windows build will be very hard to create and, more importantly, support.

Which means that not only there are no plans to support Windows as host system, I'm pretty sure even someone else's patches with such support will face extremely stiff opposition.

--

Peter Kasting

unread,
May 21, 2015, 4:06:21 PM5/21/15
to ne...@chromium.org, Chromium-dev
Major props to the team for doing this.  This sort of unforking is a huge amount of mostly thankless work.  So: thanks.  I hope Chrome-for-Android development velocity increases as a result :)

PK

PhistucK

unread,
May 21, 2015, 4:57:47 PM5/21/15
to Peter Kasting, ne...@chromium.org, Chromium-dev
Thank you very much, all of you! :)


PhistucK

On Thu, May 21, 2015 at 11:05 PM, Peter Kasting <pkas...@chromium.org> wrote:
Major props to the team for doing this.  This sort of unforking is a huge amount of mostly thankless work.  So: thanks.  I hope Chrome-for-Android development velocity increases as a result :)

PK

--
--
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.

Laszlo Gombos

unread,
May 21, 2015, 5:34:41 PM5/21/15
to Chromium-dev
Much appreciated good news. Thanks !

Laszlo

On Thu, May 21, 2015 at 1:20 AM, Newton Allen <ne...@chromium.org> wrote:

--

Darin Fisher

unread,
May 21, 2015, 5:49:00 PM5/21/15
to Peter Kasting, ne...@chromium.org, Chromium-dev
+1

So happy to see this!! Congrats to the team :)

-Darin

On Thu, May 21, 2015 at 1:05 PM, Peter Kasting <pkas...@chromium.org> wrote:
Major props to the team for doing this.  This sort of unforking is a huge amount of mostly thankless work.  So: thanks.  I hope Chrome-for-Android development velocity increases as a result :)

PK

--

Christian Biesinger

unread,
May 21, 2015, 5:51:58 PM5/21/15
to Newton Allen, Chromium-dev
This is great!

Out of curiosity, which parts remain that are not open-sourced?

-christian

On Thu, May 21, 2015 at 1:20 AM, Newton Allen <ne...@chromium.org> wrote:

--

Mr.Ahn

unread,
May 21, 2015, 9:12:26 PM5/21/15
to chromi...@chromium.org
Awesome news~ Thanks~

2015년 5월 21일 목요일 오후 2시 21분 26초 UTC+9, newt 님의 말:

Sunny Sachanandani

unread,
May 21, 2015, 9:43:17 PM5/21/15
to byungw...@gmail.com, Chromium-dev
This is great! Are there plans to add helper scripts (adb_run_chrome_shell, etc.) for the new target?

--

Newton Allen

unread,
May 22, 2015, 5:37:21 PM5/22/15
to sun...@chromium.org, byungw...@gmail.com, Chromium-dev
On Thu, May 21, 2015 at 6:42 PM, Sunny Sachanandani <sun...@chromium.org> wrote:
This is great! Are there plans to add helper scripts (adb_run_chrome_shell, etc.) for the new target?

ChromePublic will be replacing ChromeShell in the near future at which point we can just edit all the ChromeShell scripts to use ChromePublic instead.

Srikumar B

unread,
May 26, 2015, 6:00:37 PM5/26/15
to chromi...@chromium.org, ne...@chromium.org
I am also looking for the answer to Christian's question. On the other way,  What features are not available in "ChromePublic for Android" compared to "Chrome for android"?

Newton Allen

unread,
May 27, 2015, 6:18:00 PM5/27/15
to Srikumar B, Chromium-dev
We're not keeping specific features private but rather the use of some code which uses proprietary Google APIs.

For example, clicking "Help & feedback" from the menu will open a Google-specific feedback activity when using Chrome, and will open a support webpage when using Chromium (see ChromiumApplication.createHelpAndFeedback()). Where possible we've provided default implementations that make sense for Chromium.

Take a look at ChromiumApplication.java and ChromeMobileApplication.java (which will soon be merged) to see other places where an embedder of Chromium can provide different behavior than a default Chromium build.

Haixia Shi

unread,
May 28, 2015, 11:11:06 PM5/28/15
to ne...@chromium.org, Srikumar B, Chromium-dev
Hi,

Is there going to be a replacement script for adb_chrome_shell_command_line as well?

I noticed that on TOT clank the chrome_shell_apk seems to already have some problems with a test page that used to work before the upstreaming. Wonder if this is expected (deprecation of ChromeShell)?

Thanks,
Haixia

Aurimas Liutikas

unread,
May 29, 2015, 11:28:27 AM5/29/15
to hs...@chromium.org, ne...@chromium.org, Chromium-dev, Srikumar B

> Is there going to be a replacement script for adb_chrome_shell_command_line as well?

Yes

> Wonder if this is expected (deprecation of ChromeShell)?

How does it break?

Newton Allen

unread,
May 29, 2015, 11:51:26 AM5/29/15
to Haixia Shi, Srikumar B, Chromium-dev
Is there going to be a replacement script for adb_chrome_shell_command_line as well?

Yes, indeed. I've just uploaded a CL to add scripts for ChromePublic: https://codereview.chromium.org/1159203002/

Sri

unread,
May 29, 2015, 12:36:43 PM5/29/15
to Newton Allen, Haixia Shi, Chromium-dev
Is there a CL in progress for telemetry support also?
--
-Sri

Newton Allen

unread,
May 29, 2015, 1:13:15 PM5/29/15
to Sri, Haixia Shi, Chromium-dev
On Fri, May 29, 2015 at 12:35 PM, Sri <sriku...@gmail.com> wrote:
Is there a CL in progress for telemetry support also?

Haixia Shi

unread,
May 29, 2015, 2:01:49 PM5/29/15
to Aurimas Liutikas, ne...@chromium.org, Chromium-dev, Srikumar B
Never mind, it appears to be an unrelated regression. I just synchronized my tree again this morning and it no longer crashes.

Haixia Shi

unread,
May 29, 2015, 4:36:10 PM5/29/15
to Newton Allen, Srikumar B, Chromium-dev
Newton,

How does the new adb_chrome_public_command_line script work?

I just tried it out and got an error:

hshi@haixia-z620:~/clank/src$ build/android/adb_chrome_public_command_line --no-sandbox
+ adb shell 'echo '\''chrome --no-sandbox'\'' | su -c dd of=/data/local/chrome-command-line'
su: invalid uid/gid '-c'
+ adb shell su -c chmod 0664 /data/local/chrome-command-line
su: invalid uid/gid '-c'

Haixia Shi

unread,
May 29, 2015, 4:37:33 PM5/29/15
to Newton Allen, Srikumar B, Chromium-dev
Note: I think the problem is that the version of "su" on adb shell does not support the "-c" argument.

Sri

unread,
Jun 2, 2015, 3:08:04 PM6/2/15
to Newton Allen, Chromium-dev
Newton,
Right now, I dont see any difference in HelpAndFeedback UI for ChromePublic and Chrome V42. Is that expected to be updated soon?
--
-Sri

Aurimas Liutikas

unread,
Jun 2, 2015, 3:12:53 PM6/2/15
to sriku...@gmail.com, Newton Allen, Chromium-dev

What differences exactly are you trying to see? We launch a new tab with help URL for all public builds of Chrome. Private Chrome builds launch a Google Play Services based feedback tool.

Sri

unread,
Jun 2, 2015, 3:32:54 PM6/2/15
to Aurimas Liutikas, Newton Allen, Chromium-dev

Okay thanks, I think "Chrome for Android" also loads "New tab with help URL" when the device does not have GMS.

To be precise, I am trying to understand what is the difference between "Chrome for Android" and "Chrome Public for Android" w.r.t to the statement "Chrome for Android is now almost entirely open-source,"

--
-Sri
Reply all
Reply to author
Forward
0 new messages