Skip to content

Remove android x86 codepaths that are unused. #170142

@reidbaker

Description

@reidbaker

The tool has removed x86 support in support of dart removing x86 support as of #169884.

Audit android build code and remove codepaths for x86 as needed.

https://github.com/flutter/flutter/blob/master/packages/flutter_tools/gradle/src/main/kotlin/FlutterPlugin.kt#L105
https://github.com/flutter/flutter/blob/master/packages/flutter_tools/gradle/src/main/kotlin/FlutterPluginConstants.kt#L13

Edited:

More code locations:

Code pointers for future contributors.

gcc_toolchain("x86") {

#elif defined(FML_ARCH_CPU_X86)

android_toolchains_helper("x86") {

' sdkmanager "system-images;android-27;google_apis_playstore;x86"',

# gen_snapshot), the host_cpu is set to x86. However, the correct prebuilt

TargetPlatform.androidX86 => 'android_${mode}_x86',

This is just a warning.

const String androidX86DeprecationWarning =

ci configs


Impeller documenation

Metadata

Metadata

Assignees

Labels

Bot is counting down the days until it unassigns the issueP2Important issues not at the top of the work listplatform-androidAndroid applications specificallyt: gradle"flutter build" and "flutter run" on Androidteam-toolOwned by Flutter Tool teamtriaged-toolTriaged by Flutter Tool team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions