summaryrefslogtreecommitdiff
path: root/binding.gyp
diff options
context:
space:
mode:
authorMike Morris <michael.patrick.morris@gmail.com>2015-08-21 15:53:24 -0400
committerMike Morris <michael.patrick.morris@gmail.com>2015-08-21 16:22:04 -0400
commit6e6387e089d2f8cf998f6726fec8eef25028627f (patch)
tree2abf4da384fa29f7c64cd3773a0afa432ef9b71a /binding.gyp
parenta8d9b921d71a91d7f8eff82e5a584aaab8b7d1c6 (diff)
downloadqtlocation-mapboxgl-6e6387e089d2f8cf998f6726fec8eef25028627f.tar.gz
move node-mbgl to platform/node/ directory
Diffstat (limited to 'binding.gyp')
-rw-r--r--binding.gyp79
1 files changed, 0 insertions, 79 deletions
diff --git a/binding.gyp b/binding.gyp
deleted file mode 100644
index a5fb583399..0000000000
--- a/binding.gyp
+++ /dev/null
@@ -1,79 +0,0 @@
-{
- 'targets': [
- { 'target_name': '<(module_name)',
- 'dependencies': [
- './<(mbgl)/mbgl.gyp:core',
- './<(mbgl)/mbgl.gyp:platform-<(platform_lib)',
- './<(mbgl)/mbgl.gyp:headless-<(headless_lib)',
- ],
-
- 'include_dirs': [ "<!(node -e \"require('nan')\")" ],
-
- 'sources': [
- 'src/node_mapbox_gl_native.cpp',
- 'src/node_log.hpp',
- 'src/node_log.cpp',
- 'src/node_file_source.hpp',
- 'src/node_file_source.cpp',
- 'src/node_map.hpp',
- 'src/node_map.cpp',
- 'src/node_request.hpp',
- 'src/node_request.cpp',
- 'src/util/async_queue.hpp',
- ],
-
- 'conditions': [
- ['OS=="mac"', {
- 'xcode_settings': {
- 'CLANG_CXX_LIBRARY': 'libc++',
- 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
- 'GCC_ENABLE_CPP_EXCEPTIONS': 'YES',
- 'GCC_ENABLE_CPP_RTTI': 'YES',
- 'OTHER_CPLUSPLUSFLAGS': [
- '-std=c++1y',
- '-Werror',
- '-Wall',
- '-Wextra',
- '-Wshadow',
- '-Wno-variadic-macros',
- '-Wno-error=unused-parameter',
- '-frtti',
- '-fexceptions',
- ],
- 'GCC_WARN_PEDANTIC': 'YES',
- 'GCC_WARN_UNINITIALIZED_AUTOS': 'YES_AGGRESSIVE',
- 'MACOSX_DEPLOYMENT_TARGET': '10.9',
- },
- }, {
- 'cflags_cc': [
- '-std=c++14',
- '-Werror',
- '-Wall',
- '-Wextra',
- '-Wno-variadic-macros',
- '-Wno-error=unused-parameter',
- '-frtti',
- '-fexceptions',
- ],
- 'libraries': [ '<@(glfw3_ldflags)' ],
- }],
- ['OS=="linux"', {
- 'cflags_cc': [
- '-Wno-unknown-pragmas', # We are using '#pragma mark', but it is only available on Darwin.
- ],
- }],
- ],
- },
-
- { 'target_name': 'action_after_build',
- 'type': 'none',
- 'dependencies': [ '<(module_name)' ],
- 'copies': [
- {
- 'files': [ '<(PRODUCT_DIR)/<(module_name).node' ],
- 'destination': '<(module_path)'
- }
- ]
- }
- ]
-}