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

Side by Side Diff: content/shell/BUILD.gn

Issue 1413783003: Make chrome and other targets compile on Mac GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ChromeOS fixes Created 5 years, 2 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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/sanitizers/sanitizers.gni") 6 import("//build/config/sanitizers/sanitizers.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//build/config/win/manifest.gni") 8 import("//build/config/win/manifest.gni")
9 import("//tools/grit/repack.gni") 9 import("//tools/grit/repack.gni")
10 import("//tools/grit/grit_rule.gni") 10 import("//tools/grit/grit_rule.gni")
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 423
424 if (is_win) { 424 if (is_win) {
425 deps += [ "//sandbox" ] 425 deps += [ "//sandbox" ]
426 if (!is_asan) { 426 if (!is_asan) {
427 configs -= [ "//build/config/win:console" ] 427 configs -= [ "//build/config/win:console" ]
428 configs += [ "//build/config/win:windowed" ] 428 configs += [ "//build/config/win:windowed" ]
429 } 429 }
430 } 430 }
431 431
432 if (is_mac) { 432 if (is_mac) {
433 # TODO(GYP) lots of stuff from GYP file here. 433 # TODO(GYP) lots of stuff from GYP file here including helper_app and
434 # postbuilds.
435 output_name = content_shell_product_name
436 deps = [
437 ":framework",
438 ]
434 } 439 }
435 440
436 if (is_android) { 441 if (is_android) {
437 # Some tests rely on this tool. It might be nicer if these tests relied on 442 # Some tests rely on this tool. It might be nicer if these tests relied on
438 # image diff rather than having content shell depend on it. 443 # image diff rather than having content shell depend on it.
439 data_deps = [ 444 data_deps = [
440 "//tools/imagediff($host_toolchain)", 445 "//tools/imagediff($host_toolchain)",
441 ] 446 ]
442 } 447 }
443 } 448 }
(...skipping 16 matching lines...) Expand all
460 deps = [ 465 deps = [
461 "//base", 466 "//base",
462 "//build/config/sanitizers:deps", 467 "//build/config/sanitizers:deps",
463 "//components/crash/content/tools:crash_service", 468 "//components/crash/content/tools:crash_service",
464 ] 469 ]
465 470
466 configs -= [ "//build/config/win:console" ] 471 configs -= [ "//build/config/win:console" ]
467 configs += [ "//build/config/win:windowed" ] 472 configs += [ "//build/config/win:windowed" ]
468 } 473 }
469 } 474 }
475
476 if (is_mac) {
477 # TODO(GYP) this should be a bundle. Lots of other stuff in this target.
478 # GYP version: content/content_shell.gypi:content_shell_framework
479 shared_library("framework") {
480 testonly = true
481
482 # TODO(GYP) bug 546894: Fix GN and toolchains to handle spaces here.
483 #output_name = "$content_shell_product_name Framework"
484 output_name = "content_shell_framework" # Temporary one with no spaces.
485
486 sources = [
487 "shell_content_main.cc",
488 "shell_content_main.h",
489 ]
490
491 deps = [
492 ":content_shell_lib",
493 ]
494 }
495 }
OLDNEW
« BUILD.gn ('K') | « content/content_shell.gypi ('k') | extensions/shell/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698