-
Notifications
You must be signed in to change notification settings - Fork 254
Updates for Android NDK version 26 #822
Conversation
reidbaker
left a comment
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.
| 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.
| 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
dnfield
left a comment
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.