aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--gyp/tools.gyp22
1 files changed, 14 insertions, 8 deletions
diff --git a/gyp/tools.gyp b/gyp/tools.gyp
index 1a99f7676e..ca61453b46 100644
--- a/gyp/tools.gyp
+++ b/gyp/tools.gyp
@@ -127,18 +127,24 @@
'../src/pipe/utils/SamplePipeControllers.h',
'../src/pipe/utils/SamplePipeControllers.cpp',
],
- 'include_dirs': [
- '../src/pipe/utils/',
- ],
+ 'include_dirs': [
+ '../src/pipe/utils',
+ ],
'dependencies': [
'core.gyp:core',
- 'gpu.gyp:gr',
- 'gpu.gyp:skgr',
'tools.gyp:picture_utils',
],
- 'export_dependent_settings': [
- 'gpu.gyp:gr',
- ]
+ 'conditions': [
+ ['skia_gpu == 1', {
+ 'dependencies': [
+ 'gpu.gyp:gr',
+ 'gpu.gyp:skgr',
+ ],
+ 'export_dependent_settings': [
+ 'gpu.gyp:gr',
+ ],
+ }],
+ ],
},
{
'target_name': 'picture_utils',