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

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

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/web/shell/BUILD.gn ('k') | ios/web/shell/test/web_shell_navigation_egtest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/shell/test/BUILD.gn
diff --git a/ios/web/shell/test/BUILD.gn b/ios/web/shell/test/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..99c7cd39cf874945f3c5bd0dbfc898a22bb381d6
--- /dev/null
+++ b/ios/web/shell/test/BUILD.gn
@@ -0,0 +1,69 @@
+# 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("//ios/build/config.gni")
+import("//ios/third_party/earl_grey/ios_eg_test.gni")
+
+ios_eg_test("ios_web_shell_test") {
+ sources = [
+ "web_shell_navigation_egtest.mm",
+ ]
+
+ deps = [
+ "//base",
+ "//ios/web:test_support",
+ "//ios/web/shell",
+ "//ios/web/shell/test: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",
+ ]
+
+ bundle_deps = [ ":bundle" ]
+
+ configs += [ "//build/config/compiler:enable_arc" ]
+
+ assert_no_deps = ios_assert_no_deps
+}
+
+source_set("earl_grey_test_support") {
+ testonly = true
+
+ deps = [
+ "//base",
+ "//base/test:test_support",
+ "//ios/testing/earl_grey:earl_grey_support",
+ "//ios/third_party/earl_grey",
+ "//ios/web",
+ "//ios/web:earl_grey_test_support",
+ "//ios/web:test_support",
+ "//ios/web/shell",
+ "//url",
+ ]
+
+ sources = [
+ "app/navigation_test_util.h",
+ "app/navigation_test_util.mm",
+ "app/web_shell_test_util.h",
+ "app/web_shell_test_util.mm",
+ "app/web_view_interaction_test_util.h",
+ "app/web_view_interaction_test_util.mm",
+ "earl_grey/shell_base_test_case.h",
+ "earl_grey/shell_base_test_case.mm",
+ "earl_grey/shell_matchers.h",
+ "earl_grey/shell_matchers.mm",
+ ]
+}
+
+bundle_data("bundle") {
+ visibility = [ ":ios_web_shell_test_host" ]
+ sources = [
+ "http_server_files/basic_navigation_test.html",
+ ]
+ outputs = [
+ "{{bundle_resources_dir}}/{{source_root_relative_dir}}/" +
+ "{{source_file_part}}",
+ ]
+}
« no previous file with comments | « ios/web/shell/BUILD.gn ('k') | ios/web/shell/test/web_shell_navigation_egtest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698