-
Notifications
You must be signed in to change notification settings - Fork 258
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
Updates for Android NDK version 26 #822
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.
RSLGTM.
build/config/android/config.gni
Outdated
if (current_cpu != "x64" && current_cpu != "arm64") { | ||
android_api_level = 19 | ||
} |
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 think this needs to stay and get changed to 21. The default above is 22.
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.
Good catch.
@@ -25,22 +16,6 @@ if (is_android) { | |||
android_sdk_version = default_android_sdk_version | |||
android_sdk_build_tools_version = default_android_sdk_build_tools_version | |||
|
|||
android_default_keystore_path = |
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.
nit: if you're removing these, maybe remove them from the declare_args block above too?
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.
Could you clarify? These deletions are the deletions from the declare_args
block.
bd4cc6e
to
eca7331
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.
LGTM
This PR adjusts the GN build for a newer Android NDK. It relies on flutter/buildroot#822.
This PR adjusts the buildroot for Android NDK version 26. This NDK version only supports clang, so it contains some cleanups of old non-clang pathways.
The companion flutter/engine PR is flutter/engine#48254.