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

Side by Side 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 unified diff | Download patch
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//headless/headless.gni") 6 import("//headless/headless.gni")
7 import("//build/util/process_version.gni") 7 import("//build/util/process_version.gni")
8 import("//mojo/public/tools/bindings/mojom.gni") 8 import("//mojo/public/tools/bindings/mojom.gni")
9 import("//testing/test.gni") 9 import("//testing/test.gni")
10 import("//tools/grit/grit_rule.gni") 10 import("//tools/grit/grit_rule.gni")
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 "//components/crash/content/browser", 282 "//components/crash/content/browser",
283 "//components/security_state/content", 283 "//components/security_state/content",
284 "//components/security_state/core", 284 "//components/security_state/core",
285 "//content/public/app:both", 285 "//content/public/app:both",
286 "//content/public/browser", 286 "//content/public/browser",
287 "//content/public/common", 287 "//content/public/common",
288 "//content/public/common:service_names", 288 "//content/public/common:service_names",
289 "//net", 289 "//net",
290 "//services/service_manager/public/cpp", 290 "//services/service_manager/public/cpp",
291 "//third_party/mesa:osmesa", 291 "//third_party/mesa:osmesa",
292 "//ui/aura",
293 "//ui/base", 292 "//ui/base",
294 "//ui/compositor", 293 "//ui/compositor",
295 "//ui/display", 294 "//ui/display",
296 "//ui/events/devices", 295 "//ui/events/devices",
297 "//url", 296 "//url",
298 ] 297 ]
299 298
300 if (is_win) { 299 if (is_win) {
301 deps += [ 300 deps += [
302 "//build/win:default_exe_manifest", 301 "//build/win:default_exe_manifest",
303 "//content:sandbox_helper_win", 302 "//content:sandbox_helper_win",
304 "//sandbox", 303 "//sandbox",
305 ] 304 ]
306 } 305 }
307 306
307 if (!is_mac) {
308 deps += [ "//ui/aura" ]
309 } else {
310 sources += [ "lib/browser/headless_browser_impl_mac.mm" ]
311 }
312
308 if (headless_use_embedded_resources) { 313 if (headless_use_embedded_resources) {
309 deps += [ ":embed_resources" ] 314 deps += [ ":embed_resources" ]
310 sources += [ 315 sources += [
311 "$root_gen_dir/headless/embedded_resource_pak.cc", 316 "$root_gen_dir/headless/embedded_resource_pak.cc",
312 "$root_gen_dir/headless/embedded_resource_pak.h", 317 "$root_gen_dir/headless/embedded_resource_pak.h",
313 ] 318 ]
314 } else { 319 } else {
315 deps += [ ":pak" ] 320 deps += [ ":pak" ]
316 } 321 }
317 322
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 472
468 executable("headless_example") { 473 executable("headless_example") {
469 sources = [ 474 sources = [
470 "app/headless_example.cc", 475 "app/headless_example.cc",
471 ] 476 ]
472 477
473 deps = [ 478 deps = [
474 "//headless:headless_shell_lib", 479 "//headless:headless_shell_lib",
475 ] 480 ]
476 } 481 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698