Project

General

Profile

Actions

Issue #1786

open
WW AD

Review the Chromium Webview build environment

Issue #1786: Review the Chromium Webview build environment

Added by Wolfgang Wiedmeyer over 9 years ago. Updated over 5 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
Category:
Freedom
Target version:
Start date:
04/09/2017
Due date:
% Done:

0%

Estimated time:
Resolution:
Device:
Grant:
Type of work:
Unknown

Description

In Android 6 (Marshmallow), the Webview is not built as part of an Android built. It is built in an Chromium build environment using the Chromium source code. The final apk file is committed to external/chromium-webview.

While this makes it possible to build the Webview based on the latest Chromium release including security fixes, the downside of this is that another huge and complex build environment has to be set up in order to build the Webview apk. The apk has to be copied and committed to the corresponding repo in the Replicant source tree. Then it gets automatically included in the build.

The build environment for the Chromium code needs to be thoroughly reviewed. All dependencies must be free software and the prebuilt binaries should be verifiable and the aim should be to build them from source, too. The build scripts download and set up a custom Android toolchain. Maybe this prebuilt toolchain can be replaced with the Replicant toolchain that is built from source.

I did an initial review. During the setup of the build environment, a license needs to be accepted that appears to be non-free. The license needs to be accepted because the build environment sets up the proprietary play services libraries. I verified that these non-free libraries are not used when building the Webview apk. The libraries were likely only included in the build environment setup because the same build environment is used for building Chrome which includes the libraries. I removed the scripts related to the play services in this commit. The commit can be used as reference when preparing a new Webview version for #1780.


Related issues 1 (1 open0 closed)

Related to Replicant - Issue #1780: Update the webview apkNewAndrés D03/15/2017

Actions

WW Updated by Wolfgang Wiedmeyer over 9 years ago Actions #1

  • Category changed from Base applications to Build system

KH Updated by Kurtis Hanna about 8 years ago Actions #2

  • Target version changed from Replicant 6.0 to Replicant 6.0 0005

AD Updated by Andrés D about 7 years ago Actions #3

  • Assignee set to Andrés D

DC Updated by Denis 'GNUtoo' Carikli almost 7 years ago Actions #4

  • Category changed from Build system to Freedom

KH Updated by Kurtis Hanna over 6 years ago Actions #5

  • Status changed from New to Feedback

It seems like this ticket can be closed because the issue seems to have been thoroughly reviewed over at #1780 and here: https://redmine.replicant.us/projects/replicant/wiki/Upstream#Embeddable-web-engine

I think there also was a talk given about the topic at 36c3, but I don't have the link handy.

If you agree, please feel free to close this topic.

_R Updated by _I3^ RELATIVISM over 5 years ago Actions #7

isnt this duplicated with weview issue?

_R Updated by _I3^ RELATIVISM over 5 years ago Actions #8

  • Type of work Unknown added
Actions

Also available in: PDF Atom