Index: headless/BUILD.gn |
diff --git a/headless/BUILD.gn b/headless/BUILD.gn |
index 8ebf07e9a9b460aaf61ac6328c03b25e7e971d63..96f0b914c7e7f8a5c8ca4f1c26556cc30efa2fdc 100644 |
--- a/headless/BUILD.gn |
+++ b/headless/BUILD.gn |
@@ -2,6 +2,7 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+import("//mojo/public/tools/bindings/mojom.gni") |
import("//testing/test.gni") |
import("//tools/grit/grit_rule.gni") |
import("//tools/grit/repack.gni") |
@@ -316,8 +317,15 @@ action("client_api_generator_tests") { |
] |
} |
+mojom("embedder_mojo_for_testing") { |
+ sources = [ |
+ "lib/embedder_test.mojom", |
+ ] |
+} |
+ |
test("headless_browsertests") { |
sources = [ |
+ "lib/embedder_mojo_browsertest.cc", |
"lib/headless_browser_browsertest.cc", |
"lib/headless_devtools_client_browsertest.cc", |
"lib/headless_web_contents_browsertest.cc", |
@@ -329,6 +337,7 @@ test("headless_browsertests") { |
defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
deps = [ |
+ ":embedder_mojo_for_testing", |
"//base", |
"//content/test:browsertest_base", |
"//content/test:test_support", |