diff --git a/build/config/ios/rules.gni b/build/config/ios/rules.gni index 2a17c74e599..a8699ee5e61 100644 --- a/build/config/ios/rules.gni +++ b/build/config/ios/rules.gni @@ -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"