summaryrefslogtreecommitdiffstats
path: root/o3d/gpu_plugin/gpu_plugin.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'o3d/gpu_plugin/gpu_plugin.gyp')
-rw-r--r--o3d/gpu_plugin/gpu_plugin.gyp37
1 files changed, 35 insertions, 2 deletions
diff --git a/o3d/gpu_plugin/gpu_plugin.gyp b/o3d/gpu_plugin/gpu_plugin.gyp
index 87d83f5..8fcd89b 100644
--- a/o3d/gpu_plugin/gpu_plugin.gyp
+++ b/o3d/gpu_plugin/gpu_plugin.gyp
@@ -94,13 +94,46 @@
'../command_buffer/command_buffer.gyp:command_buffer_service',
'np_utils',
],
- 'include_dirs': [
- '../..',
+ 'conditions': [
+ ['cb_service == "d3d9"',
+ {
+ 'include_dirs': [
+ '../..',
+ '$(DXSDK_DIR)/Include',
+ ],
+ }
+ ],
+ ['cb_service == "gl"',
+ {
+ 'include_dirs': [
+ '../../<(glewdir)/include',
+ '../../<(cgdir)/include',
+ ],
+ }
+ ],
],
'all_dependent_settings': {
'include_dirs': [
'../..',
],
+ 'conditions': [
+ ['cb_service == "d3d9"',
+ {
+ 'include_dirs': [
+ '../..',
+ '$(DXSDK_DIR)/Include',
+ ],
+ }
+ ],
+ ['cb_service == "gl"',
+ {
+ 'include_dirs': [
+ '../../<(glewdir)/include',
+ '../../<(cgdir)/include',
+ ],
+ }
+ ],
+ ],
}, # 'all_dependent_settings'
'sources': [
'command_buffer.cc',