| OLD | NEW |
| 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") { | 8 if (current_cpu == "arm") { |
| 9 import("//build/config/arm.gni") | 9 import("//build/config/arm.gni") |
| 10 } | 10 } |
| (...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 508 if (skia_support_pdf) { | 508 if (skia_support_pdf) { |
| 509 deps += [ | 509 deps += [ |
| 510 "//third_party/sfntly", | 510 "//third_party/sfntly", |
| 511 "//third_party/zlib", | 511 "//third_party/zlib", |
| 512 ] | 512 ] |
| 513 sources += gypi_skia_pdf.sources | 513 sources += gypi_skia_pdf.sources |
| 514 } else { | 514 } else { |
| 515 sources += [ "//third_party/skia/src/pdf/SkDocument_PDF_None.cpp" ] | 515 sources += [ "//third_party/skia/src/pdf/SkDocument_PDF_None.cpp" ] |
| 516 } | 516 } |
| 517 | 517 |
| 518 if ((is_android || is_win) && !is_debug) { | 518 if (!is_debug) { |
| 519 configs -= [ "//build/config/compiler:default_optimization" ] | 519 configs -= [ "//build/config/compiler:default_optimization" ] |
| 520 configs += [ "//build/config/compiler:optimize_max" ] | 520 configs += [ "//build/config/compiler:optimize_max" ] |
| 521 } | 521 } |
| 522 | 522 |
| 523 if (is_mac) { | 523 if (is_mac) { |
| 524 libs = [ | 524 libs = [ |
| 525 "AppKit.framework", | 525 "AppKit.framework", |
| 526 "CoreFoundation.framework", | 526 "CoreFoundation.framework", |
| 527 "CoreGraphics.framework", | 527 "CoreGraphics.framework", |
| 528 "CoreText.framework", | 528 "CoreText.framework", |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 694 } else { | 694 } else { |
| 695 sources = gypi_skia_opts.none_sources | 695 sources = gypi_skia_opts.none_sources |
| 696 } | 696 } |
| 697 } else if (current_cpu == "mips64el") { | 697 } else if (current_cpu == "mips64el") { |
| 698 cflags += [ "-fomit-frame-pointer" ] | 698 cflags += [ "-fomit-frame-pointer" ] |
| 699 sources = gypi_skia_opts.none_sources | 699 sources = gypi_skia_opts.none_sources |
| 700 } else { | 700 } else { |
| 701 assert(false, "Need to port cpu specific stuff from skia_library_opts.gyp") | 701 assert(false, "Need to port cpu specific stuff from skia_library_opts.gyp") |
| 702 } | 702 } |
| 703 | 703 |
| 704 if ((is_android || is_win) && !is_debug) { | 704 if (!is_debug) { |
| 705 configs -= [ "//build/config/compiler:default_optimization" ] | 705 configs -= [ "//build/config/compiler:default_optimization" ] |
| 706 configs += [ "//build/config/compiler:optimize_max" ] | 706 configs += [ "//build/config/compiler:optimize_max" ] |
| 707 } | 707 } |
| 708 | 708 |
| 709 configs -= [ "//build/config/compiler:chromium_code" ] | 709 configs -= [ "//build/config/compiler:chromium_code" ] |
| 710 configs += [ | 710 configs += [ |
| 711 ":skia_config", | 711 ":skia_config", |
| 712 ":skia_library_config", | 712 ":skia_library_config", |
| 713 "//build/config/compiler:no_chromium_code", | 713 "//build/config/compiler:no_chromium_code", |
| 714 ] | 714 ] |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 775 | 775 |
| 776 deps = [ | 776 deps = [ |
| 777 ":skia", | 777 ":skia", |
| 778 "//base", | 778 "//base", |
| 779 "//base/test:test_support", | 779 "//base/test:test_support", |
| 780 "//build/config/sanitizers:deps", | 780 "//build/config/sanitizers:deps", |
| 781 "//build/win:default_exe_manifest", | 781 "//build/win:default_exe_manifest", |
| 782 ] | 782 ] |
| 783 } | 783 } |
| 784 } | 784 } |
| OLD | NEW |