summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2016-02-11 17:20:58 +0200
committerThiago Marcos P. Santos <thiago@mapbox.com>2016-02-11 17:20:58 +0200
commit9413c41ba34342bf5928260395b36f44b8c2c90e (patch)
tree5511d1df63fb1665e8323b336e009cd08dfc5730
parent06ccc0757ba06db40b09e68cf4e6515029b7e694 (diff)
downloadqtlocation-mapboxgl-9413c41ba34342bf5928260395b36f44b8c2c90e.tar.gz
[build] Build `offline` smoke test for Linux
-rw-r--r--Makefile1
-rw-r--r--gyp/linux.gyp1
-rw-r--r--scripts/main.mk1
3 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 26413d623e..6eb88313f0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
export BUILDTYPE ?= Release
export BUILD_TEST ?= 1
export BUILD_RENDER ?= 1
+export BUILD_OFFLINE ?= 1
# Determine build platform
ifeq ($(shell uname -s), Darwin)
diff --git a/gyp/linux.gyp b/gyp/linux.gyp
index 51d304bc65..2815f4fc58 100644
--- a/gyp/linux.gyp
+++ b/gyp/linux.gyp
@@ -5,6 +5,7 @@
'conditions': [
['test', { 'includes': [ '../test/test.gypi' ] } ],
+ ['offline', { 'includes': [ '../bin/offline.gypi' ] } ],
['render', { 'includes': [ '../bin/render.gypi' ] } ],
],
}
diff --git a/scripts/main.mk b/scripts/main.mk
index b2ba014984..17ddbe9a6a 100644
--- a/scripts/main.mk
+++ b/scripts/main.mk
@@ -78,6 +78,7 @@ GYP_FLAGS += -Dasset_lib=$(ASSET)
GYP_FLAGS += -Dheadless_lib=$(HEADLESS)
GYP_FLAGS += -Dtest=$(BUILD_TEST)
GYP_FLAGS += -Drender=$(BUILD_RENDER)
+GYP_FLAGS += -Doffline=$(BUILD_OFFLINE)
GYP_FLAGS += -Dcxx_host=$(CXX_HOST)
GYP_FLAGS += --depth=.
GYP_FLAGS += -Goutput_dir=.