mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
[gn] Explicitly include common.gni in build files that use vars from it (flutter/engine#2973)
runtime/BUILD.gn and ..core/BUILD.gn use flutter_runtime_mode which is defined in common.gni. If the build comes through common/BUILD.gn this is imported (implicity) but builds that depend on specific files, like the Fuchsia build, won't have this imported. This imports the gni from the build files that use it instead of relying on it already being there.
This commit is contained in:
parent
52f70a61ff
commit
1ef5bf3a08
@ -2,6 +2,8 @@
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
import("//flutter/common/config.gni")
|
||||
|
||||
vmservice_sources_gypi =
|
||||
exec_script("//build/gypi_to_gn.py",
|
||||
[ rebase_path("//dart/runtime/bin/vmservice/vmservice_sources.gypi") ],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user