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/freetype/freetype.gni") |
6 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
7 import("//build/config/sanitizers/sanitizers.gni") | 8 import("//build/config/sanitizers/sanitizers.gni") |
8 import("//printing/features/features.gni") | 9 import("//printing/features/features.gni") |
9 import("//testing/test.gni") | 10 import("//testing/test.gni") |
10 import("//third_party/skia/gn/shared_sources.gni") | 11 import("//third_party/skia/gn/shared_sources.gni") |
11 | 12 |
12 if (current_cpu == "arm") { | 13 if (current_cpu == "arm") { |
13 import("//build/config/arm.gni") | 14 import("//build/config/arm.gni") |
14 } | 15 } |
15 if (current_cpu == "mipsel" || current_cpu == "mips64el") { | 16 if (current_cpu == "mipsel" || current_cpu == "mips64el") { |
(...skipping 30 matching lines...) Expand all Loading... |
46 defines = skia_for_chromium_defines | 47 defines = skia_for_chromium_defines |
47 defines += [ | 48 defines += [ |
48 "SK_HAS_PNG_LIBRARY", | 49 "SK_HAS_PNG_LIBRARY", |
49 "SK_HAS_WEBP_LIBRARY", | 50 "SK_HAS_WEBP_LIBRARY", |
50 ] | 51 ] |
51 | 52 |
52 if (!is_ios) { | 53 if (!is_ios) { |
53 defines += [ "SK_HAS_JPEG_LIBRARY" ] | 54 defines += [ "SK_HAS_JPEG_LIBRARY" ] |
54 } | 55 } |
55 | 56 |
56 if (is_win || is_mac) { | 57 if (!use_system_freetype) { |
57 defines += [ "SK_FREETYPE_MINIMUM_RUNTIME_VERSION=(((FREETYPE_MAJOR) * 0x010
00000) | ((FREETYPE_MINOR) * 0x00010000) | ((FREETYPE_PATCH) * 0x00000100))" ] | 58 defines += [ "SK_FREETYPE_MINIMUM_RUNTIME_VERSION=(((FREETYPE_MAJOR) * 0x010
00000) | ((FREETYPE_MINOR) * 0x00010000) | ((FREETYPE_PATCH) * 0x00000100))" ] |
58 } | 59 } |
59 | 60 |
60 if (is_component_build) { | 61 if (is_component_build) { |
61 defines += [ | 62 defines += [ |
62 "SKIA_DLL", | 63 "SKIA_DLL", |
63 "GR_GL_IGNORE_ES3_MSAA=0", | 64 "GR_GL_IGNORE_ES3_MSAA=0", |
64 ] | 65 ] |
65 } | 66 } |
66 | 67 |
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
739 | 740 |
740 deps = [ | 741 deps = [ |
741 ":skia", | 742 ":skia", |
742 "//base", | 743 "//base", |
743 "//base/test:test_support", | 744 "//base/test:test_support", |
744 "//build/config/sanitizers:deps", | 745 "//build/config/sanitizers:deps", |
745 "//build/win:default_exe_manifest", | 746 "//build/win:default_exe_manifest", |
746 ] | 747 ] |
747 } | 748 } |
748 } | 749 } |
OLD | NEW |