mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Add flutter config to macOS targets (flutter/engine#7756)
In c3ad553 (#7642), //shell/platform/darwin:framework_shared was added without the root flutter config, causing a build breakage in Fuchsia, where flutter sits under //third_party/flutter as opposed to at the root. The flutter root config is required to set -I../../third_party as an include path.
This commit is contained in:
parent
cb31ce37fa
commit
8ff6f25fc1
@ -61,6 +61,8 @@ source_set("framework_shared") {
|
||||
set_sources_assignment_filter(sources_assignment_filter)
|
||||
|
||||
defines = [ "FLUTTER_FRAMEWORK" ]
|
||||
|
||||
public_configs = [ "$flutter_root:config" ]
|
||||
}
|
||||
|
||||
executable("flutter_channels_unittests") {
|
||||
@ -78,4 +80,6 @@ executable("flutter_channels_unittests") {
|
||||
"$flutter_root/testing",
|
||||
"//third_party/dart/runtime:libdart_jit",
|
||||
]
|
||||
|
||||
public_configs = [ "$flutter_root:config" ]
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user