Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

[android] - update make targets - #6958

Merged
tobrun merged 1 commit into
masterfrom
6697-rework-make-targets
Nov 8, 2016
Merged

tobrun merged 1 commit into
masterfrom
6697-rework-make-targets

Conversation

@tobrun

@tobrun tobrun commented Nov 8, 2016

Copy link
Copy Markdown
Member

closes #6697

This PR reworks the make targets for the android platform.

Goals

  • general cleanup, consistency naming
  • allow running application on a device from cmake
  • allow running our different types of android tests from cmake
  • provide convenience method for running ndk-stack

Base configurations

  • make android-lib-$1 - builds core into a .so file
  • make android-$1 - builds .so + .aar + .apk file
  • make run-android-$1 - builds .so + .aar + .apk file and runs it on a device
  • make apackage - builds .so files for all supported ABI + .aar file

You can replace the $1 above with one of the following ABI:

arm-v5 arm-v7 arm-v8 x86 x86-64 mips

Alternatively we provided some convenient configurations for arm-v7:

  • make android
  • make run-android

Test configurations

  • make run-android-unit-test - executes unit tests on jvm of dev. machine
  • make android-ui-test - builds 2 .apk files for ui testing
  • make run-android-ui-test - above + runs it on a device

Code generation configurations

  • make style-code-android - generates code from stylespec
  • make test-code-android - generates sanity instrumentation tests

Convenient configuration

  • make android-ndk-stack - try symbolicating logcat output for arm-v7

Review @ivovandongen

cc @mapbox/gl @mapbox/mobile

@tobrun tobrun added Android Mapbox Maps SDK for Android ✓ ready for review labels Nov 8, 2016
@tobrun tobrun added this to the android-v5.0.0 milestone Nov 8, 2016
@tobrun tobrun self-assigned this Nov 8, 2016
@mention-bot

Copy link
Copy Markdown

@tobrun, thanks for your PR! By analyzing the history of the files in this pull request, we identified @kkaefer, @jfirebaugh and @tmpsantos to be potential reviewers.

@tobrun tobrun mentioned this pull request Nov 8, 2016
5 tasks done
@tobrun
tobrun merged commit 2b81dee into master Nov 8, 2016
@tobrun
tobrun deleted the 6697-rework-make-targets branch November 8, 2016 17:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Android Mapbox Maps SDK for Android

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rework Android make targets

4 participants