45d1b442f1
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
27 lines
571 B
Python
27 lines
571 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.
|
|
{
|
|
'variables': {
|
|
'includes': [ 'skia_sources.gypi' ]
|
|
},
|
|
'targets': [
|
|
{
|
|
'target_name': 'sksl',
|
|
'type': 'static_library',
|
|
'standalone_static_library': 1,
|
|
'sources': [ '<@(sksl_sources)' ],
|
|
'include_dirs': [ '<@(sksl_include_dirs)' ],
|
|
'defines': [
|
|
'SKIA'
|
|
],
|
|
'all_dependent_settings': {
|
|
'include_dirs': [
|
|
'../src/sksl',
|
|
],
|
|
},
|
|
},
|
|
],
|
|
}
|