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 = false |
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_skia_defines = | 19 gypi_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( |
23 "//third_party/skia/gyp/skia_for_chromium_defines.gypi"), | 23 "//third_party/skia/gyp/skia_for_chromium_defines.gypi"), |
24 "--replace=<(skia_include_path)=//third_party/skia/include", | 24 "--replace=<(skia_include_path)=//third_party/skia/include", |
25 "--replace=<(skia_src_path)=//third_party/skia/src", | 25 "--replace=<(skia_src_path)=//third_party/skia/src", |
26 ], | 26 ], |
(...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
653 sources = [ | 653 sources = [ |
654 "tools/filter_fuzz_stub/filter_fuzz_stub.cc", | 654 "tools/filter_fuzz_stub/filter_fuzz_stub.cc", |
655 ] | 655 ] |
656 | 656 |
657 deps = [ | 657 deps = [ |
658 ":skia", | 658 ":skia", |
659 "//base", | 659 "//base", |
660 ] | 660 ] |
661 } | 661 } |
662 } | 662 } |
OLD | NEW |