skia2/gyp/flags.gyp
raftias 7c602de058 Removed makeLinearGamma() from the public API for SkColorSpace
It will now reside in SkColorSpace_Base. Future work for SkColorSpace
will cause this function to not be desirable or sensible to call on
all SkColorSpaces. Call sites were changed to make a kSRGBLinear_Named
instead of kSRGB_Named -> makeLinearGamma() (the majority of cases),
and if that was not possible, SkColorSpace_Base::makeLinearGamma()
was called instead.

TBR=reed@google.com
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2412613005

Review-Url: https://codereview.chromium.org/2412613005
2016-10-13 10:45:44 -07:00

66 lines
1.5 KiB
Python

# 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',
],
}
},
],
}