blob: a851ce61c6696b599fae660abb944c2007c624b7 [file] [log] [blame]
# Copyright (c) 2012 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.
{
'targets': [
{
# This is the target that all Cobalt modules should depend on if they
# wish to use Skia. It augments skia_library (Skia's core code) with
# Cobalt specific code defined in source files from skia_cobalt.gypi,
# such as platform-specific implementations of certain functions.
'target_name': 'skia',
'type': 'static_library',
'dependencies': [
'skia_library',
],
'includes': [
'skia_cobalt.gypi',
'skia_common.gypi',
],
'export_dependent_settings': [
'skia_library',
],
},
{
# Skia's core code from the Skia repository.
'target_name': 'skia_library',
'type': 'static_library',
'includes': [
'skia_common.gypi',
'skia_library.gypi',
'skia_sksl.gypi',
],
},
{
# A small program imported from Chromium that tests Skia with fuzzed
# filters.
'target_name': 'filter_fuzz_stub',
'type': 'executable',
'dependencies': [
'<(DEPTH)/base/base.gyp:base',
'skia',
],
'sources': [
'test/filter_fuzz_stub/filter_fuzz_stub.cc',
],
},
{
'target_name': 'filter_fuzz_stub_deploy',
'type': 'none',
'dependencies': [
'filter_fuzz_stub',
],
'variables': {
'executable_name': 'filter_fuzz_stub',
},
'includes': [ '../../../../../starboard/build/deploy.gypi' ],
},
],
}