From 293b291b80f6fc42b6551bbb50e702815ac7a4a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20Ka=CC=88fer?= Date: Wed, 29 Oct 2014 11:59:24 -0400 Subject: rename mbgl to mbgl-core --- gyp/install.gypi | 4 +-- gyp/mbgl-core.gypi | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ gyp/mbgl.gypi | 76 ----------------------------------------------------- 3 files changed, 79 insertions(+), 78 deletions(-) create mode 100644 gyp/mbgl-core.gypi delete mode 100644 gyp/mbgl.gypi (limited to 'gyp') diff --git a/gyp/install.gypi b/gyp/install.gypi index 8b79a45180..58b8bd0727 100644 --- a/gyp/install.gypi +++ b/gyp/install.gypi @@ -6,12 +6,12 @@ 'type': 'none', 'hard_dependency': 1, 'dependencies': [ - 'mbgl', + 'mbgl-core', 'mbgl-headless', 'mbgl-<(platform)', ], 'copies': [ - { 'files': [ '<(PRODUCT_DIR)/libmbgl.a' ], 'destination': '<(install_prefix)/lib' }, + { 'files': [ '<(PRODUCT_DIR)/libmbgl-core.a' ], 'destination': '<(install_prefix)/lib' }, { 'files': [ '<(PRODUCT_DIR)/libmbgl-headless.a' ], 'destination': '<(install_prefix)/lib' }, { 'files': [ '<(PRODUCT_DIR)/libmbgl-<(platform).a' ], 'destination': '<(install_prefix)/lib' }, { 'files': [ '../include/mbgl' ], 'destination': '<(install_prefix)/include' } diff --git a/gyp/mbgl-core.gypi b/gyp/mbgl-core.gypi new file mode 100644 index 0000000000..a9c10f111a --- /dev/null +++ b/gyp/mbgl-core.gypi @@ -0,0 +1,77 @@ +{ + 'targets': [ + { 'target_name': 'mbgl-core', + 'product_name': 'mbgl-core', + 'type': 'static_library', + 'standalone_static_library': 1, + 'hard_dependency': 1, + 'dependencies': [ + 'shaders', + ], + 'variables': { + 'cflags_cc': [ + '<@(png_cflags)', + '<@(uv_cflags)', + '<@(sqlite3_cflags)', + '<@(zlib_cflags)', + '-I<(boost_root)/include', + ], + 'cflags': [ + '<@(uv_cflags)', + ], + 'ldflags': [ + '<@(png_ldflags)', + '<@(uv_ldflags)', + '<@(sqlite3_ldflags)', + '<@(zlib_ldflags)', + ], + }, + 'sources': [ + '