mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fix warnings about multiple targets generating the Xcode harness
This commit is contained in:
parent
28ee74da95
commit
beb9ee9aa0
@ -55,7 +55,7 @@ template("xcode_harness_ios") {
|
||||
"//build/config/ios/XcodeHarness"
|
||||
]
|
||||
outputs = [
|
||||
"$root_build_dir/$xcode_project_gen_target_name",
|
||||
"$root_build_dir/$xcode_project_gen_target_name/Harness.xcodeproj",
|
||||
]
|
||||
}
|
||||
|
||||
@ -79,9 +79,7 @@ template("xcode_harness_ios") {
|
||||
rebase_path("$root_build_dir/$xcode_project_gen_target_name/Harness.app.dSYM", root_build_dir),
|
||||
]
|
||||
|
||||
deps = invoker.deps + [
|
||||
":$xcode_project_gen_target_name",
|
||||
]
|
||||
deps = invoker.deps
|
||||
}
|
||||
|
||||
bundle_copy_gen_target_name = app_name + "_bundle_copy"
|
||||
@ -93,13 +91,12 @@ template("xcode_harness_ios") {
|
||||
"$root_build_dir/$xcode_project_gen_target_name/Application",
|
||||
]
|
||||
|
||||
deps = invoker.deps + [
|
||||
":$xcode_project_gen_target_name"
|
||||
]
|
||||
deps = invoker.deps
|
||||
}
|
||||
|
||||
group(target_name) {
|
||||
deps = [
|
||||
":$xcode_project_gen_target_name",
|
||||
":$dsym_gen_target_name",
|
||||
":$bundle_copy_gen_target_name",
|
||||
]
|
||||
@ -222,6 +219,7 @@ template("ios_app") {
|
||||
}
|
||||
|
||||
# Generate the Xcode Harness for Profiling
|
||||
|
||||
xcode_harness_gen_target_name = app_name + "_harness"
|
||||
xcode_harness_ios(xcode_harness_gen_target_name) {
|
||||
app_bundle = "$root_build_dir/$app_name.app"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user