Index: ios/web/public/test/BUILD.gn |
diff --git a/ios/web/public/test/BUILD.gn b/ios/web/public/test/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2fd869b4dd98b3b0c835f9f91e9536f23843fdf1 |
--- /dev/null |
+++ b/ios/web/public/test/BUILD.gn |
@@ -0,0 +1,55 @@ |
+# 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. |
+ |
+source_set("test_support") { |
+ testonly = true |
+ |
+ deps = [ |
+ "//base", |
+ "//base/test:test_support", |
+ "//ios/testing:ios_test_support", |
+ "//ios/third_party/gcdwebserver", |
+ "//ios/web:web", |
+ "//ios/web:web_arc", |
+ "//ios/web/public/test/fakes:test_support", |
+ "//ios/web/public/test/response_providers:test_support", |
+ "//ios/web/test:test_support", |
+ "//testing/gtest", |
+ "//ui/base", |
+ "//url", |
+ ] |
+ |
+ allow_circular_includes_from = [ |
+ "//ios/web/public/test/response_providers:test_support", |
Eugene But (OOO till 7-30)
2017/05/23 00:15:11
Is it possible to avoid circular dependencies by s
baxley
2017/05/23 21:03:38
These are pretty sticky. I can do the first one, b
|
+ "//ios/web/test:test_support", |
+ ] |
+ |
+ sources = [ |
+ "http_server.h", |
+ "http_server.mm", |
+ "http_server_util.h", |
+ "http_server_util.mm", |
+ "js_test_util.h", |
+ "js_test_util.mm", |
+ "native_controller_test_util.h", |
+ "native_controller_test_util.mm", |
+ "navigation_test_util.h", |
+ "navigation_test_util.mm", |
+ "scoped_testing_web_client.h", |
+ "scoped_testing_web_client.mm", |
+ "test_redirect_observer.h", |
+ "test_redirect_observer.mm", |
+ "test_web_thread.h", |
+ "test_web_thread_bundle.h", |
+ "url_test_util.h", |
+ "web_js_test.h", |
+ "web_test.h", |
+ "web_test.mm", |
+ "web_test_suite.h", |
+ "web_test_with_web_state.h", |
+ "web_test_with_web_state.mm", |
+ "web_view_interaction_test_util.h", |
+ "web_view_interaction_test_util.mm", |
+ ] |
+} |