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

Unified Diff: headless/BUILD.gn

Issue 2470233003: headless: Librarify Headless Shell (Closed)
Patch Set: Created 4 years, 1 month 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/app/headless_shell.cc » ('j') | no next file with comments »
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 41c692964f93a549909393aa748022a310a9bb81..4f23389f1f94d2bcae828a3867fe5cedd6ae60e5 100644
--- a/headless/BUILD.gn
+++ b/headless/BUILD.gn
@@ -346,14 +346,25 @@ test("headless_browsertests") {
]
}
-executable("headless_shell") {
+static_library("headless_shell_lib") {
sources = [
"app/headless_shell.cc",
"app/headless_shell_switches.cc",
"app/headless_shell_switches.h",
+ "public/headless_shell.h",
]
deps = [
"//headless:headless_lib",
]
}
+
+executable("headless_shell") {
+ sources = [
+ "app/headless_shell_main.cc",
+ ]
+
+ deps = [
+ "//headless:headless_shell_lib",
+ ]
+}
« no previous file with comments | « no previous file | headless/app/headless_shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698