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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 "src/lazy", | 49 "src/lazy", |
50 "src/opts", | 50 "src/opts", |
51 "src/pathops", | 51 "src/pathops", |
52 "src/pdf", | 52 "src/pdf", |
53 "src/ports", | 53 "src/ports", |
54 "src/sfnt", | 54 "src/sfnt", |
55 "src/utils", | 55 "src/utils", |
56 "third_party/etc1", | 56 "third_party/etc1", |
57 "third_party/ktx", | 57 "third_party/ktx", |
58 ] | 58 ] |
| 59 |
| 60 defines = [ |
| 61 "SK_HAS_GIF_LIBRARY", |
| 62 "SK_HAS_JPEG_LIBRARY", |
| 63 "SK_HAS_PNG_LIBRARY", |
| 64 "SK_HAS_WEBP_LIBRARY", |
| 65 ] |
59 } | 66 } |
60 | 67 |
61 # Any code that's linked into Skia-the-library should use this config via += ski
a_library_configs. | 68 # Any code that's linked into Skia-the-library should use this config via += ski
a_library_configs. |
62 config("skia_library") { | 69 config("skia_library") { |
63 visibility = [ ":*" ] | 70 visibility = [ ":*" ] |
64 defines = [ "SKIA_IMPLEMENTATION=1" ] | 71 defines = [ "SKIA_IMPLEMENTATION=1" ] |
65 } | 72 } |
66 | 73 |
67 skia_library_configs = [ | 74 skia_library_configs = [ |
68 ":skia_public", | 75 ":skia_public", |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 ":opts_sse41", | 161 ":opts_sse41", |
155 ":opts_ssse3", | 162 ":opts_ssse3", |
156 "//third_party/expat", | 163 "//third_party/expat", |
157 "//third_party/giflib", | 164 "//third_party/giflib", |
158 "//third_party/libjpeg_turbo", | 165 "//third_party/libjpeg_turbo", |
159 "//third_party/libpng", | 166 "//third_party/libpng", |
160 "//third_party/libwebp", | 167 "//third_party/libwebp", |
161 "//third_party/zlib", | 168 "//third_party/zlib", |
162 ] | 169 ] |
163 | 170 |
164 defines = [ | |
165 "SK_HAS_GIF_LIBRARY", | |
166 "SK_HAS_JPEG_LIBRARY", | |
167 "SK_HAS_PNG_LIBRARY", | |
168 "SK_HAS_WEBP_LIBRARY", | |
169 ] | |
170 | |
171 libs = [ "pthread" ] | 171 libs = [ "pthread" ] |
172 | 172 |
173 sources = [] | 173 sources = [] |
174 sources += core_gypi.sources | 174 sources += core_gypi.sources |
175 sources += effects_gypi.sources | 175 sources += effects_gypi.sources |
176 sources += gpu_gypi.skgpu_sources | 176 sources += gpu_gypi.skgpu_sources |
177 sources += opts_gypi.sse2_sources | 177 sources += opts_gypi.sse2_sources |
178 sources += pdf_gypi.sources | 178 sources += pdf_gypi.sources |
179 sources += utils_gypi.sources | 179 sources += utils_gypi.sources |
180 sources += [ | 180 sources += [ |
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 ":flags", | 472 ":flags", |
473 ":gm", | 473 ":gm", |
474 ":gpu_tool_utils", | 474 ":gpu_tool_utils", |
475 ":skia", | 475 ":skia", |
476 ":tool_utils", | 476 ":tool_utils", |
477 "//third_party/jsoncpp", | 477 "//third_party/jsoncpp", |
478 ] | 478 ] |
479 testonly = true | 479 testonly = true |
480 } | 480 } |
481 } | 481 } |
OLD | NEW |