Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Fixes BUILD.gn if is_fuchsia (legacy embedder) and is_debug #25858

Merged
merged 1 commit into from
May 7, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,18 @@ config("config") {
}
}

defines = []

# This define is transitional and will be removed after the embedder API
# transition is complete.
#
# TODO(bugs.fuchsia.dev/54041): Remove when no longer necessary.
if (is_fuchsia && flutter_enable_legacy_fuchsia_embedder) {
defines = [ "LEGACY_FUCHSIA_EMBEDDER" ]
defines += [ "LEGACY_FUCHSIA_EMBEDDER" ]
}

if (is_debug) {
defines = [ "FLUTTER_ENABLE_DIFF_CONTEXT" ]
defines += [ "FLUTTER_ENABLE_DIFF_CONTEXT" ]
}
}

Expand Down