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

Unified Diff: ios/third_party/earl_grey/ios_eg_test.gni

Issue 2173493002: Convert ios_web_shell_test to GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@eg-tests-deps
Patch Set: Sync //ios/web/shell/test:earl_grey_test_support with gyp. Created 4 years, 5 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 | « ios/third_party/earl_grey/BUILD.gn ('k') | ios/web/ios_web_shell_tests.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/third_party/earl_grey/ios_eg_test.gni
diff --git a/ios/third_party/earl_grey/ios_eg_test.gni b/ios/third_party/earl_grey/ios_eg_test.gni
new file mode 100644
index 0000000000000000000000000000000000000000..39d21029af888eeadc26bd6a07486553b9686b38
--- /dev/null
+++ b/ios/third_party/earl_grey/ios_eg_test.gni
@@ -0,0 +1,30 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//build/config/ios/rules.gni")
+
+# EarlGrey tests are just XCTests that also depends on EarlGrey.
+template("ios_eg_test") {
+ ios_xctest_test(target_name) {
+ forward_variables_from(invoker, "*")
+ if (!defined(bundle_deps)) {
+ bundle_deps = []
+ }
+ bundle_deps += [
+ "//ios/third_party/earl_grey:earl_grey+bundle",
+ "//ios/third_party/ochamcrest:ochamcrest+bundle",
+ ]
+ if (!defined(deps)) {
+ deps = []
+ }
+ deps += [
+ "//ios/third_party/earl_grey:earl_grey+link",
+ "//ios/third_party/ochamcrest:ochamcrest+link",
+ ]
+ }
+}
+
+set_defaults("ios_eg_test") {
+ configs = default_executable_configs
+}
« no previous file with comments | « ios/third_party/earl_grey/BUILD.gn ('k') | ios/web/ios_web_shell_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698