| 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 if (cpu_arch == "arm") { | 8 if (cpu_arch == "arm") { |
| 8 import("//build/config/arm.gni") | 9 import("//build/config/arm.gni") |
| 9 } | 10 } |
| 10 if (is_android) { | |
| 11 import("//build/config/android/rules.gni") | |
| 12 } | |
| 13 | 11 |
| 14 skia_support_gpu = !is_ios | 12 skia_support_gpu = !is_ios |
| 15 skia_support_pdf = !is_ios && (enable_basic_printing || enable_print_preview) | 13 skia_support_pdf = !is_ios && (enable_basic_printing || enable_print_preview) |
| 16 | 14 |
| 17 # The list of Skia defines that are to be set for blink. | 15 # The list of Skia defines that are to be set for blink. |
| 18 gypi_blink_skia_defines = | 16 gypi_blink_skia_defines = |
| 19 exec_script("//build/gypi_to_gn.py", | 17 exec_script("//build/gypi_to_gn.py", |
| 20 [ | 18 [ |
| 21 rebase_path( | 19 rebase_path( |
| 22 "//third_party/WebKit/public/blink_skia_config.gypi"), | 20 "//third_party/WebKit/public/blink_skia_config.gypi"), |
| (...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 739 | 737 |
| 740 deps = [ | 738 deps = [ |
| 741 ":skia", | 739 ":skia", |
| 742 "//base", | 740 "//base", |
| 743 "//base/test:run_all_unittests", | 741 "//base/test:run_all_unittests", |
| 744 "//testing/gtest", | 742 "//testing/gtest", |
| 745 "//ui/gfx", | 743 "//ui/gfx", |
| 746 "//ui/gfx/geometry", | 744 "//ui/gfx/geometry", |
| 747 ] | 745 ] |
| 748 } | 746 } |
| 749 | |
| 750 if (is_android) { | |
| 751 # GYP: //skia/skia_tests.gyp:skia_unittests_apk | |
| 752 unittest_apk("skia_unittests_apk") { | |
| 753 unittests_dep = ":skia_unittests" | |
| 754 deps = [ | |
| 755 ":skia_unittests", | |
| 756 ] | |
| 757 } | |
| 758 } | |
| OLD | NEW |