Skip to content

engine gn scripts fail to build unit tests when building for an Arm CPU #115322

@flar

Description

@flar

Currently, when you build on an M1 Mac you have to manually specify a gn argument to build for an arm64 CPU. Because of the way that the unit tests are enabled, this will turn off the unit test builds by default unless you manually specify the --enable-unittests command line argument to gn. This problem likely is due to the following line of code:

https://github.com/flutter/engine/blob/d366183c03c9e12b8e0845ed2f35c6c091a29627/testing/testing.gni#L15

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listc: contributor-productivityTeam-specific productivity, code health, technical debt.engineflutter/engine related. See also e: labels.platform-host-armBuilding on an ARM-based platformplatform-macBuilding on or for macOS specificallyteam-engineOwned by Engine teamtriaged-engineTriaged by Engine team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions