skia2/gyp/skslc.gyp
brettw 45d1b442f1 Move uils and sksl to a common sources GYP file.
This is for the coalescing of sources in one GYP file to improve GN runtime. If
this is successful, the other sources lists will also be merged into this one
file.

Inlines "../src" and "../include" for skia_source_dir and skia_include_dir. Evaluating these with GYP's variable expansion is annoying since I think another layer of nesting is required. Coding these explicitly is also more clear. This used to be required because Chromium would reference these .gypi files directly with a different path, but this no longer happens.

Removes the chromium defines gypi which is no longer referenced.

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

Committed: https://skia.googlesource.com/skia/+/39f7a10a04a914384944d8bf62621144ac4eeaa3
Review-Url: https://codereview.chromium.org/2302723005
2016-09-06 12:43:55 -07:00

31 lines
605 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.
{
'includes': [
'apptype_console.gypi',
],
'variables': {
'includes': [ 'skia_sources.gypi' ],
},
'targets': [
{
'target_name': 'skslc',
'type': 'executable',
'include_dirs': [ '<@(sksl_include_dirs)' ],
'sources': [
'<@(sksl_sources)',
'../src/sksl/SkSLMain.cpp',
],
'configurations': {
'Debug': {
'defines': [
'DEBUG',
],
},
},
},
],
}