summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2020-03-06 14:47:34 +0200
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2020-03-06 15:57:38 +0200
commit0565b899aec9445aa61843764c96d1c0b73d148e (patch)
tree4d5b89ad4d939760e0dfd8ad333b9dcf16236139
parent987f214273f5878d58c3e4c823bfee2516fc1895 (diff)
downloadqtlocation-mapboxgl-0565b899aec9445aa61843764c96d1c0b73d148e.tar.gz
[build] Removed unused misc code
This BUCK code is not used by our CI.
-rw-r--r--misc/buck/.buckconfig15
-rw-r--r--misc/buck/mapbox-gl-native/Android.mk4
-rw-r--r--misc/buck/mapbox-gl-native/Application.mk2
-rw-r--r--misc/buck/mapbox-gl-native/BUCK151
l---------misc/buck/mapbox-gl-native/include1
l---------misc/buck/mapbox-gl-native/platform1
l---------misc/buck/mapbox-gl-native/src1
l---------misc/buck/mapbox-gl-native/vendor1
8 files changed, 0 insertions, 176 deletions
diff --git a/misc/buck/.buckconfig b/misc/buck/.buckconfig
deleted file mode 100644
index 670056ab1c..0000000000
--- a/misc/buck/.buckconfig
+++ /dev/null
@@ -1,15 +0,0 @@
-[ndk]
-cpu_abis = armv7
-compiler = clang
-app_platform = android-14
-
-[project]
-ignore = .git
-allow_symlinks = allow
-
-[cxx]
-default_platform = iphonesimulator-x86_64
-
-[apple]
-iphonesimulator_target_sdk_version = 9.0
-iphoneos_target_sdk_version = 9.0
diff --git a/misc/buck/mapbox-gl-native/Android.mk b/misc/buck/mapbox-gl-native/Android.mk
deleted file mode 100644
index ba1e2dd708..0000000000
--- a/misc/buck/mapbox-gl-native/Android.mk
+++ /dev/null
@@ -1,4 +0,0 @@
-LOCAL_PATH := $(call my-dir)
-include $(CLEAR_VARS)
-LOCAL_MODULE := android-core
-include $(BUILD_SHARED_LIBRARY)
diff --git a/misc/buck/mapbox-gl-native/Application.mk b/misc/buck/mapbox-gl-native/Application.mk
deleted file mode 100644
index a11b28debc..0000000000
--- a/misc/buck/mapbox-gl-native/Application.mk
+++ /dev/null
@@ -1,2 +0,0 @@
-APP_ABI := armeabi-v7a
-APP_PLATFORM := android-14
diff --git a/misc/buck/mapbox-gl-native/BUCK b/misc/buck/mapbox-gl-native/BUCK
deleted file mode 100644
index 40eda20a28..0000000000
--- a/misc/buck/mapbox-gl-native/BUCK
+++ /dev/null
@@ -1,151 +0,0 @@
-# BUILD FILE SYNTAX: SKYLARK
-
-import json
-
-mbgl_base_path = get_base_path() or '.'
-
-def mbgl_load_file_lists(*argv):
- merged = dict(sources = [], public_headers = {}, private_headers = {})
- for arg in argv:
- filename = mbgl_base_path + '/' + arg + '-files.json'
- add_build_file_dep('//' + filename)
- files = json.load(open(filename))
- merged['public_headers'].update(files['public_headers'])
- merged['private_headers'].update(files['private_headers'])
- merged['sources'] += files['sources']
- return merged
-
-mbgl = dict(
- core = mbgl_load_file_lists('src/core', 'platform/default/filesource'),
- android = mbgl_load_file_lists('platform/android/core', 'platform/android/filesource'),
- ios = mbgl_load_file_lists('platform/ios/core', 'platform/ios/sdk'),
- deps = [],
-)
-
-def mbgl_vendor_library(name):
- files = mbgl_load_file_lists('vendor/' + name)
- cxx_library(
- name = "vendor-" + name,
- header_namespace = "",
- srcs = files['sources'],
- headers = files['private_headers'],
- exported_headers = files['public_headers'],
- link_style = 'static',
- compiler_flags = [
- "-Wno-tautological-unsigned-enum-zero-compare",
- ],
- )
- mbgl['deps'].append(':vendor-' + name)
-
-mbgl_vendor_library("icu")
-mbgl_vendor_library("boost")
-mbgl_vendor_library("cheap-ruler-cpp")
-mbgl_vendor_library("earcut.hpp")
-mbgl_vendor_library("eternal")
-mbgl_vendor_library("geojson-vt-cpp")
-mbgl_vendor_library("mapbox-base")
-mbgl_vendor_library("sqlite")
-mbgl_vendor_library("polylabel")
-mbgl_vendor_library("protozero")
-mbgl_vendor_library("shelf-pack-cpp")
-mbgl_vendor_library("unique_resource")
-mbgl_vendor_library("vector-tile")
-mbgl_vendor_library("wagyu")
-
-cxx_library(
- name = "core",
-
- srcs = mbgl['core']['sources'],
- platform_srcs = [
- ("android", mbgl['android']['sources']),
- ],
-
- header_namespace = "",
- headers = mbgl['core']['private_headers'],
- exported_headers = mbgl['core']['public_headers'],
- platform_headers = [
- ("android", mbgl['android']['private_headers'])
- ],
- exported_platform_headers = [
- ("android", mbgl['android']['public_headers']),
- ],
-
- compiler_flags = [
- "-std=c++14",
- "-g",
- "-Wall",
- "-Wextra",
- "-Werror",
- "-Wno-unused-variable",
- "-Wno-unused-parameter",
- "-Wno-c++11-narrowing",
- "-Wno-tautological-constant-compare",
- "-fexceptions",
- "-ftemplate-depth=1024",
- "-frtti",
- ],
-
- preprocessor_flags = [
- "-DMBGL_USE_GLES2=1",
- "-DMBGL_VERSION_REV=\"standalone\"",
- "-DRAPIDJSON_HAS_STDSTRING=1",
- ],
- exported_platform_linker_flags = [
- ("android", [
- "-lz",
- "-lEGL",
- "-lGLESv2",
- "-landroid",
- "-ljnigraphics",
- "-llog",
- "-fvisibility=hidden",
- "-Wl,--icf=safe",
- "-Wl,--version-script=" + mbgl_base_path + "/platform/android/version-script"
- ]),
- ],
-
- visibility = ["PUBLIC"],
- deps = mbgl['deps'],
- soname = "libmapbox-gl.$(ext)",
-)
-
-ndk_library(
- name = "android-core",
- deps = [ ":core" ],
- flags = [
- "NDK_APPLICATION_MK=$(env PWD)/" + mbgl_base_path + "/Application.mk",
- ],
-)
-
-android_manifest(
- name = 'android-manifest',
- skeleton = 'platform/android/MapboxGLAndroidSDK/src/main/AndroidManifest.xml',
-)
-
-android_library(
- name = "android",
- deps = [ ":android-core" ],
- manifest = ":android-manifest",
-)
-
-apple_library(
- name = "ios-core",
- deps = [ ":core" ],
- headers = mbgl['ios']['private_headers'],
- exported_headers = mbgl['ios']['public_headers'],
- srcs = mbgl['ios']['sources'],
- lang_compiler_flags = {
- "OBJCXX_CPP_OUTPUT": [
- "-std=c++14",
- "-fmodules",
- "-fobjc-arc",
- ],
- "OBJC_CPP_OUTPUT": [
- "-fmodules",
- "-fobjc-arc",
- ],
- "CXX_CPP_OUTPUT": [
- "-std=c++14",
- ]
- },
-)
diff --git a/misc/buck/mapbox-gl-native/include b/misc/buck/mapbox-gl-native/include
deleted file mode 120000
index 8a5dba6c4b..0000000000
--- a/misc/buck/mapbox-gl-native/include
+++ /dev/null
@@ -1 +0,0 @@
-../../../include \ No newline at end of file
diff --git a/misc/buck/mapbox-gl-native/platform b/misc/buck/mapbox-gl-native/platform
deleted file mode 120000
index d99dc6bc34..0000000000
--- a/misc/buck/mapbox-gl-native/platform
+++ /dev/null
@@ -1 +0,0 @@
-../../../platform \ No newline at end of file
diff --git a/misc/buck/mapbox-gl-native/src b/misc/buck/mapbox-gl-native/src
deleted file mode 120000
index dabb0e15a9..0000000000
--- a/misc/buck/mapbox-gl-native/src
+++ /dev/null
@@ -1 +0,0 @@
-../../../src \ No newline at end of file
diff --git a/misc/buck/mapbox-gl-native/vendor b/misc/buck/mapbox-gl-native/vendor
deleted file mode 120000
index c73e2c9ac0..0000000000
--- a/misc/buck/mapbox-gl-native/vendor
+++ /dev/null
@@ -1 +0,0 @@
-../../../vendor \ No newline at end of file