| 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 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 459 | 458 |
| 460 deps = [ | 459 deps = [ |
| 461 ":skia_opts", | 460 ":skia_opts", |
| 462 "//base", | 461 "//base", |
| 463 "//base/third_party/dynamic_annotations", | 462 "//base/third_party/dynamic_annotations", |
| 464 "//third_party/zlib", | 463 "//third_party/zlib", |
| 465 ] | 464 ] |
| 466 | 465 |
| 467 if (is_linux) { | 466 if (is_linux) { |
| 468 if (use_pango) { | 467 if (use_pango) { |
| 469 configs += [ "//build/config/linux:pangocairo" ] | 468 configs += [ "//build/config/linux/pangocairo" ] |
| 470 } | 469 } |
| 471 deps += [ | 470 deps += [ |
| 472 "//build/linux:fontconfig", | 471 "//build/linux:fontconfig", |
| 473 "//build/linux:freetype2", | 472 "//build/linux:freetype2", |
| 474 "//third_party/expat", | 473 "//third_party/expat", |
| 475 "//third_party/icu:icuuc", | 474 "//third_party/icu:icuuc", |
| 476 ] | 475 ] |
| 477 } | 476 } |
| 478 | 477 |
| 479 if (is_android) { | 478 if (is_android) { |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 719 ] | 718 ] |
| 720 | 719 |
| 721 deps = [ | 720 deps = [ |
| 722 ":skia", | 721 ":skia", |
| 723 "//base", | 722 "//base", |
| 724 "//base/test:test_support", | 723 "//base/test:test_support", |
| 725 "//build/config/sanitizers:deps", | 724 "//build/config/sanitizers:deps", |
| 726 ] | 725 ] |
| 727 } | 726 } |
| 728 } | 727 } |
| OLD | NEW |