OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |