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

Unified Diff: ios/web_view/shell/test/BUILD.gn

Issue 2736243003: Add ios_web_view_shell_egtests target and accessibility labels to shell. (Closed)
Patch Set: Created 3 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
Index: ios/web_view/shell/test/BUILD.gn
diff --git a/ios/web_view/shell/test/BUILD.gn b/ios/web_view/shell/test/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..532b879971a2d3613c15bed1530a178ecfd70b3c
--- /dev/null
+++ b/ios/web_view/shell/test/BUILD.gn
@@ -0,0 +1,54 @@
+# Copyright 2017 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("//ios/build/config.gni")
+import("//ios/third_party/earl_grey/ios_eg_test.gni")
+
+group("all_tests") {
+ testonly = true
+ deps = [
+ ":ios_web_view_shell_egtests",
+ ]
+}
+
+ios_eg_test("ios_web_view_shell_egtests") {
+ info_plist = "//ios/web_view/shell/Info.plist"
+ sources = [
+ "shell_egtest.mm",
+ ]
+
+ deps = [
+ ":earl_grey_test_support",
+
+ # All shared libraries must have the sanitizer deps to properly link in
+ # asan mode (this target will be empty in other cases).
+ "//build/config/sanitizers:deps",
+ ]
+
+ configs += [ "//build/config/compiler:enable_arc" ]
+
+ assert_no_deps = ios_assert_no_deps
+}
+
+source_set("earl_grey_test_support") {
+ testonly = true
+
+ deps = [
+ "//base",
+ "//ios/testing:ios_test_support",
+ "//ios/third_party/earl_grey",
+ "//ios/web_view/shell",
+ ]
+
+ public_deps = [
+ "//build/config/ios:xctest",
+ ]
+
+ sources = [
+ "earl_grey/shell_matchers.h",
+ "earl_grey/shell_matchers.mm",
+ ]
+
+ configs += [ "//build/config/compiler:enable_arc" ]
+}

Powered by Google App Engine
This is Rietveld 408576698