Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(591)

Issue 38993002: Build mojo_shell on Android (Closed)

Created:
7 years, 1 month ago by abarth-chromium
Modified:
7 years, 1 month ago
CC:
chromium-reviews, Aaron Boodman, ben+mojo_chromium.org, viettrungluu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Build mojo_shell on Android This CL contains a basic skeleton for building mojo_shell on Android. I've introduced a mojo_shell_apk target that builds an APK that prints a simple message and loads libmojo_shell.so. Currently libmojo_shell doesn't do anything. A future CL will do write up something interested on the C++ side. R=bulach@chromium.org, darin@chromium.org, joth@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=230795

Patch Set 1 #

Patch Set 2 : Fix desktop build #

Total comments: 6

Patch Set 3 : Address Darin's comments #

Total comments: 14

Patch Set 4 : Address reviewer comments #

Patch Set 5 : Attempt to appease rietveld #

Patch Set 6 : again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+165 lines, -17 lines) Patch
build/all_android.gyp View 3 1 chunk +1 line, -0 lines 0 comments Download
mojo/mojo.gyp View 1 2 3 4 chunks +56 lines, -3 lines 0 comments Download
mojo/shell/android/library_loader.cc View 1 2 3 1 chunk +14 lines, -0 lines 0 comments Download
A mojo/shell/android/shell_apk/AndroidManifest.xml View 1 2 3 1 chunk +28 lines, -0 lines 0 comments Download
A + mojo/shell/android/shell_apk/res/layout/mojo_shell_activity.xml View 1 2 3 2 chunks +5 lines, -5 lines 0 comments Download
A + mojo/shell/android/shell_apk/res/values/strings.xml View 1 chunk +3 lines, -3 lines 0 comments Download
A mojo/shell/android/shell_apk/src/org/chromium/mojo_shell_apk/LibraryLoader.java View 1 2 1 chunk +20 lines, -0 lines 0 comments Download
A mojo/shell/android/shell_apk/src/org/chromium/mojo_shell_apk/MojoShellActivity.java View 1 2 3 1 chunk +34 lines, -0 lines 0 comments Download
mojo/shell/android/shell_apk/src/org/chromium/mojo_shell_apk/MojoShellApplication.java View 1 2 3 1 chunk +4 lines, -6 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
abarth-chromium
Thoughts on who should review this CL?
7 years, 1 month ago (2013-10-24 01:25:53 UTC) #1
darin (slow to review)
LGTM https://codereview.chromium.org/38993002/diff/20001/mojo/mojo.gyp File mojo/mojo.gyp (right): https://codereview.chromium.org/38993002/diff/20001/mojo/mojo.gyp#newcode200 mojo/mojo.gyp:200: 'target_name': 'sample_app', nit: indentation https://codereview.chromium.org/38993002/diff/20001/mojo/shell/android/shell_apk/AndroidManifest.xml File mojo/shell/android/shell_apk/AndroidManifest.xml (right): ...
7 years, 1 month ago (2013-10-24 03:52:46 UTC) #2
darin (slow to review)
On 2013/10/24 03:52:46, darin wrote: > LGTM ^^^ I meant that un-authoritatively. Feel free to ...
7 years, 1 month ago (2013-10-24 03:54:13 UTC) #3
abarth-chromium
https://codereview.chromium.org/38993002/diff/20001/mojo/shell/android/shell_apk/AndroidManifest.xml File mojo/shell/android/shell_apk/AndroidManifest.xml (right): https://codereview.chromium.org/38993002/diff/20001/mojo/shell/android/shell_apk/AndroidManifest.xml#newcode27 mojo/shell/android/shell_apk/AndroidManifest.xml:27: <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/> On 2013/10/24 03:52:47, darin wrote: > I ...
7 years, 1 month ago (2013-10-24 04:02:15 UTC) #4
abarth-chromium
+joth Would you be willing to take a look at this CL? Thanks!
7 years, 1 month ago (2013-10-24 04:02:57 UTC) #5
joth
lgtm with minor a comment for the androidy bits. +bulach who's had most experience in ...
7 years, 1 month ago (2013-10-24 04:37:57 UTC) #6
bulach
lgtm with joth's comments and some more info here.. most of my suggestions can potentially ...
7 years, 1 month ago (2013-10-24 12:58:03 UTC) #7
abarth-chromium
Thanks for taking a look! https://codereview.chromium.org/38993002/diff/150001/mojo/shell/android/shell_apk/AndroidManifest.xml File mojo/shell/android/shell_apk/AndroidManifest.xml (right): https://codereview.chromium.org/38993002/diff/150001/mojo/shell/android/shell_apk/AndroidManifest.xml#newcode35 mojo/shell/android/shell_apk/AndroidManifest.xml:35: <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> On 2013/10/24 ...
7 years, 1 month ago (2013-10-24 13:43:05 UTC) #8
bulach
still lgtm https://codereview.chromium.org/38993002/diff/150001/mojo/shell/android/shell_apk/src/org/chromium/mojo_shell_apk/MojoShellActivity.java File mojo/shell/android/shell_apk/src/org/chromium/mojo_shell_apk/MojoShellActivity.java (right): https://codereview.chromium.org/38993002/diff/150001/mojo/shell/android/shell_apk/src/org/chromium/mojo_shell_apk/MojoShellActivity.java#newcode28 mojo/shell/android/shell_apk/src/org/chromium/mojo_shell_apk/MojoShellActivity.java:28: LibraryLoader.ensureInitialized(); On 2013/10/24 13:43:05, abarth wrote: > ...
7 years, 1 month ago (2013-10-24 16:27:57 UTC) #9
abarth-chromium
On 2013/10/24 16:27:57, bulach wrote: > ops, sorry I wasn't clear.. :) > it's perfectly ...
7 years, 1 month ago (2013-10-24 16:32:18 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abarth@chromium.org/38993002/360001
7 years, 1 month ago (2013-10-24 16:39:47 UTC) #11
bulach
On 2013/10/24 16:32:18, abarth wrote: > On 2013/10/24 16:27:57, bulach wrote: > > ops, sorry ...
7 years, 1 month ago (2013-10-24 17:21:00 UTC) #12
abarth-chromium
7 years, 1 month ago (2013-10-24 20:29:41 UTC) #13
Message was sent while issue was closed.
Committed patchset #6 manually as r230795 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698