未验证 提交 4908c4d3 编写于 作者: J Jenn Magder 提交者: GitHub

Verify Flutter clang module, add hook for verifying consumer warnings (#21203)

上级 d7b26308
......@@ -305,17 +305,26 @@ copy("copy_license") {
outputs = [ "$root_out_dir/LICENSE" ]
}
shared_library("copy_and_verify_framework_headers") {
shared_library("copy_and_verify_framework_module") {
framework_search_path = rebase_path("$root_out_dir")
visibility = [ ":*" ]
include_dirs = [ "$_flutter_framework_headers_copy_dir" ]
cflags_objc = [
"-F$framework_search_path",
"-fmodules",
"-Wnon-modular-include-in-framework-module",
]
sources = [ "framework/Source/FlutterUmbrellaImport.m" ]
deps = [ ":copy_framework_headers" ]
deps = [
":copy_framework_headers",
":copy_framework_info_plist",
":copy_framework_module_map",
]
}
group("flutter_framework") {
deps = [
":copy_and_verify_framework_headers",
":copy_and_verify_framework_module",
":copy_dylib",
":copy_framework_icu",
":copy_framework_info_plist",
......
......@@ -4,6 +4,6 @@
// The only point of this file is to ensure that the Flutter framework umbrella header can be
// cleanly imported from an Objective-C translation unit. The target that uses this file copies the
// headers to a path that simulats how users would actually consume the framework outside of the
// headers to a path that simulates how users would actually import the framework outside of the
// engine source root.
#import "Flutter.h"
#import <Flutter/Flutter.h>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册