Index: components/web_view/test_runner/BUILD.gn |
diff --git a/components/web_view/test_runner/BUILD.gn b/components/web_view/test_runner/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..44b11bba4b1163ed0e32570f1fb3db215c60e155 |
--- /dev/null |
+++ b/components/web_view/test_runner/BUILD.gn |
@@ -0,0 +1,60 @@ |
+# Copyright 2015 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("//mojo/public/mojo_application.gni") |
+import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
+ |
+executable("test_runner") { |
+ output_name = "layout_test_runner" |
+ sources = [ |
+ "launcher.cc", |
+ "launcher.h", |
+ "main.cc", |
+ ] |
+ |
+ deps = [ |
+ "//base", |
+ "//build/config/sanitizers:deps", |
+ "//mojo/common", |
+ "//mojo/environment:chromium", |
+ "//mojo/runner:lib", |
+ "//url", |
+ ] |
+ |
+ data_deps = [ |
+ ":web_view_test_runner", |
+ "//components/html_viewer", |
+ "//tools/imagediff", |
+ ] |
+ |
+ if (is_linux) { |
+ data_deps += [ |
+ "//breakpad:dump_syms", |
+ "//breakpad:minidump_stackwalk", |
+ ] |
+ } |
+} |
+ |
+mojo_native_application("web_view_test_runner") { |
+ sources = [ |
+ "test_runner_application_delegate.cc", |
+ "test_runner_application_delegate.h", |
+ "test_runner_main.cc", |
+ ] |
+ |
+ deps = [ |
+ "//base", |
+ "//components/html_viewer/public/interfaces", |
+ "//components/view_manager/public/cpp", |
+ "//components/web_view/public/cpp", |
+ "//components/web_view/public/interfaces", |
+ "//components/web_view/test_runner/public/interfaces", |
+ "//mojo/application/public/cpp", |
+ "//mojo/common", |
+ "//mojo/converters/geometry", |
+ "//net", |
+ "//ui/gfx/geometry", |
+ "//url", |
+ ] |
+} |