OLD | NEW |
1 # Copyright 2016 Google Inc. | 1 # Copyright 2016 Google Inc. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 declare_args() { | 6 declare_args() { |
7 skia_use_libwebp = !is_fuchsia | 7 skia_use_libwebp = !is_fuchsia |
8 } | 8 } |
9 | 9 |
10 skia_public_includes = [ | 10 skia_public_includes = [ |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 | 61 |
62 defines = [ | 62 defines = [ |
63 "SK_GAMMA_APPLY_TO_A8", | 63 "SK_GAMMA_APPLY_TO_A8", |
64 | 64 |
65 "SK_HAS_GIF_LIBRARY", | 65 "SK_HAS_GIF_LIBRARY", |
66 "SK_HAS_JPEG_LIBRARY", | 66 "SK_HAS_JPEG_LIBRARY", |
67 "SK_HAS_PNG_LIBRARY", | 67 "SK_HAS_PNG_LIBRARY", |
68 | 68 |
69 # TODO(halcanary): make this the default; this is the value Android uses. | 69 # TODO(halcanary): make this the default; this is the value Android uses. |
70 "SK_SFNTLY_SUBSETTER=\"sample/chromium/font_subsetter.h\"", | 70 "SK_SFNTLY_SUBSETTER=\"sample/chromium/font_subsetter.h\"", |
71 | |
72 "TURBO_HAS_565", | |
73 "TURBO_HAS_CROP", | |
74 "TURBO_HAS_SKIP", | |
75 ] | 71 ] |
76 if (is_linux) { | 72 if (is_linux) { |
77 defines += [ "SK_SAMPLES_FOR_X" ] | 73 defines += [ "SK_SAMPLES_FOR_X" ] |
78 } | 74 } |
79 } | 75 } |
80 | 76 |
81 # Any code that's linked into Skia-the-library should use this config via += ski
a_library_configs. | 77 # Any code that's linked into Skia-the-library should use this config via += ski
a_library_configs. |
82 config("skia_library") { | 78 config("skia_library") { |
83 visibility = [ ":*" ] | 79 visibility = [ ":*" ] |
84 defines = [ "SKIA_IMPLEMENTATION=1" ] | 80 defines = [ "SKIA_IMPLEMENTATION=1" ] |
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
629 "tools/SkShaper_harfbuzz.cpp", | 625 "tools/SkShaper_harfbuzz.cpp", |
630 "tools/using_skia_and_harfbuzz.cpp", | 626 "tools/using_skia_and_harfbuzz.cpp", |
631 ] | 627 ] |
632 deps = [ | 628 deps = [ |
633 ":skia", | 629 ":skia", |
634 "//third_party/harfbuzz", | 630 "//third_party/harfbuzz", |
635 ] | 631 ] |
636 testonly = true | 632 testonly = true |
637 } | 633 } |
638 } | 634 } |
OLD | NEW |