-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cobalt_apk
to build dev.cobalt.coat
#4304
Conversation
This is very ugly at the moment. But I'm uploading the draft right now to see if it can help unblock Colin and Bo-Rong. |
c0db810
to
1a93107
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have not tested it locally, submit it once you are good with it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just have a few comments on the gn.
The modifications to the files are of course hacks -- I wonder
whether we could have a way to track those later on (e.g. just a
//TODO(cobalt)
next to the would be enough).
6a4910d
to
254b87d
Compare
Can we use It seems that the changes already do that, but the PR description doesn't reflect it. |
content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java
Show resolved
Hide resolved
cobalt/android/apk/app/src/main/java/dev/cobalt/coat/CobaltActivity.java
Show resolved
Hide resolved
e974802
to
224f134
Compare
cobalt_shell_apk
to build dev.cobalt.coatcobalt_apk
to build dev.cobalt.coat
content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java
Outdated
Show resolved
Hide resolved
content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java
Show resolved
Hide resolved
content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a few comments - it could still be cleaned up quite a bit, but i'm okay with doing this as follow-up
This new target generate Cobalt.apk that has dev.cobalt.coat as its package name, and include most of Cobalt's java code. App starts from CobaltActivity now. CobaltActivity inherits from ContentShellActivity now instead of GameActivity. Remember to put treat_warnings_as_errors = false in gn args since Chromium treats java warnings as errors and we have many. There are many TODOs left in this CL and this is only to be served as a prototype to unblock SbPlayer and JS injection. b/374191454
This new target generate CobaltShell.apk that has
dev.cobalt.coat
as its package name, and include most of Cobalt's java code.App starts from CobaltActivity now. CobaltActivity inherits from ContentShellActivity now instead of GameActivity.
Remember to put treat_warnings_as_errors = false in gn args since Chromium treats java warnings as errors and we have many.
There are many TODOs left in this CL and this is only to be served as a prototype to unblock SbPlayer and JS injection.
b/374191454