summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-07-26 12:42:39 +0200
committerKonstantin Käfer <mail@kkaefer.com>2016-08-05 11:42:22 +0200
commit140908568b5e5759e888715e8795c11e7c64218c (patch)
tree9cf64d549536aae3e4a519fde6ab282898ee5ae2 /Makefile
parente46b580c672e721a6222c83d3e8c111add18e4f2 (diff)
downloadqtlocation-mapboxgl-140908568b5e5759e888715e8795c11e7c64218c.tar.gz
[build] make android targets .PHONY and adhere to naming scheme
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 25325612e0..62197bf624 100644
--- a/Makefile
+++ b/Makefile
@@ -424,9 +424,11 @@ build/android-$1/$(BUILDTYPE)/Makefile: build/android-$1/$(BUILDTYPE)/toolchain.
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DMBGL_PLATFORM=android
+.PHONY: android-lib-$1
android-lib-$1: build/android-$1/$(BUILDTYPE)/Makefile
$(MAKE) -j$(JOBS) -C build/android-$1/$(BUILDTYPE) all
+.PHONY: android-$1
android-$1: android-lib-$1
cd platform/android && ./gradlew --parallel --max-workers=$(JOBS) assemble$(BUILDTYPE)
@@ -435,16 +437,20 @@ endef
$(foreach abi,$(ANDROID_ABIS),$(eval $(call ANDROID_RULES,$(abi))))
+.PHONY: android
android: android-arm-v7
-test-android:
+.PHONY: android-test
+android-test:
cd platform/android && ./gradlew testReleaseUnitTest --continue
+.PHONY: apackage
apackage:
cd platform/android && ./gradlew --parallel-threads=$(JOBS) assemble$(BUILDTYPE)
#### Miscellaneous targets #####################################################
+.PHONY: style-code
style-code:
node scripts/generate-style-code.js