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.gyp22
1 files changed, 20 insertions, 2 deletions
diff --git a/o3d/gpu_plugin/gpu_plugin.gyp b/o3d/gpu_plugin/gpu_plugin.gyp
index 5402197..3edc4a3 100644
--- a/o3d/gpu_plugin/gpu_plugin.gyp
+++ b/o3d/gpu_plugin/gpu_plugin.gyp
@@ -15,7 +15,8 @@
],
'include_dirs': [
'../..',
-
+ '../../third_party/npapi',
+
# Chrome NPAPI header dir appears before the O3D one so it takes
# priority. TODO(apatrick): one set of NPAPI headers.
'../../third_party/npapi/bindings',
@@ -23,6 +24,8 @@
],
'direct_dependent_settings': {
'include_dirs': [
+ '../../third_party/npapi',
+
# Chrome NPAPI header dir appears before the O3D one so it takes
# priority. TODO(apatrick): one set of NPAPI headers.
'../../third_party/npapi/bindings',
@@ -62,7 +65,7 @@
'target_name': 'np_utils_unittests',
'type': 'executable',
'dependencies': [
- 'gpu_plugin',
+ 'np_utils',
'../../testing/gmock.gyp:gmock',
'../../testing/gmock.gyp:gmockmain',
'../../testing/gtest.gyp:gtest',
@@ -90,7 +93,22 @@
'include_dirs': [
'../..',
'../../third_party/npapi',
+
+ # Chrome NPAPI header dir appears before the O3D one so it takes
+ # priority. TODO(apatrick): one set of NPAPI headers.
+ '../../third_party/npapi/bindings',
+ '../../third_party/npapi/include',
],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ '../../third_party/npapi',
+
+ # Chrome NPAPI header dir appears before the O3D one so it takes
+ # priority. TODO(apatrick): one set of NPAPI headers.
+ '../../third_party/npapi/bindings',
+ '../../third_party/npapi/include',
+ ],
+ },
'sources': [
'system_services/shared_memory.cc',
'system_services/shared_memory.h',