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 } | 7 } |
8 | 8 |
9 skia_public_includes = [ | 9 skia_public_includes = [ |
10 "include/android", | 10 "include/android", |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 "SK_HAS_PNG_LIBRARY", | 66 "SK_HAS_PNG_LIBRARY", |
67 "SK_HAS_WEBP_LIBRARY", | 67 "SK_HAS_WEBP_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 | 71 |
72 "TURBO_HAS_565", | 72 "TURBO_HAS_565", |
73 "TURBO_HAS_CROP", | 73 "TURBO_HAS_CROP", |
74 "TURBO_HAS_SKIP", | 74 "TURBO_HAS_SKIP", |
75 ] | 75 ] |
| 76 if (is_linux) { |
| 77 defines += [ "SK_SAMPLES_FOR_X" ] |
| 78 } |
76 } | 79 } |
77 | 80 |
78 # Any code that's linked into Skia-the-library should use this config via += ski
a_library_configs. | 81 # Any code that's linked into Skia-the-library should use this config via += ski
a_library_configs. |
79 config("skia_library") { | 82 config("skia_library") { |
80 visibility = [ ":*" ] | 83 visibility = [ ":*" ] |
81 defines = [ "SKIA_IMPLEMENTATION=1" ] | 84 defines = [ "SKIA_IMPLEMENTATION=1" ] |
82 } | 85 } |
83 | 86 |
84 skia_library_configs = [ | 87 skia_library_configs = [ |
85 ":skia_public", | 88 ":skia_public", |
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
580 "tools/SkShaper_harfbuzz.cpp", | 583 "tools/SkShaper_harfbuzz.cpp", |
581 "tools/using_skia_and_harfbuzz.cpp", | 584 "tools/using_skia_and_harfbuzz.cpp", |
582 ] | 585 ] |
583 deps = [ | 586 deps = [ |
584 ":skia", | 587 ":skia", |
585 "//third_party/harfbuzz", | 588 "//third_party/harfbuzz", |
586 ] | 589 ] |
587 testonly = true | 590 testonly = true |
588 } | 591 } |
589 } | 592 } |
OLD | NEW |