Skip to content

impeller_enable_playground is invalid variable when compiling the engine #99670

Description

@linxuebin1990

Step 1: git pull the newest code of flutter engine (commid id : 56cddc7)
Step 2: do gclient sync and other op ...
Step 3: /flutter/tools/gn --android --runtime-mode=profile
show WARNING as fellow:
image

The figure shows, impeller_enable_playground is invalid when gn gen android.
We can see the code in flutter/BUILD.gn

  if (is_mac) {
      public_deps += [
        "//flutter/impeller:impeller_unittests",
        "//flutter/shell/platform/darwin:flutter_channels_unittests",
      ]
    }

Only if the compiled engine product is macos, it will depend on //flutter/impeller:impeller_unittests , which introduces the impeller_enable_playground.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listengineflutter/engine related. See also e: labels.platform-macosBuilding on or for macOS specificallywaiting for PR to land (fixed)A fix is in flight

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions