summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobrun Van Nuland <tobrun.van.nuland@gmail.com>2017-07-26 15:23:45 +0200
committerTobrun Van Nuland <tobrun.van.nuland@gmail.com>2017-07-26 15:23:45 +0200
commit65e7189ed0c2755d9aa970835df636b76781de6e (patch)
treefaf08c912fabff0ed8cf565faf0d3655c618898d
parent906fc0421aa85308460586023cfe727501c9bbb5 (diff)
downloadqtlocation-mapboxgl-upstream/tvn-adbshell-dumpsys.tar.gz
[android] - add make target for dumping system GFX informationupstream/tvn-adbshell-dumpsys
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4a52f47c25..c5db7c131f 100644
--- a/Makefile
+++ b/Makefile
@@ -603,6 +603,11 @@ apackage: platform/android/configuration.gradle
run-android-upload-archives: platform/android/configuration.gradle
cd platform/android && $(MBGL_ANDROID_GRADLE) -Pmapbox.abis=all :MapboxGLAndroidSDK:uploadArchives
+# Dump system graphics information for the test app
+.PHONY: android-gfxinfo
+android-gfxinfo:
+ adb shell dumpsys gfxinfo com.mapbox.mapboxsdk.testapp reset
+
# Runs Android UI tests on all connected devices using Spoon
.PHONY: run-android-ui-test-spoon
run-android-ui-test-spoon: platform/android/configuration.gradle