-
Notifications
You must be signed in to change notification settings - Fork 894
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
[DO NOT MERGE]Migrate playlist kotlin module #26628
base: master
Are you sure you want to change the base?
Conversation
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.
strings
and patches
LGTM
android/java/org/chromium/chrome/browser/playlist/kotlin/extension/ViewExtension.kt
Outdated
Show resolved
Hide resolved
android/java/org/chromium/chrome/browser/playlist/kotlin/util/HLSParsingUtil.kt
Outdated
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.
++
Please create a follow up to cover with asserts all IO operations
a7760c7
to
9cbc40e
Compare
Chromium major version is behind target branch (131.0.6778.85 vs 132.0.6834.15). Please rebase. |
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.
++
9cbc40e
to
df6c148
Compare
android/java/org/chromium/chrome/browser/playlist/settings/BravePlaylistPreferences.java
Outdated
Show resolved
Hide resolved
7cab55b
to
5fcb32b
Compare
browser/playlist/android/BUILD.gn
Outdated
import("//chrome/common/features.gni") | ||
import("//tools/grit/grit_rule.gni") | ||
|
||
android_library("playlist_java") { |
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.
playlist_
is redundant, the convention is to use java
browser/playlist/android/BUILD.gn
Outdated
resources_package = "org.chromium.chrome.browser.playlist" | ||
} | ||
|
||
android_resources("playlist_resources") { |
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.
same as above re playlist_
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.
@bridiver i have updated above as per : https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/autofill/android/BUILD.gn;l=143
@@ -193,7 +194,8 @@ const l10nUtil = { | |||
braveSpecificGeneratedResourcesPath, | |||
braveResourcesComponentsStringsPath, | |||
braveExtensionMessagesPath, | |||
braveAndroidBraveStringsPath | |||
braveAndroidBraveStringsPath, |
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.
@goodov this seems error prone to have to manually add these, we should maybe just search for patterns like *_strings.grd
?
* You can obtain one at https://mozilla.org/MPL/2.0/. | ||
*/ | ||
|
||
package org.chromium.chrome.browser.playlist |
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.
it seems like these should be org.chromium.brave
, but should probably have a discussion in the android channel
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.
would be a follow-up if we decide to change
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.
Created a follow up issue here : brave/brave-browser#42964
Remove kotlin enums Resolve warnings with kotlin classes
Remove unused strings
Rework playlist Java and Kotlin sources using `android_library` Add missing resources into playlist Add missing deps
Add missing deps
Update playlist factory for android path
Update deps after moving kotlin files Remove unused import
Update allow kt files patch Update license header Update playlist resources
3c3ebed
to
362d4b0
Compare
Resolves brave/brave-browser#42359
Submitter Checklist:
QA/Yes
orQA/No
;release-notes/include
orrelease-notes/exclude
;OS/...
) to the associated issuenpm run test -- brave_browser_tests
,npm run test -- brave_unit_tests
wikinpm run presubmit
wiki,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Test Plan: