summaryrefslogtreecommitdiff
path: root/platform/android
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2017-01-27 12:12:06 +0100
committerKonstantin Käfer <mail@kkaefer.com>2017-01-27 14:52:21 +0100
commita253a15a7c61f6c0fbdeca69cd6ca813a9b8d40f (patch)
tree53e414b40741bc8721e5320e94e452c3e08eabd5 /platform/android
parent329051a1ebcf1d4983041838a6ac932f3e7981c5 (diff)
downloadqtlocation-mapboxgl-a253a15a7c61f6c0fbdeca69cd6ca813a9b8d40f.tar.gz
[linux] update CA bundle and add script for automated updates
also removes the ca-bundle.crt from the Android build, since it's entirely unused
Diffstat (limited to 'platform/android')
-rw-r--r--platform/android/config.cmake18
1 files changed, 0 insertions, 18 deletions
diff --git a/platform/android/config.cmake b/platform/android/config.cmake
index 7d522a1212..326ddb612a 100644
--- a/platform/android/config.cmake
+++ b/platform/android/config.cmake
@@ -32,20 +32,6 @@ set(ANDROID_JNI_TARGET_DIR ${ANDROID_SDK_PROJECT_DIR}/src/main/jniLibs/${ANDROID
set(ANDROID_ASSETS_TARGET_DIR ${ANDROID_SDK_PROJECT_DIR}/src/main/assets)
set(ANDROID_TEST_APP_JNI_TARGET_DIR ${CMAKE_SOURCE_DIR}/platform/android/MapboxGLAndroidSDKTestApp/src/main/jniLibs/${ANDROID_JNIDIR})
-macro(mbgl_android_copy_asset source target)
- add_custom_command(
- OUTPUT ${ANDROID_ASSETS_TARGET_DIR}/${target}
- COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR}/${source} ${ANDROID_ASSETS_TARGET_DIR}/${target}
- DEPENDS ${CMAKE_SOURCE_DIR}/${source}
- )
-endmacro()
-
-mbgl_android_copy_asset(common/ca-bundle.crt ca-bundle.crt)
-
-add_custom_target(mbgl-copy-android-assets
- DEPENDS ${ANDROID_ASSETS_TARGET_DIR}/ca-bundle.crt
-)
-
## mbgl core ##
macro(mbgl_platform_core)
@@ -194,10 +180,6 @@ add_library(mapbox-gl SHARED
platform/android/src/main.cpp
)
-add_dependencies(mapbox-gl
- mbgl-copy-android-assets
-)
-
target_compile_options(mapbox-gl
PRIVATE -fvisibility=hidden
PRIVATE -ffunction-sections