Skip to content

Commit

Permalink
Fix warnings about multiple targets generating the Xcode harness
Browse files Browse the repository at this point in the history
  • Loading branch information
chinmaygarde committed Aug 28, 2015
1 parent 28ee74d commit beb9ee9
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions build/config/ios/rules.gni
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]
}

Expand All @@ -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"
Expand All @@ -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",
]
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit beb9ee9

Please sign in to comment.