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