Bug 549585 - Contribute Chromium support to SWT
Binaries included in commit.
Initial chromium contribution. Follows the existing swt structure for
building and packaging.
Added SWT.CHROMIUM constant and modified BrowserFactory classes.
Added new source plugin org.eclipse.swt.browser.chromium with the java,
c jni and rust source code.
This contains buildChromium.xml with ant tasks to build rust code.
Minimal modifications to existing ant build scripts to support building
and packaging chromium.swt fragments.
Binaries repo contains 3 new fragments with OS specific build and
binaries.
New Chromium Test class added.
Browser examples can be run by passing
-Dorg.eclipse.swt.browser.DefaultType=chromium.
It requires built fragment .jar added to classpath.
CEF binaries (3.3071.1649.g98725e6) are required to run examples and and
tests and should be put in
~/.swt/lib/*/*/chromium-3071/.
Can be obtained from
http://dl.maketechnology.io/chromium-cef/rls/repository
Build instructions:
As usual with mvn and -Dnative property to build natives. Two flags
introduced in fragment poms: -DskipRust (to skip building rust)
-DskipJni (to skip building chromium jni)
Build will download CEF in order to build. Only requirement should be
rust installed (https://www.rust-lang.org/).
Change-Id: I0cd18c3601690c6540d550c398ac7bac6ffa24fa
Signed-off-by: Guillermo Zunino <guillez@gmail.com>
35 files changed