ae0054e48a
1) Disable SampleApp. Seems like it's totally horked? SkOSFile_iOS.mm is missing about half the functions needed, and SkOSFile_stdio.cpp is double-providing the others. 2) Drop armv6. 3) Switch from putting headers in sources to putting the corresponding directories in includes. 4) Force cast the type of glShaderSource. Something to do with GR_GL_USE_NEW_SHADER_SOURCE_SIGNATURE? After all this, env CC=clang CXX=clang++ GYP_DEFINES=skia_os=ios make builds for me. BUG=skia:2363 R=bsalomon@google.com, epoger@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/226413005 git-svn-id: http://skia.googlecode.com/svn/trunk@14069 2bbb7eff-a529-9590-31e7-b0007b416f81
47 lines
1.1 KiB
Python
47 lines
1.1 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:bench',
|
|
'gm.gyp:gm',
|
|
'SampleApp.gyp:SampleApp',
|
|
'tests.gyp:tests',
|
|
'tools.gyp:tools',
|
|
'pathops_unittest.gyp:*',
|
|
'skpskgr_test.gyp:*',
|
|
# 'pdfviewer.gyp:pdfviewer',
|
|
'dm.gyp:dm',
|
|
],
|
|
'conditions': [
|
|
['skia_os == "android"', {
|
|
'dependencies': [ 'android_system.gyp:SampleApp_APK' ],
|
|
}],
|
|
['skia_os == "ios"', {
|
|
'dependencies!': [ 'SampleApp.gyp:SampleApp' ],
|
|
}],
|
|
[ 'skia_skip_gui',
|
|
{
|
|
'dependencies!': [
|
|
'SampleApp.gyp:SampleApp',
|
|
'skpskgr_test.gyp:*',
|
|
]
|
|
}
|
|
]
|
|
],
|
|
},
|
|
],
|
|
}
|