summaryrefslogtreecommitdiffstats
path: root/third_party/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/mesa')
-rw-r--r--third_party/mesa/mesa.gyp15
1 files changed, 13 insertions, 2 deletions
diff --git a/third_party/mesa/mesa.gyp b/third_party/mesa/mesa.gyp
index a7e475d..6f06764 100644
--- a/third_party/mesa/mesa.gyp
+++ b/third_party/mesa/mesa.gyp
@@ -35,16 +35,27 @@
},
'targets': [
{
+ 'target_name': 'headers',
+ 'type': 'none',
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ 'MesaLib/include',
+ ],
+ },
+ },
+ {
'target_name': 'mesa',
'type': 'static_library',
'include_dirs': [
'../talloc',
- 'MesaLib/include',
'MesaLib/src/glsl',
'MesaLib/src/mapi',
'MesaLib/src/mesa',
'MesaLib/src/mesa/main',
],
+ 'dependencies': [
+ 'headers',
+ ],
'sources': [
'../talloc/talloc.c',
'MesaLib/src/glsl/ast.h',
@@ -545,6 +556,7 @@
'type': 'loadable_module',
'mac_bundle': 0,
'dependencies': [
+ 'headers',
'mesa',
],
# Fixes link problems on Mac OS X with missing __cxa_pure_virtual.
@@ -556,7 +568,6 @@
}],
],
'include_dirs': [
- 'MesaLib/include',
'MesaLib/src/mapi',
'MesaLib/src/mesa',
'MesaLib/src/mesa/drivers',