Commit 9a1af5ce authored by zhaoyangli's avatar zhaoyangli Committed by Commit Bot

[iOS] Make chrome_ios_eg2_test template accept invoker's bundle_deps.

This change is fixing an internal test suite which isn't running because
bundle image isn't found. It also enables other test suites add bundle
library they need in the future.

Bug: 1057694
Change-Id: I125ceaece80a852506b9ae9414bf9b3d084d5bf4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2081241
Commit-Queue: Zhaoyang Li <zhaoyangli@chromium.org>
Reviewed-by: default avatarSylvain Defresne <sdefresne@chromium.org>
Cr-Commit-Position: refs/heads/master@{#746522}
parent b426a8a8
...@@ -137,6 +137,7 @@ template("chrome_ios_eg2_test") { ...@@ -137,6 +137,7 @@ template("chrome_ios_eg2_test") {
ios_eg2_test(target_name) { ios_eg2_test(target_name) {
forward_variables_from(invoker, forward_variables_from(invoker,
[ [
"bundle_deps",
"deps", "deps",
"data_deps", "data_deps",
"executable_args", "executable_args",
...@@ -152,7 +153,10 @@ template("chrome_ios_eg2_test") { ...@@ -152,7 +153,10 @@ template("chrome_ios_eg2_test") {
} }
deps += [ "//ios/chrome/test/earl_grey:eg_test_support+eg2" ] deps += [ "//ios/chrome/test/earl_grey:eg_test_support+eg2" ]
bundle_deps = [ if (!defined(bundle_deps)) {
bundle_deps = []
}
bundle_deps += [
"//ios/chrome/app/resources", "//ios/chrome/app/resources",
"//ios/third_party/gtx:gtx+bundle", "//ios/third_party/gtx:gtx+bundle",
] ]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment