summaryrefslogtreecommitdiffstats
path: root/o3d/build/libs.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'o3d/build/libs.gyp')
-rw-r--r--o3d/build/libs.gyp28
1 files changed, 28 insertions, 0 deletions
diff --git a/o3d/build/libs.gyp b/o3d/build/libs.gyp
index 94f624b..f94cf26 100644
--- a/o3d/build/libs.gyp
+++ b/o3d/build/libs.gyp
@@ -18,6 +18,34 @@
],
'targets': [
{
+ 'target_name': 'cairo_libs',
+ 'type': 'none',
+ 'conditions': [
+ [ 'OS=="linux"',
+ {
+ 'all_dependent_settings': {
+ 'cflags': [
+ '<!@(pkg-config --cflags cairo)',
+ ],
+ 'libraries': [
+ '-lcairo',
+ ],
+ },
+ },
+ ],
+ [ 'OS=="mac"',
+ {
+ #TODO(fransiskusx): Link to Cairo on Win/Mac as a static library
+ },
+ ],
+ [ 'OS=="win"',
+ {
+ #TODO(fransiskusx): Link to Cairo on Win/Mac as a static library,
+ },
+ ],
+ ],
+ },
+ {
'target_name': 'gl_libs',
'type': 'none',
'all_dependent_settings': {