Chromium Code Reviews| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 58 ] | 58 ] |
| 59 | 59 |
| 60 defines = [ | 60 defines = [ |
| 61 "SK_GAMMA_APPLY_TO_A8", | 61 "SK_GAMMA_APPLY_TO_A8", |
| 62 | 62 |
| 63 "SK_HAS_GIF_LIBRARY", | 63 "SK_HAS_GIF_LIBRARY", |
| 64 "SK_HAS_JPEG_LIBRARY", | 64 "SK_HAS_JPEG_LIBRARY", |
| 65 "SK_HAS_PNG_LIBRARY", | 65 "SK_HAS_PNG_LIBRARY", |
| 66 "SK_HAS_WEBP_LIBRARY", | 66 "SK_HAS_WEBP_LIBRARY", |
| 67 | 67 |
| 68 "SK_SFNTLY_SUBSETTER=\"font_subsetter.h\"", # TODO(halcanary): remove | |
| 69 | |
| 68 "TURBO_HAS_565", | 70 "TURBO_HAS_565", |
| 69 "TURBO_HAS_CROP", | 71 "TURBO_HAS_CROP", |
| 70 "TURBO_HAS_SKIP", | 72 "TURBO_HAS_SKIP", |
| 71 ] | 73 ] |
| 72 } | 74 } |
| 73 | 75 |
| 74 # Any code that's linked into Skia-the-library should use this config via += ski a_library_configs. | 76 # Any code that's linked into Skia-the-library should use this config via += ski a_library_configs. |
| 75 config("skia_library") { | 77 config("skia_library") { |
| 76 visibility = [ ":*" ] | 78 visibility = [ ":*" ] |
| 77 defines = [ "SKIA_IMPLEMENTATION=1" ] | 79 defines = [ "SKIA_IMPLEMENTATION=1" ] |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 165 deps = [ | 167 deps = [ |
| 166 ":opts_avx", | 168 ":opts_avx", |
| 167 ":opts_sse41", | 169 ":opts_sse41", |
| 168 ":opts_ssse3", | 170 ":opts_ssse3", |
| 169 "//third_party/expat", | 171 "//third_party/expat", |
| 170 "//third_party/giflib", | 172 "//third_party/giflib", |
| 171 "//third_party/libjpeg_turbo", | 173 "//third_party/libjpeg_turbo", |
| 172 "//third_party/libpng", | 174 "//third_party/libpng", |
| 173 "//third_party/libwebp", | 175 "//third_party/libwebp", |
| 174 "//third_party/zlib", | 176 "//third_party/zlib", |
| 177 "//third_party/sfntly", | |
|
mtklein
2016/08/03 20:06:50
please run gn fmt --in-place on all your changed f
hal.canary
2016/08/03 21:35:59
Done.
| |
| 175 ] | 178 ] |
| 176 | 179 |
| 177 libs = [ "pthread" ] | 180 libs = [ "pthread" ] |
| 178 | 181 |
| 179 sources = [] | 182 sources = [] |
| 180 sources += core_gypi.sources | 183 sources += core_gypi.sources |
| 181 sources += effects_gypi.sources | 184 sources += effects_gypi.sources |
| 182 sources += gpu_gypi.skgpu_sources | 185 sources += gpu_gypi.skgpu_sources |
| 183 sources += opts_gypi.sse2_sources | 186 sources += opts_gypi.sse2_sources |
| 184 sources += pdf_gypi.sources | 187 sources += pdf_gypi.sources |
| (...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 536 ":bench", | 539 ":bench", |
| 537 ":flags", | 540 ":flags", |
| 538 ":gm", | 541 ":gm", |
| 539 ":gpu_tool_utils", | 542 ":gpu_tool_utils", |
| 540 ":skia", | 543 ":skia", |
| 541 ":tool_utils", | 544 ":tool_utils", |
| 542 "//third_party/jsoncpp", | 545 "//third_party/jsoncpp", |
| 543 ] | 546 ] |
| 544 testonly = true | 547 testonly = true |
| 545 } | 548 } |
| 549 | |
| 550 | |
| 551 executable("sktexttopdf") { | |
| 552 sources = [ | |
| 553 "tools/using_skia_and_harfbuzz.cpp", | |
| 554 "tools/SkShaper_harfbuzz.cpp", | |
| 555 ] | |
| 556 deps = [ | |
| 557 ":skia", | |
| 558 "//third_party/harfbuzz", | |
| 559 ] | |
| 560 testonly = true | |
| 561 } | |
| 562 | |
| 546 } | 563 } |
| OLD | NEW |