| 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 } |
| 11 if (current_cpu == "mipsel" || current_cpu == "mips64el") { | 11 if (current_cpu == "mipsel" || current_cpu == "mips64el") { |
| 12 import("//build/config/mips.gni") | 12 import("//build/config/mips.gni") |
| 13 } | 13 } |
| 14 | 14 |
| 15 skia_support_gpu = !is_ios | 15 skia_support_gpu = !is_ios |
| 16 skia_support_pdf = !is_ios && (enable_basic_printing || enable_print_preview) | 16 skia_support_pdf = !is_ios && (enable_basic_printing || enable_print_preview) |
| 17 | 17 |
| 18 # The list of Skia defines that are to be set for chromium. | 18 # The list of Skia defines that are to be set for chromium. |
| 19 gypi_chromium_skia_defines = | 19 gypi_chromium_skia_defines = |
| 20 exec_script("//build/gypi_to_gn.py", | 20 exec_script("//build/gypi_to_gn.py", |
| 21 [ | 21 [ |
| 22 rebase_path( | 22 rebase_path("//skia/chromium_skia_defines.gypi"), |
| 23 "//skia/chromium_skia_defines.gypi"), | |
| 24 "--replace=<(skia_include_path)=//third_party/skia/include", | 23 "--replace=<(skia_include_path)=//third_party/skia/include", |
| 25 "--replace=<(skia_src_path)=//third_party/skia/src", | 24 "--replace=<(skia_src_path)=//third_party/skia/src", |
| 26 ], | 25 ], |
| 27 "scope", | 26 "scope", |
| 28 [ "//skia/chromium_skia_defines.gypi" ]) | 27 [ "//skia/chromium_skia_defines.gypi" ]) |
| 29 | 28 |
| 30 # The list of Skia defines that are to be set for chromium. | 29 # The list of Skia defines that are to be set for chromium. |
| 31 gypi_skia_defines = | 30 gypi_skia_defines = |
| 32 exec_script("//build/gypi_to_gn.py", | 31 exec_script("//build/gypi_to_gn.py", |
| 33 [ | 32 [ |
| (...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 460 | 459 |
| 461 deps = [ | 460 deps = [ |
| 462 ":skia_opts", | 461 ":skia_opts", |
| 463 "//base", | 462 "//base", |
| 464 "//base/third_party/dynamic_annotations", | 463 "//base/third_party/dynamic_annotations", |
| 465 "//third_party/zlib", | 464 "//third_party/zlib", |
| 466 ] | 465 ] |
| 467 | 466 |
| 468 if (is_linux) { | 467 if (is_linux) { |
| 469 if (use_pango) { | 468 if (use_pango) { |
| 470 configs += [ "//build/config/linux:pangocairo" ] | 469 configs += [ "//build/config/linux/pangocairo" ] |
| 471 } | 470 } |
| 472 deps += [ | 471 deps += [ |
| 473 "//build/linux:fontconfig", | 472 "//build/linux:fontconfig", |
| 474 "//build/linux:freetype2", | 473 "//build/linux:freetype2", |
| 475 "//third_party/expat", | 474 "//third_party/expat", |
| 476 "//third_party/icu:icuuc", | 475 "//third_party/icu:icuuc", |
| 477 ] | 476 ] |
| 478 } | 477 } |
| 479 | 478 |
| 480 if (is_android) { | 479 if (is_android) { |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 720 ] | 719 ] |
| 721 | 720 |
| 722 deps = [ | 721 deps = [ |
| 723 ":skia", | 722 ":skia", |
| 724 "//base", | 723 "//base", |
| 725 "//base/test:test_support", | 724 "//base/test:test_support", |
| 726 "//build/config/sanitizers:deps", | 725 "//build/config/sanitizers:deps", |
| 727 ] | 726 ] |
| 728 } | 727 } |
| 729 } | 728 } |
| OLD | NEW |