blob: 5be8703b06647b3d9719df6fdddfbbc53e9d39fe [file] [log] [blame]
# Copyright 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# This gypi file contains all the Cobalt-specific enhancements to Skia.
# In component mode (shared_lib) it is folded into a single shared library with
# the Skia files but in all other cases it is a separate library.
{
'dependencies': [
'<(DEPTH)/base/base.gyp:base',
'<(DEPTH)/cobalt/base/base.gyp:base',
'<(DEPTH)/third_party/freetype2/freetype2_cobalt.gyp:freetype2',
'<(DEPTH)/third_party/libxml/libxml.gyp:libxml',
'skia_library',
],
'sources': [
'config/SkUserConfig.h',
'src/effects/SkNV122RGBShader.cc',
'src/effects/SkNV122RGBShader.h',
'src/effects/SkYUV2RGBShader.cc',
'src/effects/SkYUV2RGBShader.h',
'src/google_logging.cc',
'src/ports/SkFontConfigParser_cobalt.cc',
'src/ports/SkFontConfigParser_cobalt.h',
'src/ports/SkFontMgr_cobalt.cc',
'src/ports/SkFontMgr_cobalt.h',
'src/ports/SkFontMgr_cobalt_factory.cc',
'src/ports/SkFontUtil_cobalt.cc',
'src/ports/SkFontUtil_cobalt.h',
'src/ports/SkOSFile_cobalt.cc',
'src/ports/SkTLS_cobalt.cc',
'src/ports/SkTime_cobalt.cc',
],
'include_dirs': [
'<(SHARED_INTERMEDIATE_DIR)',
],
'conditions': [
['OS=="starboard"', {
'sources': [
'src/ports/SkMemory_starboard.cc',
],
}],
['gl_type != "none"', {
'sources': [
'egl/src/gpu/cobalt/GrGpuFactory.cc',
'src/gpu/gl/GrGLCreateNativeInterface_cobalt.cc',
],
}],
],
}