blob: d1a4004e45c83dc2e1d32ad91e594eb9cbad9215 [file] [log] [blame]
# Copyright 2015 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# GYP file to build flag parser
#
{
'targets': [
{
'target_name': 'flags',
'type': 'static_library',
'include_dirs': [
'../include/private',
'../src/core',
],
'sources': [
'../tools/flags/SkCommandLineFlags.cpp',
'../tools/flags/SkCommandLineFlags.h',
],
'dependencies': [
'skia_lib.gyp:skia_lib',
],
'direct_dependent_settings': {
'include_dirs': [
'../tools/flags',
],
},
'conditions': [
['skia_gpu', {
'dependencies': [
'gputest.gyp:skgputest',
],
}],
],
},
{
'target_name': 'flags_common',
'type': 'static_library',
'include_dirs': [
'../include/gpu',
'../include/private',
'../src/core',
'../src/gpu',
],
'sources': [
'../tools/flags/SkCommonFlags.cpp',
'../tools/flags/SkCommonFlags.h',
'../tools/flags/SkCommonFlagsConfig.cpp',
'../tools/flags/SkCommonFlagsConfig.h',
],
'dependencies': [
'skia_lib.gyp:skia_lib',
'flags.gyp:flags',
],
'direct_dependent_settings': {
'include_dirs': [
'../include/gpu',
'../include/private',
'../src/gpu',
'../tools/flags',
],
}
},
],
}