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

Unified Diff: headless/BUILD.gn

Issue 2049363003: Adds support for headless chrome embedder mojo services (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added a comment Created 4 years, 6 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 | « no previous file | headless/DEPS » ('j') | headless/lib/browser/headless_web_contents_impl.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
« no previous file with comments | « no previous file | headless/DEPS » ('j') | headless/lib/browser/headless_web_contents_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698