skia2/gyp/most.gyp
caryclark 936b73424f ios fixes
skia_ios.mm
Get the app's Documents directory and pass use it to set the resource path.
This is a quick hack which will be replaced by a new application that is
a tiny shim around a command line tool.

SkImageEncoder.h
SkForceLinking.cpp
SkImageDecoder_CG.cpp
Add support for FORCE_LINKING so iOS sees the PNG encoder and others.

SkFloatBits.cpp
SkPoint.cpp
Handle denormalized numbers that are floored by the iOS ARM processor.

SkImageDecoder_iOS.mm
Remove empty encoder factory.

SkTouchGesture.cpp
Return early on empty state on touch rather than aborting (crashing)

JpegTest.cpp
Hal via stackoverflow.com says partial jpegs can be gray as well.

skia_test.cpp
Remove crash handler call for now to avoid link failure.

OverwriteLine.h
Remove fancy line overwrite for iOS.

Resources.cpp
Add interface to set resource directory based on runtime query.

BUG=skia:2736 skia:2737 skia:2738
R=reed@google.com, halcanary@google.com, mtklein@google.com, tfarina@chromium.org

Author: caryclark@google.com

Review URL: https://codereview.chromium.org/373383003
2014-07-11 12:14:51 -07:00

49 lines
1.2 KiB
Python

# Build ALMOST everything provided by Skia; this should be the default target.
#
# This omits the following targets that many developers won't want to build:
# - debugger: this requires QT to build
#
{
'variables': {
'skia_skip_gui%': 0,
},
'targets': [
{
'target_name': 'most',
'type': 'none',
'dependencies': [
# The minimal set of static libraries for basic Skia functionality.
'skia_lib.gyp:skia_lib',
'bench.gyp:*',
'gm.gyp:gm',
'SampleApp.gyp:SampleApp',
'tests.gyp:tests',
'tools.gyp:tools',
'pathops_unittest.gyp:*',
# 'pdfviewer.gyp:pdfviewer',
'dm.gyp:dm',
],
'conditions': [
['skia_os == "android"', {
'dependencies': [ 'android_system.gyp:SampleApp_APK' ],
}],
['skia_os == "ios"', {
'dependencies!': [ 'SampleApp.gyp:SampleApp' ],
'dependencies': ['iOSShell.gyp:iOSShell' ],
}],
['skia_os == "mac" or skia_os == "linux"', {
'dependencies': [ 'nanomsg.gyp:*' ],
}],
[ 'skia_skip_gui',
{
'dependencies!': [
'SampleApp.gyp:SampleApp',
]
}
]
],
},
],
}