Commit 4032922c authored by sdefresne's avatar sdefresne Committed by Commit bot

Use ios_packed_resources_target to depend on packed resources.

Use ios_packed_resources_target as a dependency of //ios/chrome/app
target to select the correct packed resource target.

BUG=653086

Review-Url: https://codereview.chromium.org/2558913005
Cr-Commit-Position: refs/heads/master@{#437791}
parent b2cf8f80
......@@ -10,13 +10,6 @@ test("ios_chrome_unittests") {
# Ensure that all unit tests are run.
"//ios/chrome/test:run_all_unittests",
# Ensure that packed resources are available (it should be a dependency
# of //ios/chrome/app however, Chrome on iOS uses different resources,
# so the dependency cannot be added there).
# TODO(crbug.com/653086): find a way to fix those dependency as part of
# building Chromium for iOS, and then remove the dependency.
"//ios/chrome/app/resources:packed_resources",
# Add unit_tests target here.
"//ios/chrome/app:unit_tests",
"//ios/chrome/app/application_delegate:unit_tests",
......
......@@ -5,6 +5,7 @@
import("//build/config/ios/rules.gni")
import("//build/mac/tweak_info_plist.gni")
import("//ios/build/chrome_build.gni")
import("//ios/public/provider/chrome/browser/build_config.gni")
source_set("app") {
sources = [
......@@ -19,6 +20,7 @@ source_set("app") {
deps = [
":resources",
"//base",
ios_packed_resources_target,
]
libs = [ "Foundation.framework" ]
......
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