summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDane Springmeyer <dane@mapbox.com>2014-10-29 16:29:48 -0400
committerDane Springmeyer <dane@mapbox.com>2014-10-29 16:29:48 -0400
commit1069e3b4e9e40916c68d666b75c26bb9400546e6 (patch)
tree15ddccdc692cfdab3cb83e75ee1ac77386792b8b /test
parent0f56f860f7ff3e0d0642cc1c0a18915ce74bbbaa (diff)
downloadqtlocation-mapboxgl-1069e3b4e9e40916c68d666b75c26bb9400546e6.tar.gz
fix tests
Diffstat (limited to 'test')
-rw-r--r--test/test.gyp28
1 files changed, 19 insertions, 9 deletions
diff --git a/test/test.gyp b/test/test.gyp
index 43e1669384..19fa190708 100644
--- a/test/test.gyp
+++ b/test/test.gyp
@@ -3,6 +3,16 @@
'../gyp/common.gypi',
'../gyp/mbgl-platform.gypi',
],
+ 'target_defaults': {
+ "libraries": [
+ '-L<(PRODUCT_DIR)/',
+ '-lmbgl'
+ '<@(curl_static_libs)',
+ '<@(png_ldflags)',
+ '<@(sqlite3_ldflags)',
+ '<@(zlib_ldflags)'
+ ]
+ },
'targets': [
{ 'target_name': 'rotation_range',
'product_name': 'test_rotation_range',
@@ -13,7 +23,7 @@
],
'dependencies': [
'../deps/gtest/gtest.gyp:gtest',
- '../mapboxgl.gyp:mbgl-core',
+ '../mapboxgl.gyp:mbgl-standalone',
]
},
{ 'target_name': 'clip_ids',
@@ -25,7 +35,7 @@
],
'dependencies': [
'../deps/gtest/gtest.gyp:gtest',
- '../mapboxgl.gyp:mbgl-core',
+ '../mapboxgl.gyp:mbgl-standalone',
]
},
{ 'target_name': 'enums',
@@ -37,7 +47,7 @@
],
'dependencies': [
'../deps/gtest/gtest.gyp:gtest',
- '../mapboxgl.gyp:mbgl-core',
+ '../mapboxgl.gyp:mbgl-standalone',
]
},
{ 'target_name': 'style_parser',
@@ -51,7 +61,7 @@
],
'dependencies': [
'../deps/gtest/gtest.gyp:gtest',
- '../mapboxgl.gyp:mbgl-core',
+ '../mapboxgl.gyp:mbgl-standalone',
'../mapboxgl.gyp:copy_fixtures',
]
},
@@ -64,7 +74,7 @@
],
'dependencies': [
'../deps/gtest/gtest.gyp:gtest',
- '../mapboxgl.gyp:mbgl-core',
+ '../mapboxgl.gyp:mbgl-standalone',
]
},
{ 'target_name': 'comparisons',
@@ -76,7 +86,7 @@
],
'dependencies': [
'../deps/gtest/gtest.gyp:gtest',
- '../mapboxgl.gyp:mbgl-core',
+ '../mapboxgl.gyp:mbgl-standalone',
]
},
{ 'target_name': 'tile',
@@ -88,7 +98,7 @@
],
'dependencies': [
'../deps/gtest/gtest.gyp:gtest',
- '../mapboxgl.gyp:mbgl-core',
+ '../mapboxgl.gyp:mbgl-standalone',
]
},
{ 'target_name': 'functions',
@@ -100,7 +110,7 @@
],
'dependencies': [
'../deps/gtest/gtest.gyp:gtest',
- '../mapboxgl.gyp:mbgl-core',
+ '../mapboxgl.gyp:mbgl-standalone',
]
},
{ 'target_name': 'headless',
@@ -128,7 +138,7 @@
],
'dependencies': [
'../deps/gtest/gtest.gyp:gtest',
- '../mapboxgl.gyp:mbgl-core',
+ '../mapboxgl.gyp:mbgl-standalone',
'../mapboxgl.gyp:mbgl-headless',
'<(platform_library)',
],