|
Gets mandoline working on android
This consists of the following pieces:
. html_viewer now uses ResourceProvider to get resources.
. html_viewer no longer directly uses java.
. The java support for mojo_runner/shell has been mode pluggable:
. You specify the name of the .so to load by way of a meta-tag in
the manifest. This way mandoline can specify it's own.
. Android's main function calls to an InitContext() function that
mandoline plugs in.
. The apk can include resources to extract. These are listed in the
file 'assets_list.' The gn template rule
generate_mojo_shell_assets_list does this for you given a
directory.
. Changed around scripts to work with both mojo_shell/runner and
mandoline.
BUG= 481698
TEST=covered by tests
R=ben@chromim.org, jcivelli@chromium.org
Committed: https://crrev.com/c55c0a6cab1f3d767318ac8c6fecba8546897dd5
Cr-Commit-Position: refs/heads/master@{#329250}
Total comments: 6
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+350 lines, -180 lines) |
Patch |
 |
M |
components/html_viewer/BUILD.gn
|
View
|
1
2
3
4
5
|
3 chunks |
+31 lines, -63 lines |
0 comments
|
Download
|
 |
M |
components/html_viewer/DEPS
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
D |
components/html_viewer/android/android_hooks.cc
|
View
|
|
1 chunk |
+0 lines, -50 lines |
0 comments
|
Download
|
 |
D |
components/html_viewer/android/java/org/chromium/html_viewer/Main.java
|
View
|
|
1 chunk |
+0 lines, -25 lines |
0 comments
|
Download
|
 |
M |
components/html_viewer/html_viewer.cc
|
View
|
1
|
5 chunks |
+38 lines, -8 lines |
0 comments
|
Download
|
 |
M |
mandoline/app/android/BUILD.gn
|
View
|
|
2 chunks |
+62 lines, -5 lines |
0 comments
|
Download
|
 |
M |
mandoline/app/android/apk/AndroidManifest.xml
|
View
|
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
A |
mandoline/app/android/mandoline_context_init.cc
|
View
|
1
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mandoline/tools/android_run_mandoline.py
|
View
|
1
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
A |
mojo/generate_mojo_shell_assets_list.gni
|
View
|
|
1 chunk |
+22 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/runner/BUILD.gn
|
View
|
|
10 chunks |
+39 lines, -8 lines |
0 comments
|
Download
|
 |
M |
mojo/runner/android/apk/AndroidManifest.xml
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/runner/android/apk/src/org/chromium/mojo/shell/FileHelper.java
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/runner/android/apk/src/org/chromium/mojo/shell/ShellMain.java
|
View
|
1
2
3
4
5
|
3 chunks |
+36 lines, -5 lines |
0 comments
|
Download
|
 |
A |
mojo/runner/android/context_init.h
|
View
|
1
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
A |
mojo/runner/android/context_init.cc
|
View
|
1
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/runner/android/main.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
mojo/tools/generate_mojo_shell_assets_list.py
|
View
|
|
1 chunk |
+46 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/tools/mopy/android.py
|
View
|
|
5 chunks |
+13 lines, -11 lines |
0 comments
|
Download
|
Total messages: 13 (3 generated)
|