Commit 25bd529a authored by rohitrao@chromium.org's avatar rohitrao@chromium.org

Modifications to get skia headers compiling on iOS.

This is a barebones implementation of the skia target in skia.gyp.  iOS will not
use a full skia implementation, but it will use an occasional header here and
there.  Those headers require an implementation of SkDebugf_FileLine(), so this
CL adds a barebones skia target that simply compiles skia/ext/google_logging.cc.

BUG=None
TEST=None


Review URL: https://chromiumcodereview.appspot.com/10832081

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149193 0039d316-1c4b-4281-b951-d872f2087c98
parent c422a864
......@@ -1003,6 +1003,15 @@
}],
],
}],
[ 'OS == "ios"', {
'sources/': [
# iOS does not require most of skia and only needs a single file.
# Rather than creating a separate top-level target, simply exclude
# all files except for the one that is needed.
['exclude', '.*'],
['include', '^ext/google_logging\\.cc$'],
],
}],
[ 'OS == "mac"', {
'defines': [
'SK_BUILD_FOR_MAC',
......@@ -1072,12 +1081,15 @@
],
},
}],
],
'dependencies': [
'skia_opts',
'../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
'../third_party/sfntly/sfntly.gyp:sfntly',
'../third_party/zlib/zlib.gyp:zlib',
['OS != "ios"', {
'dependencies': [
'skia_opts',
'../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
'../third_party/sfntly/sfntly.gyp:sfntly',
'../third_party/zlib/zlib.gyp:zlib',
],
}],
],
'direct_dependent_settings': {
'include_dirs': [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment