Skip to content

GN error when building macos engine #108485

@gaaclarke

Description

@gaaclarke

I'm on unable to build the mac engine at 56af76d122cc820f77a53211d0a08242147d94fe from a gn error.

error

$ flutter//tools/gn --runtime-mode debug --goma --mac --unoptimized
Using prebuilt Dart SDK binary. If you are editing Dart sources and wish to compile the Dart SDK, set `--no-prebuilt-dart-sdk`.
Generating GN files in: out/mac_debug_unopt
ERROR at //third_party/angle/BUILD.gn:499:7: Can't load input file.
      "$angle_vulkan_headers_dir:vulkan_headers",
      ^-----------------------------------------
Unable to load:
  /Users/aaclarke/dev/engine/src/third_party/angle/third_party/vulkan-deps/vulkan-headers/src/BUILD.gn
I also checked in the secondary tree for:
  /Users/aaclarke/dev/engine/src/build/secondary/third_party/angle/third_party/vulkan-deps/vulkan-headers/src/BUILD.gn

steps to try to remedy the problem

  1. gclient sync again
  2. gclient sync -D
  3. gclient sync -D --force
  4. rm -rf third_party; gclient sync; rm out/mac_debug_unopt

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions