diff options
author | Mike Morris <michael.patrick.morris@gmail.com> | 2015-10-15 13:59:31 -0400 |
---|---|---|
committer | Mike Morris <michael.patrick.morris@gmail.com> | 2015-11-02 18:41:34 -0500 |
commit | 79a5a960370a1bfcb8a90a628d85b8cd6d9b6a76 (patch) | |
tree | 5c418cf49c67eefc251a94606cf8e0b4e6d7d9a7 /test | |
parent | ba7cc755e74006b14b46b13b65a100a519e402f3 (diff) | |
download | qtlocation-mapboxgl-79a5a960370a1bfcb8a90a628d85b8cd6d9b6a76.tar.gz |
[core] mason geojsonvt-2.1.6.3
- [osx] set -fvisibility-inlines-hidden in gyp/common.gypi to silence
mismatched visibility linker warnings
- [linux] set cxx_host in GYP_FLAGS to set -fabi-version=0 on gcc builds
to use clang-built mason binaries
- [ios] update symbol visibility for iOS tests
- [ios] link libgeojsonvt.a in iOS tests xcodeproj
- add libgeojsonvt.a to General -> Linked Frameworks and Libraries
- add mason_packages (recursive) to Build Settings -> Library Search Path
- [ios] add libuv and geojsonvt first in iOS libtool smush to ensure symbols
are found by later compilation units where they are undefined
Diffstat (limited to 'test')
-rw-r--r-- | test/ios/ios-tests.xcodeproj/project.pbxproj | 9 | ||||
-rw-r--r-- | test/test.gypi | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/test/ios/ios-tests.xcodeproj/project.pbxproj b/test/ios/ios-tests.xcodeproj/project.pbxproj index 34724effc8..0a60c89073 100644 --- a/test/ios/ios-tests.xcodeproj/project.pbxproj +++ b/test/ios/ios-tests.xcodeproj/project.pbxproj @@ -7,6 +7,7 @@ objects = { /* Begin PBXBuildFile section */ + 7D3A84F41BC844970041A655 /* libgeojsonvt.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7D3A84F31BC844970041A655 /* libgeojsonvt.a */; }; 96567A231B0E84CD00D78776 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 96567A221B0E84CD00D78776 /* LaunchScreen.xib */; }; 96567A311B0E8BB900D78776 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 96567A301B0E8BB900D78776 /* Images.xcassets */; }; DD043363196DBBD500E6F39D /* MGLTAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = DD04335F196DBBD500E6F39D /* MGLTAppDelegate.m */; }; @@ -74,6 +75,7 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ + 7D3A84F31BC844970041A655 /* libgeojsonvt.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libgeojsonvt.a; path = "../../mason_packages/ios-9.0/geojsonvt/2.1.6/lib/libgeojsonvt.a"; sourceTree = "<group>"; }; 96567A221B0E84CD00D78776 /* LaunchScreen.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = LaunchScreen.xib; sourceTree = SOURCE_ROOT; }; 96567A301B0E8BB900D78776 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = SOURCE_ROOT; }; DACAD7111B08719F009119DC /* MGLMapboxEvents.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = MGLMapboxEvents.h; path = ../../platform/ios/MGLMapboxEvents.h; sourceTree = SOURCE_ROOT; }; @@ -141,6 +143,7 @@ DD41CE0D1ACB5DCB00FA7979 /* libc++.dylib in Frameworks */, DD41CE0F1ACB5DD000FA7979 /* libsqlite3.dylib in Frameworks */, DD41CE111ACB5DD500FA7979 /* libz.dylib in Frameworks */, + 7D3A84F41BC844970041A655 /* libgeojsonvt.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -179,6 +182,7 @@ DD043325196DB9BC00E6F39D /* Frameworks */ = { isa = PBXGroup; children = ( + 7D3A84F31BC844970041A655 /* libgeojsonvt.a */, DD0580EF1ACB62BE00B112C9 /* CoreGraphics.framework */, DD41CE081ACB5DBC00FA7979 /* CoreTelephony.framework */, DD41CE161ACB5DE700FA7979 /* GLKit.framework */, @@ -510,7 +514,7 @@ "DEBUG=1", "$(inherited)", ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_SYMBOLS_PRIVATE_EXTERN = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; @@ -544,6 +548,7 @@ COPY_PHASE_STRIP = YES; ENABLE_NS_ASSERTIONS = NO; GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_SYMBOLS_PRIVATE_EXTERN = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; @@ -572,6 +577,7 @@ LIBRARY_SEARCH_PATHS = ( "$(inherited)", ../../build/ios/pkg/static, + "../../mason_packages/**", ); OTHER_LDFLAGS = "-ObjC"; PRODUCT_BUNDLE_IDENTIFIER = "com.mapbox.${PRODUCT_NAME:rfc1034identifier}"; @@ -596,6 +602,7 @@ LIBRARY_SEARCH_PATHS = ( "$(inherited)", ../../build/ios/pkg/static, + "../../mason_packages/**", ); OTHER_LDFLAGS = "-ObjC"; PRODUCT_BUNDLE_IDENTIFIER = "com.mapbox.${PRODUCT_NAME:rfc1034identifier}"; diff --git a/test/test.gypi b/test/test.gypi index e8d9a9fcc7..1f9496662b 100644 --- a/test/test.gypi +++ b/test/test.gypi @@ -97,6 +97,7 @@ '<@(gtest_static_libs)', '<@(libuv_static_libs)', '<@(sqlite_static_libs)', + '<@(geojsonvt_static_libs)', ], 'variables': { 'cflags_cc': [ @@ -105,6 +106,7 @@ '<@(opengl_cflags)', '<@(boost_cflags)', '<@(sqlite_cflags)', + '<@(geojsonvt_cflags)', '<@(variant_cflags)', '<@(rapidjson_cflags)', ], |