skia2/gyp/sksl.gyp
Mike Klein a5fb6157e5 Split SkSL and utils apart again into .gni files.
Also extend GN format presubmit check to .gni files.

BUG=skia:

GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3976

Change-Id: I292f3136437101e3e2c3271e260536ab7a24b192
Reviewed-on: https://skia-review.googlesource.com/3976
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
2016-10-26 18:56:37 +00:00

29 lines
654 B
Python

# Copyright 2016 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'targets': [
{
'target_name': 'sksl',
'type': 'static_library',
'standalone_static_library': 1,
'sources': [ '<!@(python read_gni.py ../gn/sksl.gni skia_sksl_sources)' ],
'include_dirs': [
'../include/config',
'../include/core',
'../include/private',
'../src/sksl',
],
'defines': [
'SKIA'
],
'all_dependent_settings': {
'include_dirs': [
'<(skia_src_path)/sksl',
],
},
},
],
}