diff options
author | brettw <brettw@chromium.org> | 2016-09-06 12:43:55 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-06 12:43:55 -0700 |
commit | 45d1b442f1e0402ad7bc6a333ab86b32648c7a8c (patch) | |
tree | 62a502e2017cc39d67fab03f6927d9e973d0e794 /gyp/skslc.gyp | |
parent | 1dbb207babecdae8f1f74ed9d9900c73064df744 (diff) |
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
Diffstat (limited to 'gyp/skslc.gyp')
-rw-r--r-- | gyp/skslc.gyp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gyp/skslc.gyp b/gyp/skslc.gyp index 6e234932a8..5bd6c399b8 100644 --- a/gyp/skslc.gyp +++ b/gyp/skslc.gyp @@ -6,14 +6,16 @@ 'includes': [ 'apptype_console.gypi', ], + 'variables': { + 'includes': [ 'skia_sources.gypi' ], + }, 'targets': [ { 'target_name': 'skslc', 'type': 'executable', - 'includes' : [ - 'sksl.gypi', - ], + 'include_dirs': [ '<@(sksl_include_dirs)' ], 'sources': [ + '<@(sksl_sources)', '../src/sksl/SkSLMain.cpp', ], 'configurations': { |