summaryrefslogtreecommitdiff
path: root/test/test.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'test/test.gyp')
-rw-r--r--test/test.gyp25
1 files changed, 22 insertions, 3 deletions
diff --git a/test/test.gyp b/test/test.gyp
index 96e0917a52..2c6f411cf9 100644
--- a/test/test.gyp
+++ b/test/test.gyp
@@ -42,7 +42,7 @@
'../mapboxgl.gyp:mbgl-standalone',
],
'conditions': [
- ['OS == "mac"', { 'xcode_settings': { 'OTHER_LDFLAGS': [ '<@(ldflags)' ] }
+ ['OS == "mac"', { 'xcode_settings': { 'OTHER_LDFLAGS': [ '<@(ldflags)'] }
}, {
'libraries': [ '<@(ldflags)' ],
}]
@@ -60,7 +60,7 @@
'../mapboxgl.gyp:mbgl-standalone',
],
'conditions': [
- ['OS == "mac"', { 'xcode_settings': { 'OTHER_LDFLAGS': [ '<@(ldflags)' ] }
+ ['OS == "mac"', { 'xcode_settings': { 'OTHER_LDFLAGS': [ '<@(ldflags)'] }
}, {
'libraries': [ '<@(ldflags)' ],
}]
@@ -186,7 +186,25 @@
'<(platform_library)',
]
},
-
+ { 'target_name': 'text_conversions',
+ 'product_name': 'test_text_conversions',
+ 'type': 'executable',
+ 'sources': [
+ './main.cpp',
+ './text_conversions.cpp',
+ ],
+ 'dependencies': [
+ '../deps/gtest/gtest.gyp:gtest',
+ '../mapboxgl.gyp:mbgl-standalone',
+ '<(platform_library)',
+ ],
+ 'conditions': [
+ ['OS == "mac"', { 'xcode_settings': { 'OTHER_LDFLAGS': [ '<@(ldflags)', '-framework Foundation' ] }
+ }, {
+ 'libraries': [ '<@(ldflags)'],
+ }]
+ ]
+ },
# Build all targets
{ 'target_name': 'test',
'type': 'none',
@@ -200,6 +218,7 @@
'headless',
'style_parser',
'comparisons',
+ 'text_conversions',
],
}
]