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

Side by Side Diff: skia/BUILD.gn

Issue 1518073002: More build config cleanup. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: ERROR, not FATAL Created 5 years 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 | « build/secondary/tools/grit/grit_rule.gni ('k') | skia/ext/bitmap_platform_device.h » ('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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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/ui.gni") 6 import("//build/config/ui.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 if (current_cpu == "arm" || current_cpu == "arm64") { 8 if (current_cpu == "arm" || current_cpu == "arm64") {
9 import("//build/config/arm.gni") 9 import("//build/config/arm.gni")
10 } 10 }
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 if (is_win) { 472 if (is_win) {
473 sources += [ 473 sources += [
474 "ext/bitmap_platform_device_win.cc", 474 "ext/bitmap_platform_device_win.cc",
475 "ext/bitmap_platform_device_win.h", 475 "ext/bitmap_platform_device_win.h",
476 ] 476 ]
477 } else if (is_mac || is_ios) { 477 } else if (is_mac || is_ios) {
478 sources += [ 478 sources += [
479 "ext/bitmap_platform_device_mac.cc", 479 "ext/bitmap_platform_device_mac.cc",
480 "ext/bitmap_platform_device_mac.h", 480 "ext/bitmap_platform_device_mac.h",
481 ] 481 ]
482 } else if (use_cairo) {
483 sources += [
484 "ext/bitmap_platform_device_cairo.cc",
485 "ext/bitmap_platform_device_cairo.h",
486 ]
487 } else { 482 } else {
488 sources += [ 483 sources += [
489 "ext/bitmap_platform_device_skia.cc", 484 "ext/bitmap_platform_device_skia.cc",
490 "ext/bitmap_platform_device_skia.h", 485 "ext/bitmap_platform_device_skia.h",
491 ] 486 ]
492 } 487 }
493 488
494 if (is_clang) { 489 if (is_clang) {
495 # Skia won't compile with some of the more strict clang warnings. 490 # Skia won't compile with some of the more strict clang warnings.
496 # e.g. it does: 491 # e.g. it does:
(...skipping 13 matching lines...) Expand all
510 "//base", 505 "//base",
511 "//base/third_party/dynamic_annotations", 506 "//base/third_party/dynamic_annotations",
512 "//third_party/zlib", 507 "//third_party/zlib",
513 ] 508 ]
514 509
515 if (is_linux) { 510 if (is_linux) {
516 configs += [ 511 configs += [
517 "//build/config/linux:fontconfig", 512 "//build/config/linux:fontconfig",
518 "//build/config/linux:freetype2", 513 "//build/config/linux:freetype2",
519 ] 514 ]
520 if (use_pango) {
521 configs += [ "//build/config/linux:pangocairo" ]
522 }
523 deps += [ "//third_party/icu:icuuc" ] 515 deps += [ "//third_party/icu:icuuc" ]
524 } 516 }
525 517
526 if (is_android) { 518 if (is_android) {
527 set_sources_assignment_filter([]) 519 set_sources_assignment_filter([])
528 sources += [ "ext/platform_device_linux.cc" ] 520 sources += [ "ext/platform_device_linux.cc" ]
529 set_sources_assignment_filter(sources_assignment_filter) 521 set_sources_assignment_filter(sources_assignment_filter)
530 deps += [ 522 deps += [
531 "//third_party/expat", 523 "//third_party/expat",
532 "//third_party/freetype-android:freetype", 524 "//third_party/freetype-android:freetype",
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
663 sources = [ 655 sources = [
664 "tools/filter_fuzz_stub/filter_fuzz_stub.cc", 656 "tools/filter_fuzz_stub/filter_fuzz_stub.cc",
665 ] 657 ]
666 658
667 deps = [ 659 deps = [
668 ":skia", 660 ":skia",
669 "//base", 661 "//base",
670 ] 662 ]
671 } 663 }
672 } 664 }
OLDNEW
« no previous file with comments | « build/secondary/tools/grit/grit_rule.gni ('k') | skia/ext/bitmap_platform_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698