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

Side by Side Diff: headless/BUILD.gn

Issue 2816593006: Enable crashpad for Mac (Closed)
Patch Set: Reland Enable crashpad for Mac Created 3 years, 8 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
« no previous file with comments | « no previous file | headless/lib/headless_browser_browsertest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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("//printing/features/features.gni") 9 import("//printing/features/features.gni")
10 import("//testing/test.gni") 10 import("//testing/test.gni")
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 "//net", 316 "//net",
317 "//services/service_manager/public/cpp", 317 "//services/service_manager/public/cpp",
318 "//third_party/mesa:osmesa", 318 "//third_party/mesa:osmesa",
319 "//ui/base", 319 "//ui/base",
320 "//ui/compositor", 320 "//ui/compositor",
321 "//ui/display", 321 "//ui/display",
322 "//ui/events/devices", 322 "//ui/events/devices",
323 "//url", 323 "//url",
324 ] 324 ]
325 325
326 if (!is_mac) { 326 if (is_mac) {
327 deps += [ ":mac_helpers" ]
328 } else {
327 deps += [ "//ui/aura" ] 329 deps += [ "//ui/aura" ]
328 } 330 }
329 331
330 if (enable_basic_printing) { 332 if (enable_basic_printing) {
331 deps += [ 333 deps += [
332 "//components/printing/browser", 334 "//components/printing/browser",
333 "//components/printing/renderer", 335 "//components/printing/renderer",
334 ] 336 ]
335 } 337 }
336 338
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 repack("headless_browser_tests_pak") { 408 repack("headless_browser_tests_pak") {
407 sources = [ 409 sources = [
408 "$root_gen_dir/headless/headless_browsertest_resources.pak", 410 "$root_gen_dir/headless/headless_browsertest_resources.pak",
409 ] 411 ]
410 output = "$root_out_dir/headless_browser_tests.pak" 412 output = "$root_out_dir/headless_browser_tests.pak"
411 deps = [ 413 deps = [
412 ":headless_browsertest_resources_grit", 414 ":headless_browsertest_resources_grit",
413 ] 415 ]
414 } 416 }
415 417
418 if (is_mac) {
419 copy("mac_helpers") {
420 sources = [
421 "$root_out_dir/crashpad_handler",
422 ]
423
424 deps = [
425 "//third_party/crashpad/crashpad/handler:crashpad_handler",
426 ]
427
428 outputs = [
429 "$root_out_dir/Helpers/{{source_file_part}}",
430 ]
431 }
432 }
433
416 test("headless_browsertests") { 434 test("headless_browsertests") {
417 sources = [ 435 sources = [
418 "lib/embedder_mojo_browsertest.cc", 436 "lib/embedder_mojo_browsertest.cc",
419 "lib/headless_browser_browsertest.cc", 437 "lib/headless_browser_browsertest.cc",
420 "lib/headless_browser_context_browsertest.cc", 438 "lib/headless_browser_context_browsertest.cc",
421 "lib/headless_devtools_client_browsertest.cc", 439 "lib/headless_devtools_client_browsertest.cc",
422 "lib/headless_web_contents_browsertest.cc", 440 "lib/headless_web_contents_browsertest.cc",
423 "public/util/dom_tree_extractor_browsertest.cc", 441 "public/util/dom_tree_extractor_browsertest.cc",
424 "public/util/flat_dom_tree_extractor_browsertest.cc", 442 "public/util/flat_dom_tree_extractor_browsertest.cc",
425 "public/util/protocol_handler_request_id_browsertest.cc", 443 "public/util/protocol_handler_request_id_browsertest.cc",
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 523
506 executable("headless_example") { 524 executable("headless_example") {
507 sources = [ 525 sources = [
508 "app/headless_example.cc", 526 "app/headless_example.cc",
509 ] 527 ]
510 528
511 deps = [ 529 deps = [
512 "//headless:headless_shell_lib", 530 "//headless:headless_shell_lib",
513 ] 531 ]
514 } 532 }
OLDNEW
« no previous file with comments | « no previous file | headless/lib/headless_browser_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698