diff options
author | ziadb <ziadb@google.com> | 2018-06-19 13:57:15 -0400 |
---|---|---|
committer | Ziad Ben Hadj-Alouane <ziadb@google.com> | 2018-06-19 19:10:54 +0000 |
commit | bceddbcb72605343aca01638f64d7a8e8cb9792d (patch) | |
tree | ed4eaaec1011ca860cd2c750c2f241472543824b /BUILD.gn | |
parent | 80452bee11ebe6708ea459ea34e526a44c04bdb0 (diff) |
SkAR: drawing text, shapes, rotation modes enabled, translating objects
To run this app, you need to create an out directory as such:
bin/gn gen out/arm64 --args='ndk="NDK_PATH" target_cpu="ABI"'
For now, the only supported ABI is arm64
Change-Id: I012f0c6a0550d80a0028f42177d5ca72974d848d
Bug: skia:
Reviewed-on: https://skia-review.googlesource.com/130980
Reviewed-by: Mike Reed <reed@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Ziad Ben Hadj-Alouane <ziadb@google.com>
Diffstat (limited to 'BUILD.gn')
-rw-r--r-- | BUILD.gn | 54 |
1 files changed, 54 insertions, 0 deletions
@@ -1995,6 +1995,60 @@ if (skia_enable_tools) { ] } + if (is_android) { + test_app("arcore") { + is_shared_library = true + configs = [ + ":skia_public", + "gn:default", + ] + + # For internship expedience, yes, we're rebuilding Skia rather than depending on :skia. + # At the moment there's no way to use Skia and Skottie/SkShaper unless they're in the same .so. + sources = [] + sources += skia_core_sources + sources += skia_utils_sources + sources += skia_xps_sources + sources += [ + "src/android/SkAndroidFrameworkUtils.cpp", + "src/android/SkAnimatedImage.cpp", + "src/android/SkBitmapRegionCodec.cpp", + "src/android/SkBitmapRegionDecoder.cpp", + "src/codec/SkAndroidCodec.cpp", + "src/codec/SkBmpBaseCodec.cpp", + "src/codec/SkBmpCodec.cpp", + "src/codec/SkBmpMaskCodec.cpp", + "src/codec/SkBmpRLECodec.cpp", + "src/codec/SkBmpStandardCodec.cpp", + "src/codec/SkCodec.cpp", + "src/codec/SkCodecImageGenerator.cpp", + "src/codec/SkColorTable.cpp", + "src/codec/SkGifCodec.cpp", + "src/codec/SkMaskSwizzler.cpp", + "src/codec/SkMasks.cpp", + "src/codec/SkSampledCodec.cpp", + "src/codec/SkSampler.cpp", + "src/codec/SkStreamBuffer.cpp", + "src/codec/SkSwizzler.cpp", + "src/codec/SkWbmpCodec.cpp", + "src/images/SkImageEncoder.cpp", + "src/ports/SkDiscardableMemory_none.cpp", + "src/ports/SkImageGenerator_skia.cpp", + "src/ports/SkMemory_malloc.cpp", + "src/ports/SkOSFile_stdio.cpp", + "src/sfnt/SkOTTable_name.cpp", + "src/sfnt/SkOTUtils.cpp", + "src/utils/mac/SkStream_mac.cpp", + "third_party/gif/SkGifImageReader.cpp", + ] + deps = [ + ":tool_utils", + "modules/skottie", + "modules/skshaper", + ] + } + } + if (!skia_use_angle && (is_linux || is_win || is_mac)) { test_app("HelloWorld") { sources = [ |