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

Unified Diff: headless/BUILD.gn

Issue 2712093002: Enable building headless_shell in MAC. This is an initial implementation with a hidden window, rath… (Closed)
Patch Set: Fixed incorrect Zygote func Created 3 years, 10 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
Index: headless/BUILD.gn
diff --git a/headless/BUILD.gn b/headless/BUILD.gn
index fc234f7e058986ca678f70c45b740ca195e9e98d..c59572c574d61f8695605ec27083fcd0161a2757 100644
--- a/headless/BUILD.gn
+++ b/headless/BUILD.gn
@@ -289,7 +289,6 @@ static_library("headless_lib") {
"//net",
"//services/service_manager/public/cpp",
"//third_party/mesa:osmesa",
- "//ui/aura",
"//ui/base",
"//ui/compositor",
"//ui/display",
@@ -305,6 +304,12 @@ static_library("headless_lib") {
]
}
+ if (!is_mac) {
+ deps += [ "//ui/aura" ]
+ } else {
+ sources += [ "lib/browser/headless_browser_impl_mac.mm" ]
+ }
+
if (headless_use_embedded_resources) {
deps += [ ":embed_resources" ]
sources += [

Powered by Google App Engine
This is Rietveld 408576698