From 9413c41ba34342bf5928260395b36f44b8c2c90e Mon Sep 17 00:00:00 2001 From: "Thiago Marcos P. Santos" Date: Thu, 11 Feb 2016 17:20:58 +0200 Subject: [build] Build `offline` smoke test for Linux --- Makefile | 1 + gyp/linux.gyp | 1 + scripts/main.mk | 1 + 3 files changed, 3 insertions(+) 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=. -- cgit v1.2.1