Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8708)

Unified Diff: build/config/ios/rules.gni

Issue 1800083003: Add iossim as data_deps for iOS application bundles. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@iossim.gn
Patch Set: Use ${host_toolchain} instead of //build/toolchain/mac:clang_x64 Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/ios/rules.gni
diff --git a/build/config/ios/rules.gni b/build/config/ios/rules.gni
index d4898cda03fe00267c13bde18d84ac7bea0419c8..0cee9ecbc280fe3d8c7c121d7145f6b27a21ccee 100644
--- a/build/config/ios/rules.gni
+++ b/build/config/ios/rules.gni
@@ -147,6 +147,13 @@ template("app") {
":$_bundle_data_info_plist",
]
+ if (use_ios_simulator) {
+ if (!defined(data_deps)) {
+ data_deps = []
+ }
+ data_deps += [ "//testing/iossim(${host_toolchain})" ]
+ }
+
bundle_root_dir = "$root_out_dir/$_app_name.app"
bundle_resources_dir = bundle_root_dir
bundle_executable_dir = bundle_root_dir
@@ -158,6 +165,4 @@ template("app") {
# - find a way to make "ninja -C out/Default base_unittests.app" work as
# an alias to "ninja -C out/Default base_unittests" (for convenience
# and compatibility with gyp),
- # - implement //testing/iossim(//build/toolchain/mac:clang_x64) and then
- # add a depency to that target.
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698